From cd45f029c215eec23cce1916b9778383b01ff521 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Thu, 29 Aug 2002 23:53:06 +0000 Subject: * 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. --- newlib/libc/sys/linux/argp/Makefile.am | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 newlib/libc/sys/linux/argp/Makefile.am (limited to 'newlib/libc/sys/linux/argp/Makefile.am') diff --git a/newlib/libc/sys/linux/argp/Makefile.am b/newlib/libc/sys/linux/argp/Makefile.am new file mode 100644 index 000000000..95869fec5 --- /dev/null +++ b/newlib/libc/sys/linux/argp/Makefile.am @@ -0,0 +1,23 @@ +## Process this file with automake to generate Makefile.in + +AUTOMAKE_OPTIONS = cygnus + +INCLUDES = -I$(srcdir)/../include $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) + +LIB_SOURCES = \ + argp-ba.c argp-eexst.c argp-fmtstream.c argp-fs-xinl.c \ + argp-help.c argp-parse.c argp-pv.c argp-pvh.c argp-xinl.c + +libargp_la_LDFLAGS = -Xcompiler -nostdlib + +if USE_LIBTOOL +noinst_LTLIBRARIES = libargp.la +libargp_la_SOURCES = $(LIB_SOURCES) +noinst_DATA = objectlist.awk.in +else +noinst_LIBRARIES = lib.a +lib_a_SOURCES = $(LIB_SOURCES) +noinst_DATA = +endif # USE_LIBTOOL + +include $(srcdir)/../../../../Makefile.shared -- cgit v1.2.3