Added src/ui/terminal/automake.mk and src/ui/gui/automake.mk
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 Mar 2006 01:18:14 +0000 (01:18 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 Mar 2006 01:18:14 +0000 (01:18 +0000)
src/ui/gui/automake.mk [new file with mode: 0644]
src/ui/terminal/automake.mk [new file with mode: 0644]

diff --git a/src/ui/gui/automake.mk b/src/ui/gui/automake.mk
new file mode 100644 (file)
index 0000000..511bfa2
--- /dev/null
@@ -0,0 +1,63 @@
+## Process this file with automake to produce Makefile.in  -*- makefile -*-
+
+bin_PROGRAMS += src/ui/gui/psppire
+
+src/ui/gui/%: AM_CPPFLAGS = \
+       -export-dynamic \
+       -I$(top_srcdir)/gl \
+       -I$(top_srcdir)/lib/gtksheet \
+       -I$(top_srcdir)/src/ui/gui \
+       -I$(top_srcdir)/src/data \
+       -I$(top_srcdir)/src/libpspp
+
+
+src/ui/gui/%: AM_CFLAGS = $(GTK_CFLAGS) $(GLADE_CFLAGS) -Wall
+
+src_ui_gui_psppire_LDFLAGS = \
+       -export-dynamic 
+
+src_ui_gui_psppire_LDADD = \
+       $(GTK_LIBS) \
+       $(GLADE_LIBS) \
+       -lgtksheet -L$(top_builddir)/lib/gtksheet \
+       -ldata -L$(top_builddir)/src/data \
+       -lpspp -L$(top_builddir)/src/libpspp \
+        -lgl -L$(top_builddir)/gl    \
+        @LIBINTL@ @LIBREADLINE@
+
+
+src_ui_gui_psppire_SOURCES = \
+       src/ui/gui/customentry.c \
+       src/ui/gui/customentry.h \
+       src/ui/gui/data-sheet.c \
+       src/ui/gui/data-sheet.h \
+       src/ui/gui/message-dialog.c \
+       src/ui/gui/message-dialog.h \
+       src/ui/gui/psppire.c \
+       src/ui/gui/menu-actions.c \
+       src/ui/gui/menu-actions.h \
+       src/ui/gui/helper.c \
+       src/ui/gui/helper.h \
+       src/ui/gui/missing-val-dialog.c \
+       src/ui/gui/missing-val-dialog.h \
+       src/ui/gui/psppire-case-array.c \
+       src/ui/gui/psppire-case-array.h \
+       src/ui/gui/psppire-data-store.c \
+       src/ui/gui/psppire-data-store.h \
+       src/ui/gui/psppire-dict.c \
+       src/ui/gui/psppire-dict.h \
+       src/ui/gui/psppire-object.c \
+       src/ui/gui/psppire-object.h \
+       src/ui/gui/psppire-variable.c \
+       src/ui/gui/psppire-variable.h \
+       src/ui/gui/psppire-var-store.c \
+       src/ui/gui/psppire-var-store.h \
+       src/ui/gui/val-labs-dialog.c \
+       src/ui/gui/val-labs-dialog.h \
+       src/ui/gui/var-sheet.c \
+       src/ui/gui/var-sheet.h \
+       src/ui/gui/var-type-dialog.c \
+       src/ui/gui/var-type-dialog.h 
+
+
+
diff --git a/src/ui/terminal/automake.mk b/src/ui/terminal/automake.mk
new file mode 100644 (file)
index 0000000..18233dd
--- /dev/null
@@ -0,0 +1,17 @@
+## Process this file with automake to produce Makefile.in  -*- makefile -*-
+
+src/ui/terminal/%: AM_CPPFLAGS += \
+       -I$(top_srcdir)/src/libpspp \
+       -I$(top_srcdir)/src/data \
+       -I$(top_srcdir)/src/math \
+       -I$(top_srcdir)/src/language \
+       -I$(top_srcdir)/src/language/lexer \
+       -I$(top_srcdir)/src/output/charts \
+       -I$(top_srcdir)/src/output
+
+noinst_LIBRARIES += src/ui/terminal/libui.a
+
+src_ui_terminal_libui_a_SOURCES = \
+ src/ui/terminal/command-line.c src/ui/terminal/command-line.h \
+ src/ui/terminal/read-line.c src/ui/terminal/read-line.h  \
+ src/ui/terminal/main.c