Update to newest gnulib.
[pspp] / src / ui / terminal / automake.mk
index 5ab098577a57f015040543faf7387960ab46a8cd..936be197e5d1268ebe0de5aba58d337db4b9d03d 100644 (file)
@@ -1,20 +1,31 @@
+# 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 -*-
 
 noinst_LTLIBRARIES += src/ui/terminal/libui.la
 
 src_ui_terminal_libui_la_SOURCES = \
-       src/ui/terminal/read-line.c \
-       src/ui/terminal/read-line.h \
        src/ui/terminal/main.c \
-       src/ui/terminal/msg-ui.c \
-       src/ui/terminal/msg-ui.h \
-       src/ui/terminal/terminal.c \
-       src/ui/terminal/terminal.h \
        src/ui/terminal/terminal-opts.c \
-       src/ui/terminal/terminal-opts.h 
+       src/ui/terminal/terminal-opts.h \
+       src/ui/terminal/terminal-reader.c \
+       src/ui/terminal/terminal-reader.h
 
-
-src_ui_terminal_libui_la_CFLAGS = -DINSTALLDIR=\"$(bindir)\" $(NCURSES_CFLAGS)
+src_ui_terminal_libui_la_CFLAGS = $(NCURSES_CFLAGS)
 
 bin_PROGRAMS += src/ui/terminal/pspp
 
@@ -25,9 +36,11 @@ src_ui_terminal_pspp_LDADD = \
        src/ui/libuicommon.la \
        src/libpspp.la \
        src/libpspp-core.la \
+       $(CAIRO_LIBS) \
        $(NCURSES_LIBS) \
-       $(LIBICONV) \
-       @LIBINTL@ @LIBREADLINE@
+       $(LTLIBREADLINE) \
+       $(GSL_LIBS) \
+       $(LIB_GETRANDOM)
 
 
 src_ui_terminal_pspp_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS)
@@ -35,5 +48,3 @@ src_ui_terminal_pspp_LDFLAGS = $(PSPP_LDFLAGS) $(PG_LDFLAGS)
 if RELOCATABLE_VIA_LD
 src_ui_terminal_pspp_LDFLAGS += `$(RELOCATABLE_LDFLAGS) $(bindir)`
 endif
-
-EXTRA_DIST += src/ui/terminal/OChangeLog