Move definition of UI_FILES out of HAVE_GUI.
[pspp-builds.git] / src / ui / automake.mk
index e1915b283f666bc45dfadb3edc19c3b68131f920..a4eeebf11cb48e50b639928d26abad1e2a1b0381 100644 (file)
@@ -1,13 +1,14 @@
 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
 
 include $(top_srcdir)/src/ui/terminal/automake.mk
-if WITHGUI
 include $(top_srcdir)/src/ui/gui/automake.mk
-endif
 
 
-noinst_LIBRARIES += src/ui/libuicommon.a
+noinst_LTLIBRARIES += src/ui/libuicommon.la
 
-src_ui_libuicommon_a_SOURCES = \
-       src/ui/debugger.c \
-       src/ui/debugger.h
+src_ui_libuicommon_la_SOURCES = \
+       src/ui/debugger.c src/ui/debugger.h \
+       src/ui/source-init-opts.c src/ui/source-init-opts.h \
+       src/ui/syntax-gen.c src/ui/syntax-gen.h
+
+EXTRA_DIST += src/ui/OChangeLog