1 #########################################################################
5 # Xavier Leroy, projet Cristal, INRIA Rocquencourt #
7 # Copyright 1999 Institut National de Recherche en Informatique et #
8 # en Automatique. All rights reserved. This file is distributed #
9 # under the terms of the GNU Library General Public License, with #
10 # the special exception on linking described in file ../../LICENSE. #
12 #########################################################################
14 # $Id: Makefile 8477 2007-11-06 15:16:56Z frisch $
16 # Makefile for the Unix interface library
20 EXTRACAMLFLAGS=-nolabels
22 COBJS=accept.o access.o addrofstr.o alarm.o bind.o chdir.o chmod.o \
23 chown.o chroot.o close.o closedir.o connect.o cst2constr.o cstringv.o \
24 dup.o dup2.o envir.o errmsg.o execv.o execve.o execvp.o exit.o \
25 fchmod.o fchown.o fcntl.o fork.o ftruncate.o \
26 getaddrinfo.o getcwd.o getegid.o geteuid.o getgid.o \
27 getgr.o getgroups.o gethost.o gethostname.o getlogin.o \
28 getnameinfo.o getpeername.o getpid.o getppid.o getproto.o getpw.o \
29 gettimeofday.o getserv.o getsockname.o getuid.o \
30 gmtime.o isatty.o itimer.o kill.o link.o listen.o lockf.o lseek.o mkdir.o \
31 mkfifo.o nice.o open.o opendir.o pipe.o putenv.o read.o \
32 readdir.o readlink.o rename.o rewinddir.o rmdir.o select.o sendrecv.o \
33 setgid.o setsid.o setuid.o shutdown.o signals.o \
34 sleep.o socket.o socketaddr.o \
35 socketpair.o sockopt.o stat.o strofaddr.o symlink.o termios.o \
36 time.o times.o truncate.o umask.o unixsupport.o unlink.o \
37 utimes.o wait.o write.o
39 CAMLOBJS=unix.cmo unixLabels.cmo
46 gcc -MM $(CFLAGS) *.c > .depend
47 ../../boot/ocamlrun ../../tools/ocamldep *.mli *.ml >> .depend