]> git.draconx.ca Git - dxcommon.git/blob - Makefile.am
Add library test for curses.
[dxcommon.git] / Makefile.am
1 # Copyright © 2015 Nick Bowler
2 #
3 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
4 # This is free software: you are free to do what the fuck you want to.
5 # There is NO WARRANTY, to the extent permitted by law.
6
7 ACLOCAL_AMFLAGS = -I m4
8
9 AM_CFLAGS = -I$(top_srcdir)/src
10
11 check_LIBRARIES = t/libdummy.a t/libempty.a
12
13 check_PROGRAMS = t/packtestu t/packtests t/packtestu64 t/packtests64
14
15 t_packtestu_SOURCES = t/packtestu.c src/pack.c src/tap.c
16 t_packtests_SOURCES = t/packtests.c src/pack.c src/tap.c
17 t_packtestu64_SOURCES = t/packtestu64.c src/pack.c src/tap.c
18 t_packtests64_SOURCES = t/packtests64.c src/pack.c src/tap.c
19
20 if HAVE_STRUCT_OPTION
21 check_PROGRAMS += t/helpdesc t/helpopt t/helpopt2
22 endif
23
24 EXTRA_LIBRARIES = libglohelp.a
25 libglohelp_a_SOURCES = src/help.c
26 libglohelp_a_CFLAGS = -DHELP_GETOPT_LONG_ONLY
27 libglohelp_a_SHORTNAME = glo
28
29 t_helpopt_SOURCES = t/helpopt.c src/help.c src/tap.c
30 t_helpopt2_SOURCES = t/helpopt.c src/tap.c
31 t_helpopt2_LDADD = $(libglohelp_a_OBJECTS)
32 t_helpdesc_SOURCES = t/helpdesc.c src/help.c src/tap.c
33
34 DISTCLEANFILES =
35 EXTRA_DIST =
36 SUFFIXES =
37
38 include $(top_srcdir)/snippet/autotest.mk