X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fautomake.mk;h=cbcf0ae2bb3350b3d2cb7dc60d1eabec40af6b54;hb=47ff0f73708c7c621093fa0a0500ca5e9cffa070;hp=5a44ff825cc42dd3d07fe53a847cf05dabfab10c;hpb=02a682272552710b1c4c869db3fea1d83b0eb3a7;p=pspp diff --git a/utilities/automake.mk b/utilities/automake.mk index 5a44ff825c..cbcf0ae2bb 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,9 @@ 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 \ - src/libpspp-core.la \ - gl/libgl.la +utilities_pspp_convert_LDADD = src/libpspp-core.la + +utilities_pspp_convert_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS) +if RELOCATABLE_VIA_LD +utilities_pspp_convert_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)` +endif