tests/Makefile.am
authorPhilip Chimento <philip.chimento@gmail.com>
Sat, 23 May 2009 21:40:16 +0000 (21:40 +0000)
committerPhilip Chimento <philip.chimento@gmail.com>
Sat, 23 May 2009 21:40:16 +0000 (21:40 +0000)
git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@76 ddfedd41-794f-dd11-ae45-00112f111e67

tests/Makefile.am [new file with mode: 0644]

diff --git a/tests/Makefile.am b/tests/Makefile.am
new file mode 100644 (file)
index 0000000..a5fffc5
--- /dev/null
@@ -0,0 +1,38 @@
+AM_CFLAGS = -Wall
+
+data_DATA = chimara.ui
+
+noinst_PROGRAMS = test-chimara
+
+test_chimara_SOURCES = main.c callbacks.c callbacks.h error.c error.h
+test_chimara_CPPFLAGS = \
+       -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+       -DPACKAGE_SRC_DIR=\""$(srcdir)"\" \
+       -DPACKAGE_DATA_DIR=\""$(datadir)"\"
+test_chimara_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
+test_chimara_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
+
+pkglib_LTLIBRARIES = first.la model.la gridtest.la splittest.la multiwin.la
+PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk_main$$"
+
+first_la_SOURCES = first.c
+first_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
+
+model_la_SOURCES = model.c
+model_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
+
+gridtest_la_SOURCES = gridtest.c
+gridtest_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
+
+splittest_la_SOURCES = splittest.c
+splittest_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
+
+multiwin_la_SOURCES = multiwin.c
+multiwin_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
+
+CLEANFILES = chimara.ui
+
+chimara.ui: chimara.glade
+       gtk-builder-convert $< $@
+
+EXTRA_DIST = chimara.glade