diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:35:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:35:28 +0000 |
commit | ea314d2f45c40a006c0104157013ab4b857f665f (patch) | |
tree | 3ef2971cb3675c318b8d9effd987854ad3f6d3e8 /lib/compat/Makefile.am | |
parent | Initial commit. (diff) | |
download | dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.tar.xz dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.zip |
Adding upstream version 1.22.4.upstream/1.22.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/compat/Makefile.am')
-rw-r--r-- | lib/compat/Makefile.am | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/lib/compat/Makefile.am b/lib/compat/Makefile.am new file mode 100644 index 0000000..58a2524 --- /dev/null +++ b/lib/compat/Makefile.am @@ -0,0 +1,96 @@ +## Process this file with automake to produce Makefile.in + +AM_CPPFLAGS = \ + -idirafter $(top_srcdir)/lib/compat \ + -I$(top_builddir) \ + # EOL + + +noinst_LTLIBRARIES = \ + libcompat-test.la \ + libcompat.la \ + # EOL + +libcompat_test_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -DTEST_LIBCOMPAT=1 \ + # EOL +libcompat_test_la_SOURCES = \ + compat.h \ + strchrnul.c \ + strnlen.c \ + strndup.c \ + strsignal.c \ + snprintf.c vsnprintf.c \ + asprintf.c vasprintf.c \ + alphasort.c \ + scandir.c \ + unsetenv.c \ + # EOL + +if HAVE_SYS_ERRLIST +libcompat_test_la_SOURCES += strerror.c +endif + +libcompat_la_SOURCES = \ + empty.c \ + compat.h \ + compat-zlib.h \ + gettext.h \ + # EOL + +if !HAVE_GETOPT +libcompat_la_SOURCES += getopt.c getopt.h getopt_int.h +else +if !HAVE_GETOPT_LONG +libcompat_la_SOURCES += getopt.c getopt.h getopt_int.h +endif +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_STRCHRNUL +libcompat_la_SOURCES += strchrnul.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 |