Move definition of UI_FILES out of HAVE_GUI.
[pspp] / src / ui / gui / sheet / automake.mk
index b95de451a1cc03380e1dc38a9b864bc393650bb7..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)
@@ -9,4 +10,4 @@ src_ui_gui_sheet_libsheet_la_SOURCES = \
        src/ui/gui/sheet/psppire-axis.h \
        src/ui/gui/sheet/psppire-sheetmodel.c \
        src/ui/gui/sheet/psppire-sheetmodel.h
-
+endif