summaryrefslogtreecommitdiff
path: root/examples/application7/Makefile.am
blob: fd668eadb8044a8f07b781e1f49e292727d6c06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
AM_CPPFLAGS = \
	-I$(top_srcdir)			\
	-I$(top_srcdir)/gdk		\
	-I$(top_builddir)/gdk		\
	$(GTK_DEBUG_FLAGS)		\
	$(GTK_DEP_CFLAGS)

LDADD = \
        $(top_builddir)/gtk/libgtk-3.la \
        $(top_builddir)/gdk/libgdk-3.la \
        $(GTK_DEP_LIBS)


noinst_PROGRAMS = exampleapp

exampleapp_SOURCES = \
	main.c \
	exampleapp.c exampleapp.h \
	exampleappwin.c exampleappwin.h \
	exampleappprefs.c exampleappprefs.h \
	resources.c

BUILT_SOURCES = \
	resources.c \
	gschemas.compiled

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

gsettings_SCHEMAS = \
	org.gtk.exampleapp.gschema.xml

@GSETTINGS_RULES@

gschemas.compiled: org.gtk.exampleapp.gschema.xml
	$(GLIB_COMPILE_SCHEMAS) .

EXTRA_DIST = \
	window.ui \
	app-menu.ui \
	prefs.ui \
	exampleapp.gresource.xml \
	org.gtk.exampleapp.gschema.xml

CLEANFILES = \
	gschemas.compiled

-include $(top_srcdir)/git.mk