X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fautomake.mk;h=41c57c733f204e4afdd48624bc26407be5d8fd96;hb=8612d7c2fb7b50bad6acb6ea9d16e6e8941e7931;hp=101c7cfd6dccdda347e7d6a7f101e19a49fe756d;hpb=d32245378988468e419654b9fe06fef066adfda1;p=pspp diff --git a/utilities/automake.mk b/utilities/automake.mk index 101c7cfd6d..41c57c733f 100644 --- a/utilities/automake.mk +++ b/utilities/automake.mk @@ -1,3 +1,19 @@ +# PSPP - a program for statistical analysis. +# Copyright (C) 2017 Free Software Foundation, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# bin_PROGRAMS += utilities/pspp-dump-sav dist_man_MANS += utilities/pspp-dump-sav.1 utilities_pspp_dump_sav_SOURCES = \ @@ -10,4 +26,23 @@ bin_PROGRAMS += utilities/pspp-convert dist_man_MANS += utilities/pspp-convert.1 utilities_pspp_convert_SOURCES = utilities/pspp-convert.c utilities_pspp_convert_CPPFLAGS = $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" -utilities_pspp_convert_LDADD = src/libpspp-core.la +utilities_pspp_convert_LDADD = src/libpspp.la src/libpspp-core.la $(CAIRO_LIBS) + +utilities_pspp_convert_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS) +if RELOCATABLE_VIA_LD +utilities_pspp_convert_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)` +endif + +bin_PROGRAMS += utilities/pspp-output +dist_man_MANS += utilities/pspp-output.1 +utilities_pspp_output_SOURCES = utilities/pspp-output.c +utilities_pspp_output_CPPFLAGS = \ + $(LIBXML2_CFLAGS) $(AM_CPPFLAGS) -DINSTALLDIR=\"$(bindir)\" +utilities_pspp_output_LDADD = \ + src/libpspp.la \ + src/libpspp-core.la \ + $(CAIRO_LIBS) +utilities_pspp_output_LDFLAGS = $(PSPP_LDFLAGS) $(LIBXML2_LIBS) +if RELOCATABLE_VIA_LD +utilities_pspp_output_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)` +endif