gui: Allow File|Open to select an encoding for system files.
[pspp] / src / libpspp / automake.mk
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3
4 noinst_LTLIBRARIES += src/libpspp/liblibpspp.la
5
6 src_libpspp_liblibpspp_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/cmac-aes256.c \
19         src/libpspp/cmac-aes256.h \
20         src/libpspp/compiler.h \
21         src/libpspp/copyleft.c \
22         src/libpspp/copyleft.h \
23         src/libpspp/deque.c \
24         src/libpspp/deque.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 \
37         src/libpspp/heap.c \
38         src/libpspp/heap.h \
39         src/libpspp/hmap.c \
40         src/libpspp/hmap.h \
41         src/libpspp/hmapx.c \
42         src/libpspp/hmapx.h \
43         src/libpspp/i18n.c \
44         src/libpspp/i18n.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 \
51         src/libpspp/ll.c \
52         src/libpspp/ll.h \
53         src/libpspp/llx.c \
54         src/libpspp/llx.h \
55         src/libpspp/message.c \
56         src/libpspp/message.h \
57         src/libpspp/misc.c \
58         src/libpspp/misc.h \
59         src/libpspp/model-checker.c \
60         src/libpspp/model-checker.h \
61         src/libpspp/pool.c \
62         src/libpspp/pool.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 \
87         src/libpspp/str.c \
88         src/libpspp/str.h \
89         src/libpspp/taint.c \
90         src/libpspp/taint.h \
91         src/libpspp/temp-file.c \
92         src/libpspp/temp-file.h \
93         src/libpspp/tower.c \
94         src/libpspp/tower.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
105
106 DISTCLEANFILES+=src/libpspp/version.c
107
108 src_libpspp_liblibpspp_la_CPPFLAGS = \
109         -I $(top_srcdir)/src/libpspp \
110         $(AM_CPPFLAGS)
111
112 nodist_src_libpspp_liblibpspp_la_SOURCES = src/libpspp/version.c
113
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.">> $@
118         echo "" >> $@
119         echo "   The following line is for the benefit of the perl module" >>$@
120         echo "\$$VERSION='$(VERSION_FOR_PERL)';" >> $@
121         echo "*/" >> $@
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 >> $@
132         echo "0 };" >> $@
133
134
135 EXTRA_DIST += src/libpspp/OChangeLog