work on docs
[pspp] / src / language / automake.mk
index e1aed86a858f57afae8e31f4e64ba87a21ad0399..0cf8cc0010ac7a51a015bf855e18b84acd75bf3c 100644 (file)
@@ -1,3 +1,19 @@
+# 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/lexer/automake.mk
@@ -10,12 +26,27 @@ 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_xforms_sources) \
+       $(language_control_sources) \
+       $(language_dictionary_sources) \
+       $(language_tests_sources) \
+       $(language_utilities_sources) \
+       $(language_stats_sources) \
+       $(language_data_io_sources) \
+       $(language_expressions_sources)
+
 
+nodist_src_language_liblanguage_la_SOURCES = \
+       $(src_language_data_io_built_sources) \
+       $(src_language_utilities_built_sources) \
+       $(src_language_stats_built_sources)  \
+       $(language_tests_built_sources) \
+       $(expressions_built_sources)