X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fautomake.mk;h=20a3cc052bafacc27e40e239dce180b6397756a9;hb=c520ca964de11d794d830630b24c97ad9a6de0ce;hp=279464839309139dd6c63bd748d662cf451fdb55;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp diff --git a/src/automake.mk b/src/automake.mk index 2794648393..20a3cc052b 100644 --- a/src/automake.mk +++ b/src/automake.mk @@ -1,31 +1,55 @@ +# 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 -include $(top_srcdir)/src/ui/terminal/automake.mk -include $(top_srcdir)/src/math/automake.mk include $(top_srcdir)/src/libpspp/automake.mk include $(top_srcdir)/src/data/automake.mk -include $(top_srcdir)/src/output/automake.mk -include $(top_srcdir)/src/language/automake.mk -if WITHGUI -include $(top_srcdir)/src/ui/gui/automake.mk -endif -src/message.o: AM_CPPFLAGS += \ - -I$(top_srcdir)/src/language \ - -I$(top_srcdir)/src/language/lexer \ - -I$(top_srcdir)/src/ui/terminal \ - -I$(top_srcdir)/src/data \ - -I$(top_srcdir)/src/libpspp +AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/lib + + +pkglib_LTLIBRARIES = src/libpspp-core.la src/libpspp.la +src_libpspp_core_la_SOURCES = + -src/procedure.o: AM_CPPFLAGS += \ - -I$(top_srcdir)/src/language \ - -I$(top_srcdir)/src/language/control \ - -I$(top_srcdir)/src/output \ - -I$(top_srcdir)/src/data \ - -I$(top_srcdir)/src/libpspp +src_libpspp_core_la_LDFLAGS = -release $(VERSION) +src_libpspp_core_la_LIBADD = \ + src/data/libdata.la \ + src/libpspp/liblibpspp.la \ + $(LIBXML2_LIBS) $(PG_LIBS) \ + gl/libgl.la +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 \ + $(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