Formerly ../posix/Makefile.~39~
authorroland <roland>
Mon, 17 Feb 1992 07:23:06 +0000 (07:23 +0000)
committerroland <roland>
Mon, 17 Feb 1992 07:23:06 +0000 (07:23 +0000)
posix/Makefile

index 117d745..46e1479 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991 Free Software Foundation, Inc.
+# Copyright (C) 1991, 1992 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
 #
 subdir := posix
 
-headers        := sys/utsname.h sys/times.h sys/wait.h sys/types.h sys/stat.h  \
-          utime.h fcntl.h unistd.h glob.h wordexp.h posix1_limits.h    \
-          posix2_limits.h posix_options.h confstr.h fnmatch.h          \
-          local_limits.h                                               \
-          gnu/stat.h gnu/wait.h gnu/types.h gnu/fcntl.h
+headers        := sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h    \
+          glob.h wordexp.h fnmatch.h gnu/wait.h gnu/types.h getopt.h   \
+          posix1_lim.h posix2_lim.h posix_opt.h local_lim.h
+
+distribute := confstr.h
 
 routines :=                                                                  \
-       utime                                                                 \
-       mkfifo                                                                \
        uname                                                                 \
        __times                                                               \
        __wait __waitpid __wait3 __wait4                                      \
-       __stat __fstat __lstat                                                \
-       __umask __chmod __fchmod __mkdir                                      \
-       __open __close __read __write __lseek __access __fcntl flock          \
-       __dup __dup2 __pipe                                                   \
-       creat                                                                 \
-       __chdir getcwd getwd                                                  \
        alarm sleep pause                                                     \
-       __chown __fchown                                                      \
        __fork __vfork _exit                                                  \
        __execve execve execv execle execl execvp execlp                      \
        __getpid __getppid                                                    \
-       __getuid __geteuid __getgid __getegid __getgroups __setuid __setgid   \
-       ttyname __isatty                                                      \
+       __getuid __geteuid __getgid __getegid __getgrps __setuid __setgid     \
        __getpgrp __setpgrp __setsid setpgid                                  \
-       __link __symlink __readlink                                           \
-       __unlink __rmdir                                                      \
        getlogin setlogin                                                     \
-       __pathconf __sysconf __fpathconf                                      \
+       __pathconf __sysconf __fpathcon                                       \
        glob fnmatch                                                          \
        confstr                                                               \
-       getopt
+       getopt getopt1
 routines       := $(sort $(foreach f,$(routines),$f $(f:__%=%)))
 aux            := init-posix environ
-tests := test-getopt
+tests := tstgetopt
 
-others         := pwd logname getconf id
+others         := logname getconf id
 
 include ../Rules
 
 # Make the standalone glob/fnmatch package.
 glob.tar.Z: glob.tar
-       compress -c $< > $@
+       compress -c $< > $@-tmp
+       mv $@-tmp $@
 glob.tar: glob/COPYING.LIB glob/Makefile \
          glob/fnmatch.h glob/glob.h glob/fnmatch.c glob/glob.c   
        tar ch$(verbose)f $@ $^
 glob/%.c: %.c
-       $(..)ansidecl -trad $< | indent -stdin -gnu > $@
+       $(..)ansidecl -trad $< | indent -stdin -gnu > $@-tmp
+       mv $@-tmp $@
 glob/%.h: %.h
-       $(..)ansidecl -trad $< | indent -stdin -gnu > $@
+       $(..)ansidecl -trad $< | indent -stdin -gnu > $@-tmp
+       mv $@-tmp $@