From: John Darrington Date: Sat, 4 Mar 2006 00:53:47 +0000 (+0000) Subject: Added automake.mk files X-Git-Tag: v0.6.0~1071 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=f6824ecbc579c68db49144fede419ca0acb0f53b Added automake.mk files --- diff --git a/config/automake.mk b/config/automake.mk new file mode 100644 index 00000000..2843c311 --- /dev/null +++ b/config/automake.mk @@ -0,0 +1,23 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +pkgsysconf_DATA = \ + config/devices \ + config/html-prologue \ + config/papersize \ + config/ps-prologue + +EXTRA_DIST += $(pkgsysconf_DATA) + +# A `private installation' in my terms is just having the appropriate +# configuration files in ~/.pspp instead of a global configuration +# location. So I let those files be installed automatically. + +private-install: + $(mkinstalldirs) $$HOME/.pspp + cd $(top_srcdir); cp $(pkgsysconf_DATA) $$HOME/.pspp + +private-uninstall: + -cd $$HOME/.pspp; $(RM) $(notdir $(pkgsysconf_DATA)) + -rmdir $$HOME/.pspp + diff --git a/doc/automake.mk b/doc/automake.mk new file mode 100644 index 00000000..0ca4fe2d --- /dev/null +++ b/doc/automake.mk @@ -0,0 +1,50 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +info_TEXINFOS = doc/pspp.texinfo + +doc_pspp_TEXINFOS = doc/version.texi \ + doc/bugs.texi \ + doc/command-index.texi \ + doc/concept-index.texi \ + doc/configuring.texi \ + doc/data-file-format.texi \ + doc/data-io.texi \ + doc/data-selection.texi \ + doc/expressions.texi \ + doc/files.texi \ + doc/flow-control.texi \ + doc/function-index.texi \ + doc/installing.texi \ + doc/introduction.texi \ + doc/invoking.texi \ + doc/language.texi \ + doc/license.texi \ + doc/not-implemented.texi \ + doc/portable-file-format.texi \ + doc/q2c.texi \ + doc/statistics.texi \ + doc/transformation.texi \ + doc/utilities.texi \ + doc/variables.texi \ + doc/fdl.texi + +nodist_doc_pspp_TEXINFOS = doc/ni.texi + + +EXTRA_DIST += doc/pspp.man \ + doc/get-commands.pl \ + $(doc_pspp_TEXINFOS) + +CLEANFILES += doc/pspp.info doc/pspp.info-* $(top_builddir)/doc/ni.texi + +#Kludge to overcome automake limitations +doc/%.dvi: am__TEXINFO_TEX_DIR=$(top_builddir)/doc + +doc/ni.texi: $(top_srcdir)/src/language/command.def doc/get-commands.pl + @mkdir -p doc + @PERL@ $(top_srcdir)/doc/get-commands.pl $(top_srcdir)/src/language/command.def > $@ + + +$(INFO_DEPS): $(top_builddir)/doc/ni.texi +$(HTML_DEPS): $(top_builddir)/doc/ni.texi + diff --git a/examples/automake.mk b/examples/automake.mk new file mode 100644 index 00000000..d80c6e61 --- /dev/null +++ b/examples/automake.mk @@ -0,0 +1,6 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +EXTRA_DIST += + examples/descript.stat \ + examples/regress.stat \ + examples/regress_categorical.stat diff --git a/lib/automake.mk b/lib/automake.mk new file mode 100644 index 00000000..3afc9e1a --- /dev/null +++ b/lib/automake.mk @@ -0,0 +1,8 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +include $(top_srcdir)/lib/linreg/automake.mk +include $(top_srcdir)/lib/gsl-extras/automake.mk + +if WITHGUI +include $(top_srcdir)/lib/gtksheet/automake.mk +endif diff --git a/lib/linreg/automake.mk b/lib/linreg/automake.mk new file mode 100644 index 00000000..4bf19d37 --- /dev/null +++ b/lib/linreg/automake.mk @@ -0,0 +1,12 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +noinst_LIBRARIES += lib/linreg/liblinreg.a + +lib/linreg/%: AM_CPPFLAGS = -I$(top_srcdir) \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data + + +lib_linreg_liblinreg_a_SOURCES = \ + lib/linreg/sweep.c lib/linreg/sweep.h diff --git a/src/automake.mk b/src/automake.mk new file mode 100644 index 00000000..f709b8de --- /dev/null +++ b/src/automake.mk @@ -0,0 +1,57 @@ +## 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/%: AM_CPPFLAGS += \ + -I$(top_srcdir)/src/math \ + -I$(top_srcdir)/src/ui/terminal \ + -I$(top_srcdir)/src/libpspp \ + -I$(top_srcdir)/src/data \ + -I$(top_srcdir)/src/output \ + -I$(top_srcdir)/src/language \ + -I$(top_srcdir)/src/language/lexer \ + -I$(top_srcdir)/src/language/control + + +bin_PROGRAMS += src/pspp + +src_pspp_SOURCES = \ + src/message.c \ + src/procedure.c src/procedure.h + +src_pspp_LDADD = \ + $(top_builddir)/src/language/expressions/libexpressions.a \ + $(top_builddir)/src/language/liblanguage.a \ + $(top_builddir)/src/language/tests/libtests.a \ + $(top_builddir)/src/language/utilities/libutilities.a \ + $(top_builddir)/src/language/control/libcontrol.a \ + $(top_builddir)/src/language/stats/libstats.a \ + $(top_builddir)/src/language/xforms/libxforms.a \ + $(top_builddir)/src/language/dictionary/libcmddict.a \ + $(top_builddir)/src/language/lexer/liblexer.a \ + $(top_builddir)/src/language/data-io/libdata_io.a \ + $(top_builddir)/src/output/charts/libcharts.a \ + $(top_builddir)/src/output/liboutput.a \ + $(top_builddir)/src/math/libpspp_math.a \ + $(top_builddir)/src/math/linreg/libpspp_linreg.a \ + $(top_builddir)/src/ui/terminal/libui.a \ + $(top_builddir)/lib/linreg/liblinreg.a \ + $(top_builddir)/lib/gsl-extras/libgsl-extras.a \ + $(top_builddir)/src/data/libdata.a \ + $(top_builddir)/src/libpspp/libpspp.a \ + $(top_builddir)/gl/libgl.a \ + @LIBINTL@ @LIBREADLINE@ + + diff --git a/tests/automake.mk b/tests/automake.mk new file mode 100644 index 00000000..64a2b712 --- /dev/null +++ b/tests/automake.mk @@ -0,0 +1,127 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +TESTS_ENVIRONMENT = top_srcdir=${top_srcdir} top_builddir=${top_builddir} +TESTS_ENVIRONMENT += PERL='@PERL@' +TESTS = \ + tests/command/aggregate.sh \ + tests/command/autorecod.sh \ + tests/command/beg-data.sh \ + tests/command/bignum.sh \ + tests/command/count.sh \ + tests/command/data-list.sh \ + tests/command/do-repeat.sh \ + tests/command/erase.sh \ + tests/command/examine.sh \ + tests/command/examine-extremes.sh \ + tests/command/examine-percentiles.sh \ + tests/command/file-label.sh \ + tests/command/file-handle.sh \ + tests/command/filter.sh \ + tests/command/flip.sh \ + tests/command/import-export.sh \ + tests/command/lag.sh \ + tests/command/list.sh \ + tests/command/loop.sh \ + tests/command/longvars.sh \ + tests/command/match-files.sh \ + tests/command/missing-values.sh \ + tests/command/no_case_size.sh \ + tests/command/oneway.sh \ + tests/command/oneway-missing.sh \ + tests/command/oneway-with-splits.sh \ + tests/command/permissions.sh \ + tests/command/print.sh \ + tests/command/rename.sh \ + tests/command/sample.sh \ + tests/command/sort.sh \ + tests/command/sysfiles.sh \ + tests/command/sysfiles-old.sh \ + tests/command/sysfile-info.sh \ + tests/command/split-file.sh \ + tests/command/t-test-1-indep-val.sh \ + tests/command/t-test-1-sample-missing-anal.sh \ + tests/command/t-test-1-sample-missing-list.sh \ + tests/command/t-test-1s.sh \ + tests/command/t-test-groups.sh \ + tests/command/t-test-indep-missing-anal.sh \ + tests/command/t-test-indep-missing-list.sh \ + tests/command/t-test-paired-missing-anal.sh \ + tests/command/t-test-paired-missing-list.sh \ + tests/command/t-test-pairs.sh \ + tests/command/trimmed-mean.sh \ + tests/command/tabs.sh \ + tests/command/use.sh \ + tests/command/weight.sh \ + tests/bugs/agg_crash.sh \ + tests/bugs/agg-crash-2.sh \ + tests/bugs/alpha-freq.sh \ + tests/bugs/big-input.sh \ + tests/bugs/big-input-2.sh \ + tests/bugs/comment-at-eof.sh \ + tests/bugs/compute-fmt.sh \ + tests/bugs/crosstabs.sh \ + tests/bugs/crosstabs-crash.sh \ + tests/bugs/curtailed.sh \ + tests/bugs/data-crash.sh \ + tests/bugs/double-frequency.sh \ + tests/bugs/get.sh \ + tests/bugs/examine-1sample.sh \ + tests/bugs/examine-missing.sh \ + tests/bugs/get-no-file.sh \ + tests/bugs/html-frequency.sh \ + tests/bugs/if_crash.sh \ + tests/bugs/input-crash.sh \ + tests/bugs/lag_crash.sh \ + tests/bugs/match-files-scratch.sh \ + tests/bugs/multipass.sh \ + tests/bugs/random.sh \ + tests/bugs/t-test-with-temp.sh \ + tests/bugs/t-test.sh \ + tests/bugs/t-test-alpha.sh \ + tests/bugs/t-test-alpha2.sh \ + tests/bugs/temporary.sh \ + tests/bugs/val-labs.sh \ + tests/bugs/val-labs-trailing-slash.sh \ + tests/bugs/recode-copy-bug.sh \ + tests/bugs/computebug.sh \ + tests/bugs/compute-lv.sh \ + tests/bugs/temp-freq.sh \ + tests/xforms/casefile.sh \ + tests/stats/descript-basic.sh \ + tests/stats/descript-missing.sh \ + tests/stats/descript-mean-bug.sh \ + tests/stats/moments.sh \ + tests/stats/percentiles-compatible.sh \ + tests/stats/ntiles.sh \ + tests/stats/percentiles-enhanced.sh \ + tests/expressions/expressions.sh \ + tests/expressions/epoch.sh \ + tests/expressions/randist.sh \ + tests/expressions/variables.sh \ + tests/expressions/vectors.sh + +EXTRA_DIST += $(TESTS) tests/weighting.data tests/data-list.data tests/list.data \ + tests/no_case_size.sav \ + tests/coverage.sh tests/test_template \ + tests/bugs/computebug.stat tests/bugs/computebug.out \ + tests/bugs/recode-copy-bug-1.stat tests/bugs/recode-copy-bug-2.stat \ + tests/bugs/recode-copy-bug-1.out tests/bugs/recode-copy-bug-2.out \ + tests/expressions/randist/beta.out \ + tests/expressions/randist/cauchy.out \ + tests/expressions/randist/chisq.out \ + tests/expressions/randist/exp.out \ + tests/expressions/randist/f.out \ + tests/expressions/randist/gamma.out \ + tests/expressions/randist/laplace.out \ + tests/expressions/randist/lnormal.out \ + tests/expressions/randist/logistic.out \ + tests/expressions/randist/normal.out \ + tests/expressions/randist/pareto.out \ + tests/expressions/randist/randist.pl \ + tests/expressions/randist/randist.txt \ + tests/expressions/randist/t.out \ + tests/expressions/randist/uniform.out \ + tests/expressions/randist/weibull.out + +CLEANFILES += *.save pspp.* foo* +