CLEANFILES =
ACLOCAL_AMFLAGS = -I m4 -I gl/m4
noinst_LIBRARIES=
+noinst_LTLIBRARIES=
noinst_PROGRAMS=
check_PROGRAMS=
bin_PROGRAMS=
## Process this file with automake to produce Makefile.in -*- makefile -*-
-noinst_LIBRARIES += lib/linreg/liblinreg.a
+noinst_LTLIBRARIES += lib/linreg/liblinreg.la
-lib_linreg_liblinreg_a_SOURCES = \
+lib_linreg_liblinreg_la_SOURCES = \
lib/linreg/sweep.c lib/linreg/sweep.h
EXTRA_DIST += lib/linreg/OChangeLog
## Process this file with automake to produce Makefile.in -*- makefile -*-
-noinst_LIBRARIES += lib/misc/libmisc.a
+noinst_LTLIBRARIES += lib/misc/libmisc.la
-lib_misc_libmisc_a_SOURCES = \
+lib_misc_libmisc_la_SOURCES = \
lib/misc/wx-mp-sr.c lib/misc/wx-mp-sr.h
EXTRA_DIST += lib/misc/README
# PSPP
-include $(top_srcdir)/src/math/automake.mk
include $(top_srcdir)/src/libpspp/automake.mk
include $(top_srcdir)/src/data/automake.mk
+
+
+
+AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/lib -DPKGDATADIR=\"$(pkgdatadir)\"
+
+
+lib_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) \
+ gl/libgl.la
+
+src_libpspp_la_SOURCES =
+
+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
+
+
+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
-AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)/lib -DPKGDATADIR=\"$(pkgdatadir)\"
+
EXTRA_DIST += src/OChangeLog
-noinst_LIBRARIES += src/data/libdata.a
+noinst_LTLIBRARIES += src/data/libdata.la
-src_data_libdata_a_CPPFLAGS = $(LIBXML2_CFLAGS) $(PG_CFLAGS) $(AM_CPPFLAGS)
+src_data_libdata_la_CPPFLAGS = $(LIBXML2_CFLAGS) $(PG_CFLAGS) $(AM_CPPFLAGS)
+src_data_libdata_la_LIBADD = $(LIBXML2_LIBS) $(PG_LIBS)
-src_data_libdata_a_SOURCES = \
+src_data_libdata_la_SOURCES = \
src/data/any-reader.c \
src/data/any-reader.h \
src/data/any-writer.c \
include $(top_srcdir)/src/language/data-io/automake.mk
include $(top_srcdir)/src/language/expressions/automake.mk
-noinst_LIBRARIES += src/language/liblanguage.a
+noinst_LTLIBRARIES += src/language/liblanguage.la
-src_language_liblanguage_a_SOURCES = \
+
+src_language_liblanguage_la_LIBADD = \
+ lib/misc/libmisc.la \
+ src/output/charts/libcharts.la
+
+src_language_liblanguage_la_SOURCES = \
src/language/syntax-file.c \
src/language/syntax-file.h \
src/language/syntax-string-source.c \
$(language_expressions_sources)
-
-nodist_src_language_liblanguage_a_SOURCES = \
+nodist_src_language_liblanguage_la_SOURCES = \
$(src_language_data_io_built_sources) \
$(src_language_utilities_built_sources) \
$(src_language_stats_built_sources) \
## Process this file with automake to produce Makefile.in -*- makefile -*-
-noinst_LIBRARIES += src/libpspp/libpspp.a
+noinst_LTLIBRARIES += src/libpspp/libpspp.la
-src_libpspp_libpspp_a_SOURCES = \
+src_libpspp_libpspp_la_SOURCES = \
src/libpspp/abt.c \
src/libpspp/abt.h \
src/libpspp/array.c \
DISTCLEANFILES+=src/libpspp/version.c
-src_libpspp_libpspp_a_CPPFLAGS = -I $(top_srcdir)/src/libpspp $(AM_CPPFLAGS)
+src_libpspp_libpspp_la_CPPFLAGS = -I $(top_srcdir)/src/libpspp $(AM_CPPFLAGS)
-nodist_src_libpspp_libpspp_a_SOURCES = src/libpspp/version.c
+nodist_src_libpspp_libpspp_la_SOURCES = src/libpspp/version.c
src/libpspp/version.c: $(top_srcdir)/AUTHORS
@$(MKDIR_P) src/libpspp
include $(top_srcdir)/src/math/ts/automake.mk
-noinst_LIBRARIES += src/math/libpspp_math.a
+noinst_LTLIBRARIES += src/math/libpspp-math.la
-src_math_libpspp_math_a_SOURCES = \
+src_math_libpspp_math_la_LIBADD = \
+ lib/linreg/liblinreg.la
+
+src_math_libpspp_math_la_SOURCES = \
src/math/chart-geometry.c \
src/math/chart-geometry.h \
src/math/box-whisker.c src/math/box-whisker.h \
## Process this file with automake to produce Makefile.in -*- makefile -*-
-noinst_LIBRARIES += src/math/ts/libpspp_ts.a
+noinst_LTLIBRARIES += src/math/ts/libpspp_ts.la
-src_math_ts_libpspp_ts_a_SOURCES = \
+src_math_ts_libpspp_ts_la_SOURCES = \
src/math/ts/innovations.c \
src/math/ts/innovations.h
include $(top_srcdir)/src/output/charts/automake.mk
-noinst_LIBRARIES += src/output/liboutput.a
+noinst_LTLIBRARIES += src/output/liboutput.la
output_sources = \
src/output/afm.c \
if WITHCHARTS
-src_output_liboutput_a_SOURCES = $(output_sources) src/output/chart.c
+src_output_liboutput_la_SOURCES = $(output_sources) src/output/chart.c
EXTRA_DIST += src/output/dummy-chart.c
else
-src_output_liboutput_a_SOURCES = $(output_sources) src/output/dummy-chart.c
+src_output_liboutput_la_SOURCES = $(output_sources) src/output/dummy-chart.c
EXTRA_DIST += src/output/chart.c
endif
## Process this file with automake to produce Makefile.in -*- makefile -*-
-noinst_LIBRARIES += src/output/charts/libcharts.a
+noinst_LTLIBRARIES += src/output/charts/libcharts.la
chart_sources = \
src/output/charts/barchart.c \
src/output/charts/plot-hist.h
if WITHCHARTS
-src_output_charts_libcharts_a_SOURCES = \
+src_output_charts_libcharts_la_SOURCES = \
$(chart_sources)
EXTRA_DIST += src/output/charts/dummy-chart.c
else
-src_output_charts_libcharts_a_SOURCES = \
+src_output_charts_libcharts_la_SOURCES = \
src/output/charts/dummy-chart.c
EXTRA_DIST += $(chart_sources)
endif
-noinst_LIBRARIES += src/ui/libuicommon.a
+noinst_LTLIBRARIES += src/ui/libuicommon.la
-src_ui_libuicommon_a_SOURCES = \
+src_ui_libuicommon_la_SOURCES = \
src/ui/debugger.c \
src/ui/debugger.h \
src/ui/syntax-gen.c \
-dlopen src/ui/gui/libpsppire.la \
src/ui/gui/libpsppwidgets.la \
lib/gtksheet/libgtksheet.a \
- src/language/liblanguage.a \
- src/ui/libuicommon.a \
- src/output/charts/libcharts.a \
- src/output/liboutput.a \
- src/math/libpspp_math.a \
- lib/linreg/liblinreg.a \
- lib/misc/libmisc.a \
- src/data/libdata.a \
- src/libpspp/libpspp.a \
+ src/ui/libuicommon.la \
+ src/libpspp.la \
+ src/libpspp-core.la \
$(GTK_LIBS) \
$(GLADE_LIBS) \
- $(PG_LIBS) \
- gl/libgl.la \
- @LIBINTL@ @LIBREADLINE@
+ @LIBINTL@
src_ui_gui_psppiredir = $(pkgdatadir)
## Process this file with automake to produce Makefile.in -*- makefile -*-
-noinst_LIBRARIES += src/ui/terminal/libui.a
+noinst_LTLIBRARIES += src/ui/terminal/libui.la
-src_ui_terminal_libui_a_SOURCES = \
+src_ui_terminal_libui_la_SOURCES = \
src/ui/terminal/command-line.c \
src/ui/terminal/command-line.h \
src/ui/terminal/read-line.c \
bin_PROGRAMS += src/ui/terminal/pspp
-
src_ui_terminal_pspp_SOURCES =
src_ui_terminal_pspp_LDADD = \
- src/ui/terminal/libui.a \
- src/language/liblanguage.a \
- src/output/charts/libcharts.a \
- src/output/liboutput.a \
- src/math/libpspp_math.a \
- src/ui/libuicommon.a \
- lib/linreg/liblinreg.a \
- lib/misc/libmisc.a \
- src/data/libdata.a \
- src/libpspp/libpspp.a \
- $(LIBXML2_LIBS) \
- $(PG_LIBS) \
+ src/ui/terminal/libui.la \
+ src/libpspp.la \
+ src/libpspp-core.la \
$(NCURSES_LIBS) \
$(LIBICONV) \
- gl/libgl.la \
@LIBINTL@ @LIBREADLINE@
-
-
src_ui_terminal_pspp_LDFLAGS = $(PG_LDFLAGS)
if RELOCATABLE_VIA_LD
src/libpspp/ll.h \
tests/libpspp/ll-test.c
tests_libpspp_ll_test_LDADD = gl/libgl.la @LIBINTL@
+tests_libpspp_ll_test_CFLAGS = $(AM_CFLAGS)
tests_libpspp_llx_test_SOURCES = \
src/libpspp/ll.c \
src/libpspp/llx.h \
tests/libpspp/llx-test.c
tests_libpspp_llx_test_LDADD = gl/libgl.la @LIBINTL@
+tests_libpspp_llx_test_CFLAGS = $(AM_CFLAGS)
tests_libpspp_heap_test_SOURCES = \
src/libpspp/heap.c \
tests_libpspp_str_test_SOURCES = \
tests/libpspp/str-test.c
-tests_libpspp_str_test_LDADD = src/libpspp/libpspp.a gl/libgl.la @LIBINTL@
+tests_libpspp_str_test_LDADD = src/libpspp/libpspp.la gl/libgl.la @LIBINTL@
tests_libpspp_tower_test_SOURCES = \
src/libpspp/abt.c \
src/libpspp/float-format.c \
tests/dissect-sysfile.c
tests_dissect_sysfile_LDADD = gl/libgl.la @LIBINTL@
+tests_dissect_sysfile_CFLAGS = $(AM_CFLAGS)
EXTRA_DIST += \
$(dist_TESTS) \