aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/linux/argp/Makefile.am
blob: 9cdd5fe063edde6cfd71ee2732f23cb5d535ffd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Process this file with automake to generate Makefile.in

AM_CPPFLAGS = -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)
lib_a_CFLAGS = $(AM_CFLAGS)
noinst_DATA =
endif # USE_LIBTOOL

include $(srcdir)/../../../../Makefile.shared