From 3700ba9b6e74247b18cdf2e8510f9a302864b314 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 4 Mar 2006 01:58:23 +0000 Subject: [PATCH] Added src/libpspp/automake.mk and src/data/automake.mk --- src/data/automake.mk | 60 +++++++++++++++++++++++++++++++++++++++++ src/libpspp/automake.mk | 55 +++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 src/data/automake.mk create mode 100644 src/libpspp/automake.mk diff --git a/src/data/automake.mk b/src/data/automake.mk new file mode 100644 index 00000000..3a5192bb --- /dev/null +++ b/src/data/automake.mk @@ -0,0 +1,60 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + +src/data/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp + +noinst_LIBRARIES += src/data/libdata.a + +src_data_libdata_a_SOURCES = \ + src/data/any-reader.c \ + src/data/any-reader.h \ + src/data/any-writer.c \ + src/data/any-writer.h \ + src/data/calendar.c \ + src/data/calendar.h \ + src/data/case.c \ + src/data/casefile.c \ + src/data/casefile.h \ + src/data/case.h \ + src/data/category.c \ + src/data/category.h \ + src/data/cat-routines.h \ + src/data/data-in.c \ + src/data/data-in.h \ + src/data/data-out.c \ + src/data/dictionary.c \ + src/data/dictionary.h \ + src/data/file-handle-def.c \ + src/data/file-handle-def.h \ + src/data/filename.c \ + src/data/filename.h \ + src/data/format.c \ + src/data/format.h \ + src/data/format.def \ + src/data/identifier.c \ + src/data/identifier.h \ + src/data/missing-values.c \ + src/data/missing-values.h \ + src/data/make-file.c \ + src/data/make-file.h \ + src/data/por-file-reader.c \ + src/data/por-file-reader.h \ + src/data/por-file-writer.c \ + src/data/por-file-writer.h \ + src/data/scratch-handle.c \ + src/data/scratch-handle.h \ + src/data/scratch-reader.c \ + src/data/scratch-reader.h \ + src/data/scratch-writer.c \ + src/data/scratch-writer.h \ + src/data/settings.c \ + src/data/settings.h \ + src/data/sfm-private.h \ + src/data/sys-file-reader.c \ + src/data/sys-file-reader.h \ + src/data/sys-file-writer.c \ + src/data/sys-file-writer.h \ + src/data/value.h \ + src/data/value-labels.c \ + src/data/value-labels.h \ + src/data/variable.h \ + src/data/variable.c diff --git a/src/libpspp/automake.mk b/src/libpspp/automake.mk new file mode 100644 index 00000000..b618b8f6 --- /dev/null +++ b/src/libpspp/automake.mk @@ -0,0 +1,55 @@ +## Process this file with automake to produce Makefile.in -*- makefile -*- + + +noinst_LIBRARIES += src/libpspp/libpspp.a + +src_libpspp_libpspp_a_SOURCES = \ + src/libpspp/array.c \ + src/libpspp/array.h \ + src/libpspp/alloc.c \ + src/libpspp/alloc.h \ + src/libpspp/bit-vector.h \ + src/libpspp/copyleft.c \ + src/libpspp/copyleft.h \ + src/libpspp/debug-print.h \ + src/libpspp/hash.c \ + src/libpspp/hash.h \ + src/libpspp/magic.c \ + src/libpspp/magic.h \ + src/libpspp/misc.c \ + src/libpspp/misc.h \ + src/libpspp/pool.c \ + src/libpspp/pool.h \ + src/libpspp/message.h \ + src/libpspp/start-date.c \ + src/libpspp/start-date.h \ + src/libpspp/str.c \ + src/libpspp/str.h \ + src/libpspp/version.h + +DISTCLEANFILES+=src/libpspp/version.c + +nodist_src_libpspp_libpspp_a_SOURCES = src/libpspp/version.c + +src/libpspp/version.c: + @mkdir -p src/libpspp + echo "#include " > $@ + echo "#include \"version.h\"" > $@ + echo "const char bare_version[] = \"@VERSION@\";" >> $@ + echo "const char version[] = \"GNU @PACKAGE@ @VERSION@\";" >> $@ + echo "const char stat_version[] = \"GNU @PACKAGE@ @VERSION@ \ +(`date`).\";" >> $@ + echo "const char host_system[] = \"$(host_triplet)\";" >> $@ + echo "const char build_system[] = \"$(build_triplet)\";" >> $@ + echo "const char default_config_path[] =\ +\"~/.pspp:$(pkgsysconfdir)\";" >> $@ + echo "const char include_path[] =\ +\"./:~/.pspp/include:$(pkgdatadir)\";" >> $@ + echo "const char groff_font_path[] = \"~/.pspp/font:\" \\" >> $@ + echo " \"$(pkgdatadir)/font:\" \\" >> $@ + echo " \"/usr/local/lib/groff/font:\" \\" >> $@ + echo " \"/usr/lib/groff/font:\" \\" >> $@ + echo " \"/usr/local/share/groff/font:\" \\" >> $@ + echo " \"/usr/share/groff/font\";" >> $@ + echo "const char locale_dir[] = \"$(datadir)/locale\";" >> $@ + -- 2.30.2