]> git.draconx.ca Git - dxcommon.git/blob - Makefile.am
Add a dedicated function to emit the copyright symbol.
[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_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)
34
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)
39
40 EXTRA_LIBRARIES += libnlscopysym.a
41 libnlscopysym_a_SOURCES = src/copysym.c
42 libnlscopysym_a_CFLAGS = -DENABLE_NLS
43 libnlscopysym_a_SHORTNAME = nls
44
45 DISTCLEANFILES =
46 EXTRA_DIST =
47 SUFFIXES =
48
49 include $(top_srcdir)/snippet/autotest.mk