Move definition of UI_FILES out of HAVE_GUI.
[pspp] / src / ui / automake.mk
index 044c293c5424509d760667979b7ad2fef357d5a0..a4eeebf11cb48e50b639928d26abad1e2a1b0381 100644 (file)
@@ -1,17 +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/syntax-gen.c \
-       src/ui/syntax-gen.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