1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
4 noinst_LTLIBRARIES += src/libpspp/libpspp.la
6 src_libpspp_libpspp_la_SOURCES = \
9 src/libpspp/argv-parser.c \
10 src/libpspp/argv-parser.h \
13 src/libpspp/assertion.h \
14 src/libpspp/bit-vector.h \
18 src/libpspp/compiler.h \
19 src/libpspp/copyleft.c \
20 src/libpspp/copyleft.h \
23 src/libpspp/ext-array.c \
24 src/libpspp/ext-array.h \
25 src/libpspp/float-format.c \
26 src/libpspp/float-format.h \
27 src/libpspp/freaderror.c \
28 src/libpspp/freaderror.h \
31 src/libpspp/hash-functions.c \
32 src/libpspp/hash-functions.h \
43 src/libpspp/integer-format.c \
44 src/libpspp/integer-format.h \
45 src/libpspp/intern.c \
46 src/libpspp/intern.h \
47 src/libpspp/legacy-encoding.c \
48 src/libpspp/legacy-encoding.h \
53 src/libpspp/message.c \
54 src/libpspp/message.h \
57 src/libpspp/model-checker.c \
58 src/libpspp/model-checker.h \
59 src/libpspp/msg-locator.c \
60 src/libpspp/msg-locator.h \
63 src/libpspp/range-map.c \
64 src/libpspp/range-map.h \
65 src/libpspp/range-set.c \
66 src/libpspp/range-set.h \
67 src/libpspp/sparse-array.c \
68 src/libpspp/sparse-array.h \
69 src/libpspp/sparse-xarray.c \
70 src/libpspp/sparse-xarray.h \
71 src/libpspp/start-date.c \
72 src/libpspp/start-date.h \
73 src/libpspp/string-array.c \
74 src/libpspp/string-array.h \
75 src/libpspp/string-map.c \
76 src/libpspp/string-map.h \
77 src/libpspp/string-set.c \
78 src/libpspp/string-set.h \
79 src/libpspp/stringi-map.c \
80 src/libpspp/stringi-map.h \
81 src/libpspp/stringi-set.c \
82 src/libpspp/stringi-set.h \
87 src/libpspp/temp-file.c \
88 src/libpspp/temp-file.h \
91 src/libpspp/version.h \
92 src/libpspp/zip-writer.c \
93 src/libpspp/zip-writer.h
95 DISTCLEANFILES+=src/libpspp/version.c
97 src_libpspp_libpspp_la_CPPFLAGS = -I $(top_srcdir)/src/libpspp $(AM_CPPFLAGS)
99 nodist_src_libpspp_libpspp_la_SOURCES = src/libpspp/version.c
101 src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
102 @$(MKDIR_P) src/libpspp
103 echo "/* -*- mode: c; buffer-read-only: t -*-" > $@
104 echo " Generated by src/libpspp/automake.mk --- Do not edit.">> $@
106 echo " The following line is for the benefit of the perl module" >>$@
107 echo "\$$VERSION='$(VERSION_FOR_PERL)';" >> $@
109 echo "#include \"version.h\"" >> $@
110 echo "const char bare_version[] = \"$(VERSION)\";" >> $@
111 echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@
112 echo "const char stat_version[] = \"GNU $(PACKAGE) $(VERSION) \
114 echo "const char host_system[] = \"$(host_triplet)\";" >> $@
115 echo "const char build_system[] = \"$(build_triplet)\";" >> $@
116 echo "const char locale_dir[] = \"$(datadir)/locale\";" >> $@
117 echo "const char *const authors[] = {" >> $@
118 sed -e 's/^/ \"/' -e 's/$$/\",/' $(top_srcdir)/AUTHORS >> $@
122 EXTRA_DIST += src/libpspp/OChangeLog