better tests
[pspp] / src / data / automake.mk
1 # PSPP - a program for statistical analysis.
2 # Copyright (C) 2017 Free Software Foundation, Inc.
3 #
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 #
17 noinst_LTLIBRARIES += src/data/libdata.la
18
19 src_data_libdata_la_CPPFLAGS = $(LIBXML2_CFLAGS) $(PG_CFLAGS) $(AM_CPPFLAGS)
20
21 src_data_libdata_la_LIBADD =   $(LIBXML2_LIBS) $(PG_LIBS)
22
23 src_data_libdata_la_SOURCES = \
24         src/data/any-reader.c \
25         src/data/any-reader.h \
26         src/data/any-writer.c \
27         src/data/any-writer.h \
28         src/data/attributes.c \
29         src/data/attributes.h \
30         src/data/calendar.c \
31         src/data/calendar.h \
32         src/data/case-map.c \
33         src/data/case-map.h \
34         src/data/case-matcher.c \
35         src/data/case-matcher.h \
36         src/data/caseproto.c \
37         src/data/caseproto.h \
38         src/data/case.c \
39         src/data/casegrouper.c \
40         src/data/casegrouper.h \
41         src/data/caseinit.c \
42         src/data/caseinit.h \
43         src/data/casereader-filter.c \
44         src/data/casereader-project.c \
45         src/data/casereader-provider.h \
46         src/data/casereader-select.c \
47         src/data/casereader-shim.c \
48         src/data/casereader-shim.h \
49         src/data/casereader-translator.c \
50         src/data/casereader.c \
51         src/data/casereader.h \
52         src/data/casewindow.c \
53         src/data/casewindow.h \
54         src/data/casewriter-provider.h \
55         src/data/casewriter-translator.c \
56         src/data/casewriter.c \
57         src/data/casewriter.h \
58         src/data/case.h \
59         src/data/case-tmpfile.c \
60         src/data/case-tmpfile.h \
61         src/data/csv-file-writer.c \
62         src/data/csv-file-writer.h \
63         src/data/data-in.c \
64         src/data/data-in.h \
65         src/data/data-out.c \
66         src/data/data-out.h \
67         src/data/dataset.c \
68         src/data/dataset.h \
69         src/data/dataset-writer.c \
70         src/data/dataset-writer.h \
71         src/data/datasheet.c \
72         src/data/datasheet.h \
73         src/data/dict-class.c \
74         src/data/dict-class.h \
75         src/data/dictionary.c \
76         src/data/dictionary.h \
77         src/data/encrypted-file.c \
78         src/data/encrypted-file.h \
79         src/data/file-handle-def.c \
80         src/data/file-handle-def.h \
81         src/data/file-name.c \
82         src/data/file-name.h \
83         src/data/format-guesser.c \
84         src/data/format-guesser.h \
85         src/data/format.c \
86         src/data/format.h \
87         src/data/format.def \
88         src/data/gnumeric-reader.c \
89         src/data/gnumeric-reader.h \
90         src/data/identifier.c \
91         src/data/identifier2.c \
92         src/data/identifier.h \
93         src/data/lazy-casereader.c \
94         src/data/lazy-casereader.h \
95         src/data/mdd-writer.c \
96         src/data/mdd-writer.h \
97         src/data/missing-values.c \
98         src/data/missing-values.h \
99         src/data/make-file.c \
100         src/data/make-file.h \
101         src/data/mrset.c \
102         src/data/mrset.h \
103         src/data/ods-reader.c \
104         src/data/ods-reader.h \
105         src/data/pc+-file-reader.c \
106         src/data/por-file-reader.c \
107         src/data/por-file-writer.c \
108         src/data/por-file-writer.h \
109         src/data/psql-reader.c \
110         src/data/psql-reader.h \
111         src/data/session.c \
112         src/data/session.h \
113         src/data/settings.c \
114         src/data/settings.h \
115         src/data/short-names.c \
116         src/data/short-names.h \
117         src/data/spreadsheet-reader.c \
118         src/data/spreadsheet-reader.h \
119         src/data/subcase.c \
120         src/data/subcase.h \
121         src/data/sys-file-private.c \
122         src/data/sys-file-private.h \
123         src/data/sys-file-reader.c \
124         src/data/sys-file-writer.c \
125         src/data/sys-file-writer.h \
126         src/data/transformations.c \
127         src/data/transformations.h \
128         src/data/val-type.h \
129         src/data/value.c \
130         src/data/value.h \
131         src/data/value-labels.c \
132         src/data/value-labels.h \
133         src/data/vardict.h \
134         src/data/variable.h \
135         src/data/variable.c \
136         src/data/vector.c \
137         src/data/vector.h
138
139 nodist_src_data_libdata_la_SOURCES = src/data/sys-file-encoding.c
140 src/data/sys-file-encoding.c: \
141         src/data/sys-file-encoding.py \
142         src/data/convrtrs.txt
143         $(AM_V_GEN)$(PYTHON3) $^ > $@.tmp && mv $@.tmp $@
144 EXTRA_DIST += src/data/sys-file-encoding.py src/data/convrtrs.txt