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/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 \
47 src/libpspp/line-reader.c \
48 src/libpspp/line-reader.h \
53 src/libpspp/message.c \
54 src/libpspp/message.h \
57 src/libpspp/model-checker.c \
58 src/libpspp/model-checker.h \
61 src/libpspp/prompt.c \
62 src/libpspp/prompt.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/range-tower.c \
68 src/libpspp/range-tower.h \
69 src/libpspp/sparse-array.c \
70 src/libpspp/sparse-array.h \
71 src/libpspp/sparse-xarray.c \
72 src/libpspp/sparse-xarray.h \
73 src/libpspp/start-date.c \
74 src/libpspp/start-date.h \
75 src/libpspp/string-array.c \
76 src/libpspp/string-array.h \
77 src/libpspp/string-map.c \
78 src/libpspp/string-map.h \
79 src/libpspp/string-set.c \
80 src/libpspp/string-set.h \
81 src/libpspp/stringi-map.c \
82 src/libpspp/stringi-map.h \
83 src/libpspp/stringi-set.c \
84 src/libpspp/stringi-set.h \
89 src/libpspp/temp-file.c \
90 src/libpspp/temp-file.h \
93 src/libpspp/u8-istream.c \
94 src/libpspp/u8-istream.h \
95 src/libpspp/version.h \
96 src/libpspp/zip-private.h \
97 src/libpspp/zip-reader.c \
98 src/libpspp/zip-reader.h \
99 src/libpspp/zip-writer.c \
100 src/libpspp/zip-writer.h
102 DISTCLEANFILES+=src/libpspp/version.c
104 src_libpspp_liblibpspp_la_CPPFLAGS = \
105 -I $(top_srcdir)/src/libpspp \
108 nodist_src_libpspp_liblibpspp_la_SOURCES = src/libpspp/version.c
110 src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
111 @$(MKDIR_P) src/libpspp
112 echo "/* -*- mode: c; buffer-read-only: t -*-" > $@
113 echo " Generated by src/libpspp/automake.mk --- Do not edit.">> $@
115 echo " The following line is for the benefit of the perl module" >>$@
116 echo "\$$VERSION='$(VERSION_FOR_PERL)';" >> $@
118 echo "#include \"version.h\"" >> $@
119 echo "const char bare_version[] = \"$(VERSION)\";" >> $@
120 echo "const char version[] = \"GNU $(PACKAGE) $(VERSION)\";" >> $@
121 echo "const char stat_version[] = \"GNU $(PACKAGE) $(VERSION) \
123 echo "const char host_system[] = \"$(host_triplet)\";" >> $@
124 echo "const char build_system[] = \"$(build_triplet)\";" >> $@
125 echo "const char locale_dir[] = \"$(datadir)/locale\";" >> $@
126 echo "const char *const authors[] = {" >> $@
127 sed -e 's/^/ \"/' -e 's/$$/\",/' $(top_srcdir)/AUTHORS >> $@
131 EXTRA_DIST += src/libpspp/OChangeLog