1 # PSPP - a program for statistical analysis.
2 # Copyright (C) 2017 Free Software Foundation, Inc.
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.
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.
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/>.
17 noinst_LTLIBRARIES += src/data/libdata.la
19 src_data_libdata_la_CPPFLAGS = $(LIBXML2_CFLAGS) $(PG_CFLAGS) $(AM_CPPFLAGS)
21 src_data_libdata_la_LIBADD = $(LIBXML2_LIBS) $(PG_LIBS)
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 \
34 src/data/case-matcher.c \
35 src/data/case-matcher.h \
36 src/data/caseproto.c \
37 src/data/caseproto.h \
39 src/data/casegrouper.c \
40 src/data/casegrouper.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 \
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 \
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 \
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 \
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 \
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 \
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 \
131 src/data/value-labels.c \
132 src/data/value-labels.h \
134 src/data/variable.h \
135 src/data/variable.c \
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