gui: Fix behavior of print preview in psppire-output-window.
[pspp] / src / libpspp / automake.mk
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3
4 noinst_LTLIBRARIES += src/libpspp/libpspp.la
5
6 src_libpspp_libpspp_la_SOURCES = \
7         src/libpspp/abt.c \
8         src/libpspp/abt.h \
9         src/libpspp/argv-parser.c \
10         src/libpspp/argv-parser.h \
11         src/libpspp/array.c \
12         src/libpspp/array.h \
13         src/libpspp/assertion.h \
14         src/libpspp/bit-vector.h \
15         src/libpspp/bt.c \
16         src/libpspp/bt.h \
17         src/libpspp/cast.h \
18         src/libpspp/compiler.h \
19         src/libpspp/copyleft.c \
20         src/libpspp/copyleft.h \
21         src/libpspp/deque.c \
22         src/libpspp/deque.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 \
35         src/libpspp/heap.c \
36         src/libpspp/heap.h \
37         src/libpspp/hmap.c \
38         src/libpspp/hmap.h \
39         src/libpspp/hmapx.c \
40         src/libpspp/hmapx.h \
41         src/libpspp/i18n.c \
42         src/libpspp/i18n.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/ll.c \
48         src/libpspp/ll.h \
49         src/libpspp/llx.c \
50         src/libpspp/llx.h \
51         src/libpspp/message.c \
52         src/libpspp/message.h \
53         src/libpspp/misc.c \
54         src/libpspp/misc.h \
55         src/libpspp/model-checker.c \
56         src/libpspp/model-checker.h \
57         src/libpspp/pool.c \
58         src/libpspp/pool.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 \
81         src/libpspp/str.c \
82         src/libpspp/str.h \
83         src/libpspp/taint.c \
84         src/libpspp/taint.h \
85         src/libpspp/temp-file.c \
86         src/libpspp/temp-file.h \
87         src/libpspp/tower.c \
88         src/libpspp/tower.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
97
98 DISTCLEANFILES+=src/libpspp/version.c
99
100 src_libpspp_libpspp_la_CPPFLAGS = -I $(top_srcdir)/src/libpspp $(AM_CPPFLAGS)
101
102 nodist_src_libpspp_libpspp_la_SOURCES = src/libpspp/version.c
103
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.">> $@
108         echo "" >> $@
109         echo "   The following line is for the benefit of the perl module" >>$@
110         echo "\$$VERSION='$(VERSION_FOR_PERL)';" >> $@
111         echo "*/" >> $@
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) \
116 (`date`).\";" >> $@
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 >> $@
122         echo "0 };" >> $@
123
124
125 EXTRA_DIST += src/libpspp/OChangeLog