Makefile.am 712 Bytes
Newer Older
1 2
GTK_CFLAGS =	 				\
	-I$(top_srcdir)				\
Matthias Clasen's avatar
Matthias Clasen committed
3 4
	$(GTK_DEP_CFLAGS)

5 6 7
GTK_LIBS = 					\
        $(top_builddir)/gtk/libgtk-3.la 	\
        $(top_builddir)/gdk/libgdk-3.la 	\
Matthias Clasen's avatar
Matthias Clasen committed
8 9 10 11 12
        $(GTK_DEP_LIBS)


noinst_PROGRAMS = exampleapp

13 14 15 16 17 18
exampleapp_CFLAGS = $(GTK_CFLAGS)
exampleapp_LDADD = $(GTK_LIBS)
exampleapp_SOURCES = 				\
	main.c 					\
	exampleapp.c exampleapp.h 		\
	exampleappwin.c exampleappwin.h 	\
Matthias Clasen's avatar
Matthias Clasen committed
19 20 21 22 23 24 25 26
	resources.c

BUILT_SOURCES = resources.c

resources.c: exampleapp.gresource.xml window.ui
	$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
		--target=$@ --sourcedir=$(srcdir) --generate-source

27 28
EXTRA_DIST = 					\
	window.ui 				\
Matthias Clasen's avatar
Matthias Clasen committed
29
	exampleapp.gresource.xml
Jasper St. Pierre's avatar
Jasper St. Pierre committed
30 31

-include $(top_srcdir)/git.mk