X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fautomake.mk;h=41c57c733f204e4afdd48624bc26407be5d8fd96;hb=refs%2Fheads%2Fctables12;hp=5a44ff825cc42dd3d07fe53a847cf05dabfab10c;hpb=02a682272552710b1c4c869db3fea1d83b0eb3a7;p=pspp diff --git a/utilities/automake.mk b/utilities/automake.mk index 5a44ff825c..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,7 +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/liblibpspp.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 \ - gl/libgl.la + $(CAIRO_LIBS) +utilities_pspp_output_LDFLAGS = $(PSPP_LDFLAGS) $(LIBXML2_LIBS) +if RELOCATABLE_VIA_LD +utilities_pspp_output_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)` +endif