1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
4 noinst_LTLIBRARIES += src/libpspp/liblibpspp.la
6 src_libpspp_liblibpspp_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/cmac-aes256.c \
19 src/libpspp/cmac-aes256.h \
20 src/libpspp/compiler.h \
21 src/libpspp/copyleft.c \
22 src/libpspp/copyleft.h \
25 src/libpspp/encoding-guesser.c \
26 src/libpspp/encoding-guesser.h \
27 src/libpspp/ext-array.c \
28 src/libpspp/ext-array.h \
29 src/libpspp/float-format.c \
30 src/libpspp/float-format.h \
31 src/libpspp/freaderror.c \
32 src/libpspp/freaderror.h \
33 src/libpspp/hash-functions.c \
34 src/libpspp/hash-functions.h \
35 src/libpspp/inflate.c \
36 src/libpspp/inflate.h \
45 src/libpspp/integer-format.c \
46 src/libpspp/integer-format.h \
47 src/libpspp/intern.c \
48 src/libpspp/intern.h \
49 src/libpspp/line-reader.c \
50 src/libpspp/line-reader.h \
55 src/libpspp/message.c \
56 src/libpspp/message.h \
59 src/libpspp/model-checker.c \
60 src/libpspp/model-checker.h \
63 src/libpspp/prompt.c \
64 src/libpspp/prompt.h \
65 src/libpspp/range-map.c \
66 src/libpspp/range-map.h \
67 src/libpspp/range-set.c \
68 src/libpspp/range-set.h \
69 src/libpspp/range-tower.c \
70 src/libpspp/range-tower.h \
71 src/libpspp/sparse-array.c \
72 src/libpspp/sparse-array.h \
73 src/libpspp/sparse-xarray.c \
74 src/libpspp/sparse-xarray.h \
75 src/libpspp/start-date.c \
76 src/libpspp/start-date.h \
77 src/libpspp/string-array.c \
78 src/libpspp/string-array.h \
79 src/libpspp/string-map.c \
80 src/libpspp/string-map.h \
81 src/libpspp/string-set.c \
82 src/libpspp/string-set.h \
83 src/libpspp/stringi-map.c \
84 src/libpspp/stringi-map.h \
85 src/libpspp/stringi-set.c \
86 src/libpspp/stringi-set.h \
91 src/libpspp/temp-file.c \
92 src/libpspp/temp-file.h \
95 src/libpspp/u8-istream.c \
96 src/libpspp/u8-istream.h \
97 src/libpspp/u8-line.c \
98 src/libpspp/u8-line.h \
99 src/libpspp/version.h \
100 src/libpspp/zip-private.h \
101 src/libpspp/zip-reader.c \
102 src/libpspp/zip-reader.h \
103 src/libpspp/zip-writer.c \
104 src/libpspp/zip-writer.h
106 DISTCLEANFILES+=src/libpspp/version.c
108 src_libpspp_liblibpspp_la_CPPFLAGS = \
109 -I $(top_srcdir)/src/libpspp \
112 nodist_src_libpspp_liblibpspp_la_SOURCES = src/libpspp/version.c
114 src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
115 @$(MKDIR_P) src/libpspp
116 echo "/* -*- mode: c; buffer-read-only: t -*-" > $@
117 echo " Generated by src/libpspp/automake.mk --- Do not edit.">> $@
119 echo " The following line is for the benefit of the perl module" >>$@
120 echo "\$$VERSION='$(VERSION_FOR_PERL)';" >> $@
122 echo "#include \"version.h\"" >> $@
123 echo "const char bare_version[] = \"$(VERSION)\";" >> $@
124 echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@
125 echo "const char stat_version[] = \"GNU $(PACKAGE) $(VERSION) \
126 (`LC_ALL=C TZ=UTC date`).\";" >> $@
127 echo "const char host_system[] = \"$(host_triplet)\";" >> $@
128 echo "const char build_system[] = \"$(build_triplet)\";" >> $@
129 echo "const char locale_dir[] = \"$(datadir)/locale\";" >> $@
130 echo "const char *const authors[] = {" >> $@
131 sed -e 's/^/ \"/' -e 's/$$/\",/' $(top_srcdir)/AUTHORS >> $@
135 EXTRA_DIST += src/libpspp/OChangeLog