Clean up how transformations work.
[pspp] / src / language / control / automake.mk
index 1f61d5a8724d34601172847ab03f31dbab47e26e..38ecf683644e50e40ed01252fe6d594fe3b4b5cf 100644 (file)
@@ -1,19 +1,25 @@
+# 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 -*-
 
 
-src/language/control/%: AM_CPPFLAGS += -I$(top_srcdir)/src/libpspp \
- -I$(top_srcdir)/src/data \
- -I$(top_srcdir)/src/language \
- -I$(top_srcdir)/src/language/lexer
-
-noinst_LIBRARIES += src/language/control/libcontrol.a
-
-src_language_control_libcontrol_a_SOURCES = \
-       src/language/control/control-stack.c \
-       src/language/control/control-stack.h \
+language_control_sources = \
+       src/language/control/define.c \
        src/language/control/do-if.c \
        src/language/control/loop.c \
-       src/language/control/temporary.c \
        src/language/control/repeat.c \
-       src/language/control/repeat.h
-
+       src/language/control/temporary.c