aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-31 05:04:50 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-01-31 05:04:50 +0100
commitea0179e342343f5fbefb265bde4dea0d475f0781 (patch)
tree70af3013fe80707c802e88cae93bb5d504da2f55 /src/interface-gtk/Makefile.am
parent2951f147ad24737e2c40a5fa4ace611a9b3fb829 (diff)
downloadsciteco-ea0179e342343f5fbefb265bde4dea0d475f0781.tar.gz
interfaces have their own automake subdirectories and convenience libraries now
* use libtool convenience libraries as much as possible (for all static libraries except Scintilla) * improves separation of language and user interface implementations (e.g. the Gtk widgets are not interesting for the rest of SciTECO) * the Curses popup widget can now be factored out of interface-curses.cpp * some common CPPFLAGS are now defined by ./configure via AM_CPPFLAGS, so they don't have to be repeated in each submodule. * fixed building the Curses UI: GTK_FLOW_BOX_FALLBACK conditional must always be defined.
Diffstat (limited to 'src/interface-gtk/Makefile.am')
-rw-r--r--src/interface-gtk/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/interface-gtk/Makefile.am b/src/interface-gtk/Makefile.am
new file mode 100644
index 0000000..64b4625
--- /dev/null
+++ b/src/interface-gtk/Makefile.am
@@ -0,0 +1,23 @@
+AM_CPPFLAGS += -I$(top_srcdir)/src
+
+AM_CFLAGS = -Wall -std=c99
+AM_CXXFLAGS = -Wall -Wno-char-subscripts
+if CLANG
+AM_CXXFLAGS += -Wno-mismatched-tags
+endif
+
+EXTRA_DIST = gtk-info-popup.gob
+BUILT_SOURCES = gtk-info-popup.c \
+ gtk-info-popup.h gtk-info-popup-private.h
+
+noinst_LTLIBRARIES = libsciteco-interface.la
+libsciteco_interface_la_SOURCES = interface-gtk.cpp interface-gtk.h
+if GTK_FLOW_BOX_FALLBACK
+libsciteco_interface_la_SOURCES += gtkflowbox.c gtkflowbox.h
+endif
+nodist_libsciteco_interface_la_SOURCES = gtk-info-popup.c
+
+CLEANFILES = $(BUILT_SOURCES)
+
+%.c %.h %-private.h : %.gob
+ @GOB2@ --gtk3 $<