work on docs
[pspp] / utilities / automake.mk
1 # PSPP - a program for statistical analysis.
2 # Copyright (C) 2017 Free Software Foundation, Inc.
3 #
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 #
17 bin_PROGRAMS += utilities/pspp-dump-sav
18 dist_man_MANS += utilities/pspp-dump-sav.1
19 utilities_pspp_dump_sav_SOURCES = \
20         src/libpspp/integer-format.c \
21         src/libpspp/float-format.c \
22         utilities/pspp-dump-sav.c
23 utilities_pspp_dump_sav_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
24
25 bin_PROGRAMS += utilities/pspp-convert
26 dist_man_MANS += utilities/pspp-convert.1
27 utilities_pspp_convert_SOURCES = utilities/pspp-convert.c
28 utilities_pspp_convert_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
29 utilities_pspp_convert_LDADD = src/libpspp.la src/libpspp-core.la $(CAIRO_LIBS)
30
31 utilities_pspp_convert_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS)
32 if RELOCATABLE_VIA_LD
33 utilities_pspp_convert_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
34 endif
35
36 bin_PROGRAMS += utilities/pspp-output
37 dist_man_MANS += utilities/pspp-output.1
38 utilities_pspp_output_SOURCES = utilities/pspp-output.c
39 utilities_pspp_output_CPPFLAGS = \
40         $(LIBXML2_CFLAGS) $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\"
41 utilities_pspp_output_LDADD = \
42         src/libpspp.la \
43         src/libpspp-core.la \
44         $(CAIRO_LIBS)
45 utilities_pspp_output_LDFLAGS = $(PSPP_LDFLAGS) $(LIBXML2_LIBS)
46 if RELOCATABLE_VIA_LD
47 utilities_pspp_output_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
48 endif