2014-05-03 01:48:33 +00:00
|
|
|
moduledir = $(libdir)/gtk-3.0/modules
|
|
|
|
|
2014-05-07 03:24:20 +00:00
|
|
|
module_LTLIBRARIES = libgtkinspector.la
|
2014-05-03 01:48:33 +00:00
|
|
|
|
2014-05-07 03:24:20 +00:00
|
|
|
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/inspector.gresource.xml)
|
|
|
|
resources.h: inspector.gresource.xml
|
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/inspector.gresource.xml \
|
|
|
|
--target=$@ --sourcedir=$(srcdir) --c-name gtk_inspector --generate-header --manual-register
|
2014-05-07 04:13:00 +00:00
|
|
|
resources.c: inspector.gresource.xml $(resource_files) $(template_headers)
|
2014-05-07 03:24:20 +00:00
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/inspector.gresource.xml \
|
|
|
|
--target=$@ --sourcedir=$(srcdir) --c-name gtk_inspector --generate-source --manual-register
|
2014-05-04 15:09:52 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
resources.h \
|
|
|
|
resources.c
|
|
|
|
|
2014-05-07 03:24:20 +00:00
|
|
|
libgtkinspector_la_SOURCES = \
|
2014-05-04 15:09:52 +00:00
|
|
|
resources.h \
|
|
|
|
resources.c \
|
2014-05-03 01:48:33 +00:00
|
|
|
inspect-button.c \
|
|
|
|
module.c \
|
|
|
|
prop-list.h \
|
|
|
|
prop-list.c \
|
|
|
|
property-cell-renderer.h \
|
2014-05-05 03:47:11 +00:00
|
|
|
property-cell-renderer.c \
|
2014-05-03 01:48:33 +00:00
|
|
|
python-hooks.h \
|
2014-05-05 03:47:11 +00:00
|
|
|
python-hooks.c \
|
2014-05-03 01:48:33 +00:00
|
|
|
python-shell.h \
|
2014-05-05 03:47:11 +00:00
|
|
|
python-shell.c \
|
2014-05-03 01:48:33 +00:00
|
|
|
widget-tree.h \
|
|
|
|
widget-tree.c \
|
2014-05-05 03:47:11 +00:00
|
|
|
window.h \
|
2014-05-03 01:48:33 +00:00
|
|
|
window.c \
|
|
|
|
button-path.h \
|
|
|
|
button-path.c \
|
|
|
|
classes-list.h \
|
|
|
|
classes-list.c \
|
|
|
|
css-editor.h \
|
|
|
|
css-editor.c \
|
|
|
|
object-hierarchy.h \
|
|
|
|
object-hierarchy.c \
|
|
|
|
themes.h \
|
|
|
|
themes.c
|
|
|
|
|
2014-05-07 03:24:20 +00:00
|
|
|
libgtkinspector_la_CPPFLAGS = \
|
2014-05-03 01:48:33 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/gtk \
|
|
|
|
-I$(top_builddir)/gtk \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-DGTK_DATADIR=\"$(datadir)\" \
|
|
|
|
-DGTK_COMPILATION \
|
|
|
|
$(GTK_DEP_CFLAGS) \
|
|
|
|
$(GTK_DEBUG_FLAGS)
|
|
|
|
|
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
2014-05-07 03:24:20 +00:00
|
|
|
libgtkinspector_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2014-05-03 01:48:33 +00:00
|
|
|
|
2014-05-07 03:24:20 +00:00
|
|
|
libgtkinspector_la_LIBADD = \
|
2014-05-03 01:48:33 +00:00
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
|
|
|
$(GTK_DEP_LIBS)
|
|
|
|
|
2014-05-07 04:13:00 +00:00
|
|
|
templates = \
|
|
|
|
button-path.ui \
|
|
|
|
classes-list.ui \
|
|
|
|
css-editor.ui \
|
|
|
|
object-hierarchy.ui \
|
|
|
|
prop-list.ui \
|
|
|
|
themes.ui \
|
|
|
|
widget-tree.ui \
|
|
|
|
window.ui
|
|
|
|
|
|
|
|
template_headers = $(templates:.ui=.ui.h)
|
|
|
|
|
|
|
|
extract_strings = $(top_builddir)/gtk/extract-strings$(BUILD_EXEEXT)
|
|
|
|
|
|
|
|
%.ui.h: %.ui $(extract_strings)
|
|
|
|
$(AM_V_GEN) $(extract_strings) $< > $@
|
|
|
|
|
|
|
|
distclean-local:
|
|
|
|
if test $(srcdir) != .; then \
|
|
|
|
rm -f $(template_headers); \
|
|
|
|
fi
|
|
|
|
|
|
|
|
EXTRA_DIST=
|
2014-05-04 15:09:52 +00:00
|
|
|
$(resource_files)
|
|
|
|
|
2014-05-03 01:48:33 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|