forked from AuroraMiddleware/gtk
723b588b5d
This merged gtk, gdk and gsk into one library, making it possible to have internal private APIs between gtk them, as well as producing more efficient code. https://bugzilla.gnome.org/show_bug.cgi?id=773100
40 lines
756 B
Makefile
40 lines
756 B
Makefile
include $(top_srcdir)/Makefile.decl
|
|
|
|
NULL=
|
|
|
|
noinst_PROGRAMS = $(TEST_PROGS)
|
|
|
|
AM_CPPFLAGS = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gsk \
|
|
-I$(top_srcdir)/gsk \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
LDADD = $(GTK_DEP_LIBS)
|
|
|
|
TEST_PROGS += \
|
|
$(NULL)
|
|
|
|
if BUILDOPT_INSTALL_TESTS
|
|
insttestdir=$(pkglibexecdir)/installed-tests
|
|
insttest_PROGRAMS = $(TEST_PROGS)
|
|
|
|
%.test: %$(EXEEXT) Makefile
|
|
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
|
echo 'Type=session' >> $@.tmp; \
|
|
echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
|
|
mv $@.tmp $@)
|
|
|
|
test_files = $(TEST_PROGRS:=.test)
|
|
|
|
DISTCLEANFILES = $(test_files)
|
|
|
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
|
testmeta_DATA = $(test_files)
|
|
endif
|
|
|
|
-include $(top_srcdir)/git.mk
|