From 92fb12eb06716d14c05b781f5d9dcde956d77c30 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 4 Mar 2006 02:03:32 +0000 Subject: [PATCH] added automake.mk files in src/language --- src/language/automake.mk | 27 ++++++++++++++ src/language/control/automake.mk | 19 ++++++++++ src/language/data-io/automake.mk | 36 ++++++++++++++++++ src/language/dictionary/automake.mk | 26 +++++++++++++ src/language/expressions/automake.mk | 56 ++++++++++++++++++++++++++++ src/language/lexer/automake.mk | 29 ++++++++++++++ src/language/stats/automake.mk | 51 +++++++++++++++++++++++++ src/language/tests/automake.mk | 16 ++++++++ src/language/utilities/automake.mk | 30 +++++++++++++++ src/language/xforms/automake.mk | 17 +++++++++ 10 files changed, 307 insertions(+) create mode 100644 src/language/automake.mk create mode 100644 src/language/control/automake.mk create mode 100644 src/language/data-io/automake.mk create mode 100644 src/language/dictionary/automake.mk create mode 100644 src/language/expressions/automake.mk create mode 100644 src/language/lexer/automake.mk create mode 100644 src/language/stats/automake.mk create mode 100644 src/language/tests/automake.mk create mode 100644 src/language/utilities/automake.mk create mode 100644 src/language/xforms/automake.mk diff --git a/src/language/automake.mk b/src/language/automake.mk new file mode 100644 index 00000000..5140bb41 --- /dev/null +++ b/src/language/automake.mk @@ -0,0 +1,27 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +include $(top_srcdir)/src/language/lexer/automake.mk +include $(top_srcdir)/src/language/xforms/automake.mk +include $(top_srcdir)/src/language/control/automake.mk +include $(top_srcdir)/src/language/dictionary/automake.mk +include $(top_srcdir)/src/language/tests/automake.mk +include $(top_srcdir)/src/language/utilities/automake.mk +include $(top_srcdir)/src/language/stats/automake.mk +include $(top_srcdir)/src/language/data-io/automake.mk +include $(top_srcdir)/src/language/expressions/automake.mk + +noinst_LIBRARIES += src/language/liblanguage.a + +src_language_liblanguage_a_SOURCES = \ + src/language/line-buffer.c \ + src/language/line-buffer.h \ + src/language/command.c \ + src/language/command.h \ + src/language/command.def + + +src/language/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/output \ + -I$(top_srcdir)/src/data + diff --git a/src/language/control/automake.mk b/src/language/control/automake.mk new file mode 100644 index 00000000..1f61d5a8 --- /dev/null +++ b/src/language/control/automake.mk @@ -0,0 +1,19 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +src/language/control/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/language \ + -I$(top_srcdir)/src/language/lexer + +noinst_LIBRARIES += src/language/control/libcontrol.a + +src_language_control_libcontrol_a_SOURCES = \ + src/language/control/control-stack.c \ + src/language/control/control-stack.h \ + src/language/control/do-if.c \ + src/language/control/loop.c \ + src/language/control/temporary.c \ + src/language/control/repeat.c \ + src/language/control/repeat.h + diff --git a/src/language/data-io/automake.mk b/src/language/data-io/automake.mk new file mode 100644 index 00000000..b093b1c1 --- /dev/null +++ b/src/language/data-io/automake.mk @@ -0,0 +1,36 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +src/language/data-io/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/language \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/language/data-io \ + -I$(top_srcdir)/src/output/charts \ + -I$(top_srcdir)/src/output + +noinst_LIBRARIES += src/language/data-io/libdata_io.a + +src_language_data_io_q_sources_q = src/language/data-io/file-handle.q src/language/data-io/list.q + +src_language_data_io_q_sources_c = src/language/data-io/file-handle.c src/language/data-io/list.c + +EXTRA_DIST += $(src_language_data_io_q_sources_q) +nodist_src_language_data_io_libdata_io_a_SOURCES = $(src_language_data_io_q_sources_c) +CLEANFILES += $(src_language_data_io_q_sources_c) + +src_language_data_io_libdata_io_a_SOURCES = \ + src/language/data-io/data-list.c \ + src/language/data-io/file-type.c \ + src/language/data-io/get.c \ + src/language/data-io/inpt-pgm.c \ + src/language/data-io/print.c \ + src/language/data-io/matrix-data.c \ + src/language/data-io/data-list.h \ + src/language/data-io/data-reader.c \ + src/language/data-io/data-reader.h \ + src/language/data-io/data-writer.c \ + src/language/data-io/data-writer.h \ + src/language/data-io/file-handle.h + + diff --git a/src/language/dictionary/automake.mk b/src/language/dictionary/automake.mk new file mode 100644 index 00000000..963e3890 --- /dev/null +++ b/src/language/dictionary/automake.mk @@ -0,0 +1,26 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +src/language/dictionary/%: AM_CPPFLAGS+=-I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/output \ + -I$(top_srcdir)/src/output/charts \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/language + +noinst_LIBRARIES += src/language/dictionary/libcmddict.a + +src_language_dictionary_libcmddict_a_SOURCES = \ + src/language/dictionary/apply-dictionary.c \ + src/language/dictionary/formats.c \ + src/language/dictionary/missing-values.c \ + src/language/dictionary/modify-variables.c \ + src/language/dictionary/numeric.c \ + src/language/dictionary/rename-variables.c \ + src/language/dictionary/split-file.c \ + src/language/dictionary/sys-file-info.c \ + src/language/dictionary/value-labels.c \ + src/language/dictionary/variable-label.c \ + src/language/dictionary/vector.c \ + src/language/dictionary/variable-display.c \ + src/language/dictionary/weight.c + diff --git a/src/language/expressions/automake.mk b/src/language/expressions/automake.mk new file mode 100644 index 00000000..1ad694b0 --- /dev/null +++ b/src/language/expressions/automake.mk @@ -0,0 +1,56 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +src/language/expressions/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/math \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/language/expressions \ + -I$(top_builddir)/src/language/expressions \ + -I$(top_srcdir)/src/language + +noinst_LIBRARIES += src/language/expressions/libexpressions.a + +src/language/expressions/evaluate.o: src/language/expressions/evaluate.h src/language/expressions/operations.h src/language/expressions/evaluate.inc + +src/language/expressions/optimize.o: src/language/expressions/optimize.inc + +src/language/expressions/parse.o: src/language/expressions/parse.inc + +CLEANFILES += $(expressions_built_sources) + +src_language_expressions_libexpressions_a_SOURCES = \ + src/language/expressions/evaluate.c \ + src/language/expressions/helpers.c \ + src/language/expressions/helpers.h \ + src/language/expressions/optimize.c \ + src/language/expressions/parse.c \ + src/language/expressions/private.h \ + src/language/expressions/public.h \ + src/language/expressions/evaluate.inc.pl \ + src/language/expressions/generate.pl \ + src/language/expressions/operations.def \ + src/language/expressions/evaluate.h.pl \ + src/language/expressions/operations.h.pl \ + src/language/expressions/optimize.inc.pl \ + src/language/expressions/parse.inc.pl + +expressions_built_sources= \ + src/language/expressions/evaluate.h \ + src/language/expressions/evaluate.inc \ + src/language/expressions/operations.h \ + src/language/expressions/optimize.inc \ + src/language/expressions/parse.inc + + +nodist_src_language_expressions_libexpressions_a_SOURCES = $(expressions_built_sources) + + +PERL = @PERL@ + +helpers = $(top_srcdir)/src/language/expressions/generate.pl \ + $(top_srcdir)/src/language/expressions/operations.def + +%: %.pl $(helpers) + @mkdir -p `dirname $@` + $(PERL) -I $(top_srcdir)/src/language/expressions $< -o $@ -i $(top_srcdir)/src/language/expressions/operations.def + diff --git a/src/language/lexer/automake.mk b/src/language/lexer/automake.mk new file mode 100644 index 00000000..ed172773 --- /dev/null +++ b/src/language/lexer/automake.mk @@ -0,0 +1,29 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +src/language/lexer/%: AM_CPPFLAGS += \ + -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/language + + +noinst_LIBRARIES += src/language/lexer/liblexer.a + +src_language_lexer_liblexer_a_SOURCES = \ + src/language/lexer/lexer.c src/language/lexer/lexer.h \ + src/language/lexer/subcommand-list.c \ + src/language/lexer/subcommand-list.h \ + src/language/lexer/format-parser.c \ + src/language/lexer/range-parser.c \ + src/language/lexer/range-parser.h \ + src/language/lexer/variable-parser.c + +EXTRA_DIST += src/language/lexer/q2c.c + + +$(top_builddir)/src/language/lexer/q2c: $(top_srcdir)/src/language/lexer/q2c.c + @mkdir -p `dirname $@` + $(CC) $(DEFAULT_INCLUDES) $(AM_CPPFLAGS) $< -o $@ + + +CLEANFILES+=$(top_builddir)/src/language/lexer/q2c diff --git a/src/language/stats/automake.mk b/src/language/stats/automake.mk new file mode 100644 index 00000000..aebae968 --- /dev/null +++ b/src/language/stats/automake.mk @@ -0,0 +1,51 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +src/language/stats/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/math \ + -I$(top_srcdir)/src/math/linreg \ + -I$(top_srcdir)/src/output \ + -I$(top_srcdir)/src/output/charts \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/language/stats \ + -I$(top_srcdir)/src/language + +noinst_LIBRARIES += src/language/stats/libstats.a + +src_language_stats_q_sources_q = \ + src/language/stats/correlations.q \ + src/language/stats/crosstabs.q \ + src/language/stats/examine.q \ + src/language/stats/frequencies.q \ + src/language/stats/means.q \ + src/language/stats/oneway.q \ + src/language/stats/rank.q \ + src/language/stats/regression.q \ + src/language/stats/t-test.q + +src_language_stats_q_sources_c = \ + src/language/stats/correlations.c \ + src/language/stats/crosstabs.c \ + src/language/stats/examine.c \ + src/language/stats/frequencies.c \ + src/language/stats/means.c \ + src/language/stats/oneway.c \ + src/language/stats/rank.c \ + src/language/stats/regression.c \ + src/language/stats/t-test.c + + +EXTRA_DIST += $(src_language_stats_q_sources_q) +nodist_src_language_stats_libstats_a_SOURCES = $(src_language_stats_q_sources_c) +CLEANFILES += $(src_language_stats_q_sources_c) + +src_language_stats_libstats_a_SOURCES = \ + src/language/stats/aggregate.c \ + src/language/stats/autorecode.c \ + src/language/stats/descriptives.c \ + src/language/stats/sort-cases.c \ + src/language/stats/sort-criteria.c \ + src/language/stats/sort-criteria.h \ + src/language/stats/flip.c \ + src/language/stats/regression-export.h diff --git a/src/language/tests/automake.mk b/src/language/tests/automake.mk new file mode 100644 index 00000000..1aceb88e --- /dev/null +++ b/src/language/tests/automake.mk @@ -0,0 +1,16 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +src/language/tests/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/math \ + -I$(top_srcdir)/src/language \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/output + + +noinst_LIBRARIES += src/language/tests/libtests.a + +src_language_tests_libtests_a_SOURCES = \ + src/language/tests/casefile-test.c \ + src/language/tests/moments-test.c \ + src/language/tests/pool-test.c diff --git a/src/language/utilities/automake.mk b/src/language/utilities/automake.mk new file mode 100644 index 00000000..ba7ab45c --- /dev/null +++ b/src/language/utilities/automake.mk @@ -0,0 +1,30 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +src/language/utilities/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/math \ + -I$(top_srcdir)/src/output \ + -I$(top_srcdir)/src/output/charts \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/language + +src_language_utilities_q_sources_q = \ + src/language/utilities/set.q + + +src_language_utilities_q_sources_c = \ + src/language/utilities/set.c + +noinst_LIBRARIES += src/language/utilities/libutilities.a + +EXTRA_DIST += $(src_language_utilities_q_sources_q) +nodist_src_language_utilities_libutilities_a_SOURCES = $(src_language_utilities_q_sources_c) +CLEANFILES += $(src_language_utilities_q_sources_c) + +src_language_utilities_libutilities_a_SOURCES = \ + src/language/utilities/date.c \ + src/language/utilities/echo.c \ + src/language/utilities/title.c \ + src/language/utilities/include.c \ + src/language/utilities/permissions.c diff --git a/src/language/xforms/automake.mk b/src/language/xforms/automake.mk new file mode 100644 index 00000000..db5b206d --- /dev/null +++ b/src/language/xforms/automake.mk @@ -0,0 +1,17 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +src/language/xforms/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/math \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/language + +noinst_LIBRARIES += src/language/xforms/libxforms.a + +src_language_xforms_libxforms_a_SOURCES = \ + src/language/xforms/compute.c \ + src/language/xforms/count.c \ + src/language/xforms/sample.c \ + src/language/xforms/recode.c \ + src/language/xforms/select-if.c -- 2.30.2