X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=blobdiff_plain;f=misc%2FMakefile;h=2189ceaae3d1e443390d172a61ae6ca92aebc6f2;hp=ab9baa6d8464f90eeaf120fe077f3c8bda469056;hb=bafae3373b43e17d12932aa0a7ed5954fefc96e1;hpb=79efc80bf29425eecac3abc0b15c0267e2910bd5 diff --git a/misc/Makefile b/misc/Makefile index ab9baa6d84..2189ceaae3 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991, 1992 Free Software Foundation, Inc. +# Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -22,34 +22,54 @@ subdir := misc -headers := sys/uio.h sys/ioctl.h sys/ptrace.h ioctls.h sys/file.h \ - a.out.h nlist.h sgtty.h gnu/file.h sys/dir.h +headers := sys/uio.h iovec.h sys/ioctl.h sys/ptrace.h ioctls.h sys/file.h\ + a.out.h nlist.h stab.h stab.def sgtty.h sys/dir.h sys/cdefs.h \ + ttyent.h syscall.h syslog.h sys/syslog.h paths.h sys/reboot.h \ + sys/mman.h sys/param.h fstab.h mntent.h search.h utmp.h \ + err.h error.h sys/queue.h sysexits.h routines := brk sbrk sstk ioctl \ - __brk __sbrk __ioctl \ readv writev \ setreuid setregid \ - __setreuid __setregid \ + seteuid setegid \ getpagesize \ - __getpagesize \ - getdtablesize \ - __getdtablesize \ - __gethostname gethostname sethostname \ - __select select \ - acct chroot fsync sync \ - getdirentries \ - __getdirentries \ + getdtsz \ + gethostname sethostname getdomain setdomain \ + select \ + acct chroot fsync sync reboot \ gethostid sethostid \ - mknod __mknod \ - swapon vhangup mktemp \ + revoke vhangup \ + swapon mktemp mkstemp \ ualarm usleep \ gtty stty \ - flock ptrace \ - nlist \ + ptrace nlist \ + fstab mntent \ utimes \ - __utimes \ truncate ftruncate \ - chflags fchflags -aux := data_start progname + chflags fchflags \ + insremque getttyent getusershell getpass ttyslot \ + syslog syscall daemon \ + mmap munmap mprotect msync madvise \ + efgcvt efgcvt_r \ + hsearch hsearch_r tsearch \ + err error +aux := init-misc +distribute := bsd-compat.c +extra-objs := bsd-compat.o +install-lib := libbsd-compat.a libg.a +non-lib.a := libbsd-compat.a +gpl2lgpl := error.c error.h + +# Build the -lutil library with these extra functions. +extra-libs := libutil +libutil-routines:= login login_tty logout logwtmp pty + include ../Rules + + +$(objpfx)libbsd-compat.a: $(objpfx)bsd-compat.o + rm -f $@ + ln $< $@ + +$(objpfx)libg.a: $(dep-dummy-lib); $(make-dummy-lib)