1 # Copyright (C) 1991, 1992 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Library General Public License as
6 # published by the Free Software Foundation; either version 2 of the
7 # License, or (at your option) any later version.
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Library General Public License for more details.
14 # You should have received a copy of the GNU Library General Public
15 # License along with the GNU C Library; see the file COPYING.LIB. If
16 # not, write to the Free Software Foundation, Inc., 675 Mass Ave,
17 # Cambridge, MA 02139, USA.
20 # Sub-makefile for POSIX portion of the library.
24 headers := sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h \
25 glob.h wordexp.h fnmatch.h gnu/wait.h gnu/types.h getopt.h \
26 posix1_lim.h posix2_lim.h posix_opt.h local_lim.h tar.h
28 distribute := confstr.h utsnamelen.h
33 __wait __waitpid __wait3 __wait4 \
35 __fork __vfork _exit \
36 __execve execve execv execle execl execvp execlp \
38 __getuid __geteuid __getgid __getegid __getgrps __setuid __setgid \
39 __getpgrp __setpgrp __setsid setpgid \
41 __pathconf __sysconf __fpathcon \
45 routines := $(sort $(foreach f,$(routines),$f $(f:__%=%)))
46 aux := init-posix environ
49 install-lib := libposix.a
50 gpl2lgpl := getopt.c getopt1.c getopt.h # Frob these guys' copying notices.
57 # Make the standalone glob/fnmatch package.
59 compress -c $< > $@-tmp
61 glob.tar: glob/COPYING.LIB glob/Makefile.in glob/configure \
62 glob/fnmatch.h glob/glob.h glob/fnmatch.c glob/glob.c
63 tar ch$(verbose)f $@ $^
71 glob/configure: /home/gd/gnu/autoconf/glob.conf
73 /home/gd/gnu/autoconf/%: force;$(MAKE) -C $(@D) $(@F)