1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- ## Process this file with automake to produce Makefile.in
- AM_CPPFLAGS = \
- -idirafter $(top_srcdir)/lib/compat \
- -I$(top_builddir)
- noinst_LTLIBRARIES = libcompat.la
- libcompat_la_SOURCES = \
- empty.c \
- compat.h \
- gettext.h
- # FIXME: unconditionally include these for now.
- libcompat_la_SOURCES += md5.c md5.h
- if !HAVE_GETOPT
- libcompat_la_SOURCES += getopt.c getopt.h
- endif
- if !HAVE_GETOPT_LONG
- libcompat_la_SOURCES += getopt1.c
- endif
- if !HAVE_OBSTACK_FREE
- libcompat_la_SOURCES += obstack.c obstack.h
- endif
- if !HAVE_STRNLEN
- libcompat_la_SOURCES += strnlen.c
- endif
- if !HAVE_STRNDUP
- libcompat_la_SOURCES += strndup.c
- endif
- if !HAVE_STRERROR
- libcompat_la_SOURCES += strerror.c
- endif
- if !HAVE_STRSIGNAL
- libcompat_la_SOURCES += strsignal.c
- endif
- if !HAVE_C99_SNPRINTF
- libcompat_la_SOURCES += snprintf.c vsnprintf.c
- endif
- if !HAVE_ASPRINTF
- libcompat_la_SOURCES += asprintf.c vasprintf.c
- endif
- if !HAVE_ALPHASORT
- libcompat_la_SOURCES += alphasort.c
- endif
- if !HAVE_SCANDIR
- libcompat_la_SOURCES += scandir.c
- endif
- if !HAVE_UNSETENV
- libcompat_la_SOURCES += unsetenv.c
- endif
|