1999-11-17 10:59:06 -08:00
|
|
|
#########################################################################
|
|
|
|
# #
|
2011-07-27 07:17:02 -07:00
|
|
|
# OCaml #
|
1999-11-17 10:59:06 -08:00
|
|
|
# #
|
|
|
|
# Xavier Leroy, projet Cristal, INRIA Rocquencourt #
|
|
|
|
# #
|
|
|
|
# Copyright 1999 Institut National de Recherche en Informatique et #
|
|
|
|
# en Automatique. All rights reserved. This file is distributed #
|
2001-12-07 05:41:02 -08:00
|
|
|
# under the terms of the GNU Library General Public License, with #
|
|
|
|
# the special exception on linking described in file ../../LICENSE. #
|
1999-11-17 10:59:06 -08:00
|
|
|
# #
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
1995-05-08 08:18:32 -07:00
|
|
|
# Makefile for the Unix interface library
|
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
LIBNAME=unix
|
1995-05-08 08:18:32 -07:00
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
EXTRACAMLFLAGS=-nolabels
|
1995-05-08 08:18:32 -07:00
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
COBJS=accept.o access.o addrofstr.o alarm.o bind.o chdir.o chmod.o \
|
1995-05-08 08:18:32 -07:00
|
|
|
chown.o chroot.o close.o closedir.o connect.o cst2constr.o cstringv.o \
|
|
|
|
dup.o dup2.o envir.o errmsg.o execv.o execve.o execvp.o exit.o \
|
2004-04-09 06:25:23 -07:00
|
|
|
fchmod.o fchown.o fcntl.o fork.o ftruncate.o \
|
|
|
|
getaddrinfo.o getcwd.o getegid.o geteuid.o getgid.o \
|
|
|
|
getgr.o getgroups.o gethost.o gethostname.o getlogin.o \
|
|
|
|
getnameinfo.o getpeername.o getpid.o getppid.o getproto.o getpw.o \
|
2009-04-01 09:50:10 -07:00
|
|
|
gettimeofday.o getserv.o getsockname.o getuid.o gmtime.o \
|
|
|
|
initgroups.o isatty.o itimer.o kill.o link.o listen.o lockf.o lseek.o \
|
|
|
|
mkdir.o mkfifo.o nice.o open.o opendir.o pipe.o putenv.o read.o \
|
1995-05-08 08:18:32 -07:00
|
|
|
readdir.o readlink.o rename.o rewinddir.o rmdir.o select.o sendrecv.o \
|
2009-04-01 09:50:10 -07:00
|
|
|
setgid.o setgroups.o setsid.o setuid.o shutdown.o signals.o \
|
1998-08-08 09:53:42 -07:00
|
|
|
sleep.o socket.o socketaddr.o \
|
1996-04-12 08:57:28 -07:00
|
|
|
socketpair.o sockopt.o stat.o strofaddr.o symlink.o termios.o \
|
|
|
|
time.o times.o truncate.o umask.o unixsupport.o unlink.o \
|
|
|
|
utimes.o wait.o write.o
|
1995-05-08 08:18:32 -07:00
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
CAMLOBJS=unix.cmo unixLabels.cmo
|
1995-05-08 08:18:32 -07:00
|
|
|
|
2010-05-20 02:40:41 -07:00
|
|
|
HEADERS=unixsupport.h socketaddr.h
|
2001-09-06 01:52:32 -07:00
|
|
|
|
2007-11-06 07:16:56 -08:00
|
|
|
include ../Makefile
|
1995-10-23 09:58:06 -07:00
|
|
|
|
1995-05-08 08:18:32 -07:00
|
|
|
depend:
|
|
|
|
gcc -MM $(CFLAGS) *.c > .depend
|
1998-04-21 09:09:03 -07:00
|
|
|
../../boot/ocamlrun ../../tools/ocamldep *.mli *.ml >> .depend
|
1995-05-08 08:18:32 -07:00
|
|
|
|
|
|
|
include .depend
|