data-out: Make binary output buffer big enough for a null terminator.
[pspp] / src / language / automake.mk
index 6a2d5e5bc91e0252d12e2c1df13582882ab51881..4bde0f94f3eb0b3ef3af8dc5c5fd4ca738dec830 100644 (file)
@@ -1,22 +1,37 @@
+# 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 <http://www.gnu.org/licenses/>.
+#
 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
 
+include $(top_srcdir)/src/language/commands/automake.mk
+include $(top_srcdir)/src/language/expressions/automake.mk
 include $(top_srcdir)/src/language/lexer/automake.mk
-include $(top_srcdir)/src/language/xforms/automake.mk
-include $(top_srcdir)/src/language/control/automake.mk
-include $(top_srcdir)/src/language/dictionary/automake.mk
 include $(top_srcdir)/src/language/tests/automake.mk
-include $(top_srcdir)/src/language/utilities/automake.mk
-include $(top_srcdir)/src/language/stats/automake.mk
-include $(top_srcdir)/src/language/data-io/automake.mk
-include $(top_srcdir)/src/language/expressions/automake.mk
 
-noinst_LIBRARIES += src/language/liblanguage.a 
+noinst_LTLIBRARIES +=  src/language/liblanguage.la
+
 
-src_language_liblanguage_a_SOURCES = \
-       src/language/line-buffer.c \
-       src/language/line-buffer.h \
+src_language_liblanguage_la_SOURCES = \
        src/language/command.c \
        src/language/command.h \
-       src/language/command.def 
+       src/language/command.def \
+       $(language_lexer_sources) \
+       $(language_commands_sources) \
+       $(language_tests_sources) \
+       $(language_expressions_sources)
 
-       
+nodist_src_language_liblanguage_la_SOURCES = \
+       $(expressions_built_sources)