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/encoding-guesser.c \
24 src/libpspp/encoding-guesser.h \
25 src/libpspp/ext-array.c \
26 src/libpspp/ext-array.h \
27 src/libpspp/float-format.c \
28 src/libpspp/float-format.h \
29 src/libpspp/freaderror.c \
30 src/libpspp/freaderror.h \
31 src/libpspp/hash-functions.c \
32 src/libpspp/hash-functions.h \
33 src/libpspp/inflate.c \
34 src/libpspp/inflate.h \
43 src/libpspp/integer-format.c \
44 src/libpspp/integer-format.h \
45 src/libpspp/intern.c \
46 src/libpspp/intern.h \
51 src/libpspp/message.c \
52 src/libpspp/message.h \
55 src/libpspp/model-checker.c \
56 src/libpspp/model-checker.h \
59 src/libpspp/prompt.c \
60 src/libpspp/prompt.h \
61 src/libpspp/range-map.c \
62 src/libpspp/range-map.h \
63 src/libpspp/range-set.c \
64 src/libpspp/range-set.h \
65 src/libpspp/sparse-array.c \
66 src/libpspp/sparse-array.h \
67 src/libpspp/sparse-xarray.c \
68 src/libpspp/sparse-xarray.h \
69 src/libpspp/start-date.c \
70 src/libpspp/start-date.h \
71 src/libpspp/string-array.c \
72 src/libpspp/string-array.h \
73 src/libpspp/string-map.c \
74 src/libpspp/string-map.h \
75 src/libpspp/string-set.c \
76 src/libpspp/string-set.h \
77 src/libpspp/stringi-map.c \
78 src/libpspp/stringi-map.h \
79 src/libpspp/stringi-set.c \
80 src/libpspp/stringi-set.h \
85 src/libpspp/temp-file.c \
86 src/libpspp/temp-file.h \
89 src/libpspp/u8-istream.c \
90 src/libpspp/u8-istream.h \
91 src/libpspp/version.h \
92 src/libpspp/zip-private.h \
93 src/libpspp/zip-reader.c \
94 src/libpspp/zip-reader.h \
95 src/libpspp/zip-writer.c \
96 src/libpspp/zip-writer.h
98 DISTCLEANFILES+=src/libpspp/version.c
100 src_libpspp_libpspp_la_CPPFLAGS = -I $(top_srcdir)/src/libpspp $(AM_CPPFLAGS)
102 nodist_src_libpspp_libpspp_la_SOURCES = src/libpspp/version.c
104 src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
105 @$(MKDIR_P) src/libpspp
106 echo "/* -*- mode: c; buffer-read-only: t -*-" > $@
107 echo " Generated by src/libpspp/automake.mk --- Do not edit.">> $@
109 echo " The following line is for the benefit of the perl module" >>$@
110 echo "\$$VERSION='$(VERSION_FOR_PERL)';" >> $@
112 echo "#include \"version.h\"" >> $@
113 echo "const char bare_version[] = \"$(VERSION)\";" >> $@
114 echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@
115 echo "const char stat_version[] = \"GNU $(PACKAGE) $(VERSION) \
117 echo "const char host_system[] = \"$(host_triplet)\";" >> $@
118 echo "const char build_system[] = \"$(build_triplet)\";" >> $@
119 echo "const char locale_dir[] = \"$(datadir)/locale\";" >> $@
120 echo "const char *const authors[] = {" >> $@
121 sed -e 's/^/ \"/' -e 's/$$/\",/' $(top_srcdir)/AUTHORS >> $@
125 EXTRA_DIST += src/libpspp/OChangeLog