X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/c2c6b8f8e7a8d4edfd45f09855444bca51488a9f..5865ffc2d8b828aa78235fbdcf9dfe18a8799980:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 17cf7d5..3f976b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,6 +17,20 @@ t_packtests_SOURCES = t/packtests.c src/pack.c src/tap.c t_packtestu64_SOURCES = t/packtestu64.c src/pack.c src/tap.c t_packtests64_SOURCES = t/packtests64.c src/pack.c src/tap.c +if HAVE_STRUCT_OPTION +check_PROGRAMS += t/helpdesc t/helpopt t/helpopt2 +endif + +EXTRA_LIBRARIES = libglohelp.a +libglohelp_a_SOURCES = src/help.c +libglohelp_a_CFLAGS = -DHELP_GETOPT_LONG_ONLY +libglohelp_a_SHORTNAME = glo + +t_helpopt_SOURCES = t/helpopt.c src/help.c src/tap.c +t_helpopt2_SOURCES = t/helpopt.c src/tap.c +t_helpopt2_LDADD = $(libglohelp_a_OBJECTS) +t_helpdesc_SOURCES = t/helpdesc.c src/help.c src/tap.c + DISTCLEANFILES = EXTRA_DIST = SUFFIXES =