X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fautomake.mk;h=d7216667842caeef9f71c94d05eb71bbb56b340a;hb=de786d64f39e8d8c7a3b1d86fbd88ec2d6d19fa6;hp=1572eea83e9a51fca409f2194aefd2015737415c;hpb=691a034d7f2139076fa012739dffd40ef5db4a9b;p=pspp diff --git a/src/data/automake.mk b/src/data/automake.mk index 1572eea83e..d721666784 100644 --- a/src/data/automake.mk +++ b/src/data/automake.mk @@ -1,22 +1,22 @@ # PSPP - a program for statistical analysis. # Copyright (C) 2017 Free Software Foundation, Inc. -# +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# +# noinst_LTLIBRARIES += src/data/libdata.la -src_data_libdata_la_CPPFLAGS = $(LIBXML2_CFLAGS) $(PG_CFLAGS) $(AM_CPPFLAGS) +src_data_libdata_la_CPPFLAGS = $(LIBXML2_CFLAGS) $(PG_CFLAGS) $(AM_CPPFLAGS) src_data_libdata_la_LIBADD = $(LIBXML2_LIBS) $(PG_LIBS) @@ -92,6 +92,8 @@ src_data_libdata_la_SOURCES = \ src/data/identifier.h \ src/data/lazy-casereader.c \ src/data/lazy-casereader.h \ + src/data/mdd-writer.c \ + src/data/mdd-writer.h \ src/data/missing-values.c \ src/data/missing-values.h \ src/data/make-file.c \ @@ -116,7 +118,6 @@ src_data_libdata_la_SOURCES = \ src/data/spreadsheet-reader.h \ src/data/subcase.c \ src/data/subcase.h \ - src/data/sys-file-encoding.c \ src/data/sys-file-private.c \ src/data/sys-file-private.h \ src/data/sys-file-reader.c \ @@ -135,4 +136,9 @@ src_data_libdata_la_SOURCES = \ src/data/vector.c \ src/data/vector.h -EXTRA_DIST += src/data/sys-file-encoding.pl +nodist_src_data_libdata_la_SOURCES = src/data/sys-file-encoding.c +src/data/sys-file-encoding.c: \ + src/data/sys-file-encoding.py \ + src/data/convrtrs.txt + $(AM_V_GEN)$(PYTHON3) $^ > $@.tmp && mv $@.tmp $@ +EXTRA_DIST += src/data/sys-file-encoding.py src/data/convrtrs.txt