2014-11-29 05:26:52 +00:00
|
|
|
GTK_CFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
2013-11-16 21:09:56 +00:00
|
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
|
2014-11-29 05:26:52 +00:00
|
|
|
GTK_LIBS = \
|
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
|
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
2013-11-16 21:09:56 +00:00
|
|
|
$(GTK_DEP_LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
noinst_PROGRAMS = exampleapp
|
|
|
|
|
2014-11-29 05:26:52 +00:00
|
|
|
exampleapp_CFLAGS = $(GTK_CFLAGS)
|
|
|
|
exampleapp_LDADD = $(GTK_LIBS)
|
|
|
|
exampleapp_SOURCES = \
|
|
|
|
main.c \
|
|
|
|
exampleapp.c exampleapp.h \
|
|
|
|
exampleappwin.c exampleappwin.h \
|
|
|
|
exampleappprefs.c exampleappprefs.h \
|
2013-11-16 21:09:56 +00:00
|
|
|
resources.c
|
|
|
|
|
2014-11-29 05:26:52 +00:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
resources.c \
|
2013-11-16 21:09:56 +00:00
|
|
|
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
|
|
|
|
|
2014-11-29 05:26:52 +00:00
|
|
|
gsettings_SCHEMAS = \
|
2013-11-16 21:09:56 +00:00
|
|
|
org.gtk.exampleapp.gschema.xml
|
|
|
|
|
|
|
|
@GSETTINGS_RULES@
|
|
|
|
|
|
|
|
gschemas.compiled: org.gtk.exampleapp.gschema.xml
|
|
|
|
$(GLIB_COMPILE_SCHEMAS) .
|
|
|
|
|
2014-11-29 05:26:52 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
window.ui \
|
|
|
|
app-menu.ui \
|
|
|
|
prefs.ui \
|
|
|
|
gears-menu.ui \
|
|
|
|
exampleapp.gresource.xml \
|
2013-11-16 21:09:56 +00:00
|
|
|
org.gtk.exampleapp.gschema.xml
|
|
|
|
|
2014-11-29 05:26:52 +00:00
|
|
|
CLEANFILES = \
|
2013-11-16 21:09:56 +00:00
|
|
|
gschemas.compiled
|
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|