diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-08-29 23:53:06 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-08-29 23:53:06 +0000 |
commit | cd45f029c215eec23cce1916b9778383b01ff521 (patch) | |
tree | d3baa6e2700b9bc4a4bf5fcb3c866853f7277598 /newlib/libc/sys/linux/Makefile.am | |
parent | 3c6891852a6cc252d10cb452f0445b588765a3ba (diff) | |
download | cygnal-cd45f029c215eec23cce1916b9778383b01ff521.tar.gz cygnal-cd45f029c215eec23cce1916b9778383b01ff521.tar.bz2 cygnal-cd45f029c215eec23cce1916b9778383b01ff521.zip |
* libc/sys/linux/argp: New directory.
* libc/sys/linux/getopt.c: New file.
* libc/sys/linux/getopt1.c: New file.
* libc/sys/linux/getoptlong.c: Remove file.
* libc/sys/linux/include/argp.h: New file.
* libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
based on ELIX level.
(SUBDIRS): Add argp_dir.
(SUBLIBS): Add ARGP_LIB.
(ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
getopt_long.$(oext).
* libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
Diffstat (limited to 'newlib/libc/sys/linux/Makefile.am')
-rw-r--r-- | newlib/libc/sys/linux/Makefile.am | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/newlib/libc/sys/linux/Makefile.am b/newlib/libc/sys/linux/Makefile.am index 00d189b71..9f3986f5b 100644 --- a/newlib/libc/sys/linux/Makefile.am +++ b/newlib/libc/sys/linux/Makefile.am @@ -4,10 +4,20 @@ AUTOMAKE_OPTIONS = cygnus INCLUDES = -I$(srcdir)/include $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(INCLTDL) +if ELIX_LEVEL_1 +argp_dir= +ARGP_LIB= +else +argp_dir=argp +ARGP_LIB=argp/libargp.la +endif + SUBDIRS = machine \ + $(argp_dir) \ cmath \ . SUBLIBS = \ + $(ARGP_LIB) \ cmath/libcmath.la \ $(LINUX_MACH_LIB) @@ -102,7 +112,8 @@ ELIX_2_OBJS = \ fstatvfs64.$(oext) \ ftw.$(oext) \ ftw64.$(oext) \ - getoptlong.$(oext) \ + getopt.$(oext) \ + getopt1.$(oext) \ getrlimit64.$(oext) \ getwd.$(oext) \ io64.$(oext) \ |