copysym: Avoid including xtra.h.
[dxcommon.git] / Makefile.am
blobe064ddf905943e4153e1d20a1b50bc8c9ccbfd1f
1 # Copyright © 2015 Nick Bowler
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.
7 ACLOCAL_AMFLAGS = -I m4
9 AM_CFLAGS = -I$(top_srcdir)/src
11 check_LIBRARIES = t/libdummy.a t/libempty.a
13 check_PROGRAMS = t/packtestu t/packtests t/packtestu64 t/packtests64
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
20 if HAVE_STRUCT_OPTION
21 check_PROGRAMS += t/helpdesc t/helpopt t/helpopt2
22 endif
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
29 t_helpdesc_SOURCES = t/helpdesc.c src/help.c src/tap.c
30 t_helpopt_SOURCES = t/helpopt.c src/help.c src/tap.c
31 t_helpopt2_SOURCES = t/helpopt.c src/tap.c
32 t_helpopt2_LDADD = $(libglohelp_a_OBJECTS)
33 EXTRA_t_helpopt2_DEPENDENCIES = $(t_helpopt2_LDADD)
35 check_PROGRAMS += t/copysym
36 t_copysym_SOURCES = t/copysym.c src/tap.c
37 t_copysym_LDADD = $(libnlscopysym_a_OBJECTS)
38 EXTRA_t_copysym_DEPENDENCIES = $(t_copysym_LDADD)
40 EXTRA_LIBRARIES += libnlscopysym.a
41 libnlscopysym_a_SOURCES = src/copysym.c
42 libnlscopysym_a_CFLAGS = -DENABLE_NLS
43 libnlscopysym_a_SHORTNAME = nls
45 DISTCLEANFILES =
46 EXTRA_DIST =
47 SUFFIXES =
49 include $(top_srcdir)/snippet/autotest.mk