X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/67d36b0273cd1b9e449ff0de4ba045173bdc153c..62bc7469bf3ef88c4f81ddf615aa7dabe9ddbf74:/Makefile.am diff --git a/Makefile.am b/Makefile.am index ecfc28c..8b2aa90 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,8 @@ ACLOCAL_AMFLAGS = -I m4 AM_CFLAGS = -I$(top_srcdir)/src +check_LIBRARIES = t/libdummy.a t/libempty.a + check_PROGRAMS = t/packtestu t/packtests t/packtestu64 t/packtests64 t_packtestu_SOURCES = t/packtestu.c src/pack.c src/tap.c @@ -15,6 +17,21 @@ 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 =