1 # strnlen strndup mempcpy alloca argp error gethostname getopt memmove memset realloc setenv strcase strchrnul strdup strerror sysexits vasprintf vasnprintf xalloc getdate timegm
3 # s/libfoo_a/libfoo_la/g
4 # s/libfoo.a/libfoo.la/
5 # s/#libfoo_la_LIBADD = @LIBOBJS@/libfoo_la_LIBADD = @LTLIBOBJS@/g
6 # s/EXTRA_DIST =/EXTRA_DIST = README/
10 ## Process this file with automake to produce Makefile.in.
12 AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies
14 noinst_LTLIBRARIES = libfoo.la
17 #libfoo_la_LIBADD = @LIBOBJS@
18 libfoo_la_LIBADD = @LTLIBOBJS@
25 MAINTAINERCLEANFILES =
26 BUILT_SOURCES += $(ALLOCA_H)
27 EXTRA_DIST += alloca_.h
29 # We need the following in order to create an <alloca.h> when the system
30 # doesn't have one that works with the given compiler.
31 all-local $(libfoo_la_OBJECTS): $(ALLOCA_H)
33 cp $(srcdir)/alloca_.h $@-t
35 MOSTLYCLEANFILES += alloca.h alloca.h-t
37 libfoo_la_LIBADD += @ALLOCA@
38 #libfoo_la_LIBADD += @LTALLOCA@
39 libfoo_la_SOURCES += argp.h argp-ba.c argp-eexst.c \
40 argp-fmtstream.c argp-fmtstream.h argp-fs-xinl.c argp-help.c \
41 argp-namefrob.h argp-parse.c argp-pv.c argp-pvh.c argp-xinl.c
44 libfoo_la_SOURCES += exitfail.h exitfail.c
47 libfoo_la_SOURCES += getdate.h getdate.y
48 BUILT_SOURCES += getdate.c
49 MAINTAINERCLEANFILES += getdate.c
52 libfoo_la_SOURCES += getopt.h getopt.c getopt1.c
54 libfoo_la_SOURCES += gettext.h
58 libfoo_la_SOURCES += mempcpy.h
63 libfoo_la_SOURCES += setenv.h
66 libfoo_la_SOURCES += strchrnul.h
72 EXTRA_DIST += sysexit_.h
74 # We need the following in order to create a <sysexits.h> when the system
75 # doesn't have one that works with the given compiler.
76 all-local $(libfoo_la_OBJECTS): @SYSEXITS_H@
77 sysexits.h: sysexit_.h
78 cp $(srcdir)/sysexit_.h sysexits.h-t
79 mv sysexits.h-t sysexits.h
80 MOSTLYCLEANFILES += sysexits.h sysexits.h-t
82 libfoo_la_SOURCES += unlocked-io.h
84 libfoo_la_SOURCES += printf-args.h printf-parse.h vasnprintf.h
86 libfoo_la_SOURCES += vasprintf.h
88 libfoo_la_SOURCES += xalloc.h xmalloc.c xstrdup.c
90 libfoo_la_SOURCES += xstrndup.h xstrndup.c
92 libfoo_la_SOURCES += strndup.h
94 libfoo_la_SOURCES += base64.c base64.h
96 libfoo_la_SOURCES += timegm.h
98 libfoo_la_SOURCES += time_r.h
100 libfoo_la_SOURCES += memdup.h memdup.c
102 libfoo_la_SOURCES += xmemdup.h xmemdup.c