Move definition of UI_FILES out of HAVE_GUI.
[pspp] / src / ui / gui / sheet / automake.mk
index 640f02e09a0c8c4391a18989ffe5d396750f23f0..1043a5736b2f0defb62347befc6fe669dc441d1b 100644 (file)
@@ -1,5 +1,6 @@
 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
 
+if HAVE_GUI
 noinst_LTLIBRARIES += src/ui/gui/sheet/libsheet.la
 
 src_ui_gui_sheet_libsheet_la_CFLAGS = $(GTK_CFLAGS)
@@ -7,8 +8,6 @@ src_ui_gui_sheet_libsheet_la_CFLAGS = $(GTK_CFLAGS)
 src_ui_gui_sheet_libsheet_la_SOURCES = \
        src/ui/gui/sheet/psppire-axis.c \
        src/ui/gui/sheet/psppire-axis.h \
-       src/ui/gui/sheet/psppire-axis-impl.c \
-       src/ui/gui/sheet/psppire-axis-impl.h \
        src/ui/gui/sheet/psppire-sheetmodel.c \
        src/ui/gui/sheet/psppire-sheetmodel.h
-
+endif