X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fautomake.mk;h=ddf2f287d7dd46d9687466264a0d9dc7addea8c0;hb=9574a6c2bf65ddc8ef13d4e942833bc5d4b0d2e0;hp=46e0ef73403f1cbd7dd097c0361b692c6aeaaff9;hpb=d94dc663529b4e05ec1e7c47c1e73310abb1d3b4;p=pspp diff --git a/src/automake.mk b/src/automake.mk index 46e0ef7340..ddf2f287d7 100644 --- a/src/automake.mk +++ b/src/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 . +# ## Process this file with automake to produce Makefile.in -*- makefile -*- # PSPP @@ -7,37 +23,33 @@ include $(top_srcdir)/src/data/automake.mk -AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/lib -DPKGDATADIR=\"$(pkgdatadir)\" +AM_CPPFLAGS += -I"$(top_srcdir)/src" -I"$(top_srcdir)/lib" -lib_LTLIBRARIES = src/libpspp-core.la src/libpspp.la -src_libpspp_core_la_SOURCES = +pkglib_LTLIBRARIES = src/libpspp-core.la src/libpspp.la +src_libpspp_core_la_SOURCES = src_libpspp_core_la_LDFLAGS = -release $(VERSION) src_libpspp_core_la_LIBADD = \ src/data/libdata.la \ - src/libpspp/libpspp.la \ - $(LIBXML2_LIBS) $(PG_LIBS) \ + src/libpspp/liblibpspp.la \ + $(LIBXML2_LIBS) $(PG_LIBS) $(LIB_GETRANDOM) \ gl/libgl.la -src_libpspp_la_SOURCES = +src_libpspp_la_SOURCES = +src_libpspp_la_CFLAGS = $(GSL_CFLAGS) src_libpspp_la_LDFLAGS = -release $(VERSION) src_libpspp_la_LIBADD = \ src/language/liblanguage.la \ src/math/libpspp-math.la \ src/output/liboutput.la \ - gl/libgl.la - + $(GSL_LIBS) include $(top_srcdir)/src/math/automake.mk include $(top_srcdir)/src/output/automake.mk include $(top_srcdir)/src/language/automake.mk include $(top_srcdir)/src/ui/automake.mk - - - -EXTRA_DIST += src/OChangeLog