docs
[pspp] / src / automake.mk
1 # PSPP - a program for statistical analysis.
2 # Copyright (C) 2017 Free Software Foundation, Inc.
3 #
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 #
17 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
18
19 # PSPP
20
21 include $(top_srcdir)/src/libpspp/automake.mk
22 include $(top_srcdir)/src/data/automake.mk
23
24
25
26 AM_CPPFLAGS += -I"$(top_srcdir)/src" -I"$(top_srcdir)/lib"
27
28
29 pkglib_LTLIBRARIES = src/libpspp-core.la src/libpspp.la
30 src_libpspp_core_la_SOURCES =
31
32
33 src_libpspp_core_la_LDFLAGS = -release $(VERSION)
34
35 src_libpspp_core_la_LIBADD = \
36         src/data/libdata.la \
37         src/libpspp/liblibpspp.la \
38         $(LIBXML2_LIBS) $(PG_LIBS) $(LIB_GETRANDOM) \
39         gl/libgl.la
40
41 src_libpspp_la_SOURCES =
42
43 src_libpspp_la_CFLAGS = $(GSL_CFLAGS)
44 src_libpspp_la_LDFLAGS = -release $(VERSION)
45
46 src_libpspp_la_LIBADD = \
47         src/language/liblanguage.la \
48         src/math/libpspp-math.la \
49         src/output/liboutput.la \
50         $(GSL_LIBS)
51
52 include $(top_srcdir)/src/math/automake.mk
53 include $(top_srcdir)/src/output/automake.mk
54 include $(top_srcdir)/src/language/automake.mk
55 include $(top_srcdir)/src/ui/automake.mk