2014-05-15 01:23:44 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libgtkinspector.la
|
|
|
|
|
|
|
|
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-09-02 13:48:58 +00:00
|
|
|
resources.c: inspector.gresource.xml $(resource_files) $(template_headers)
|
2014-05-15 01:23:44 +00:00
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/inspector.gresource.xml \
|
|
|
|
--target=$@ --sourcedir=$(srcdir) --c-name gtk_inspector --generate-source --manual-register
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
resources.h \
|
2014-09-02 13:48:58 +00:00
|
|
|
resources.c
|
2014-05-15 01:23:44 +00:00
|
|
|
|
|
|
|
libgtkinspector_la_SOURCES = \
|
2014-06-05 09:48:26 +00:00
|
|
|
action-editor.h \
|
|
|
|
action-editor.c \
|
2014-05-14 00:36:02 +00:00
|
|
|
actions.h \
|
|
|
|
actions.c \
|
2014-05-15 01:23:44 +00:00
|
|
|
classes-list.h \
|
|
|
|
classes-list.c \
|
|
|
|
css-editor.h \
|
|
|
|
css-editor.c \
|
|
|
|
data-list.h \
|
|
|
|
data-list.c \
|
2014-05-15 04:06:43 +00:00
|
|
|
general.h \
|
|
|
|
general.c \
|
2014-05-16 23:44:43 +00:00
|
|
|
gestures.h \
|
|
|
|
gestures.c \
|
2014-05-15 01:23:44 +00:00
|
|
|
init.h \
|
|
|
|
init.c \
|
|
|
|
inspect-button.c \
|
2014-06-05 12:31:06 +00:00
|
|
|
menu.h \
|
|
|
|
menu.c \
|
2014-07-19 06:47:36 +00:00
|
|
|
misc-info.h \
|
|
|
|
misc-info.c \
|
2014-05-15 01:23:44 +00:00
|
|
|
object-hierarchy.h \
|
|
|
|
object-hierarchy.c \
|
2014-10-11 01:40:53 +00:00
|
|
|
object-tree.h \
|
|
|
|
object-tree.c \
|
2014-05-18 05:03:24 +00:00
|
|
|
prop-editor.h \
|
|
|
|
prop-editor.c \
|
2014-05-15 01:23:44 +00:00
|
|
|
prop-list.h \
|
|
|
|
prop-list.c \
|
2014-10-12 02:04:57 +00:00
|
|
|
selector.h \
|
|
|
|
selector.c \
|
2014-07-06 16:18:09 +00:00
|
|
|
style-prop-list.h \
|
|
|
|
style-prop-list.c \
|
2014-05-15 23:34:38 +00:00
|
|
|
resource-list.h \
|
|
|
|
resource-list.c \
|
2014-05-15 01:23:44 +00:00
|
|
|
resources.h \
|
|
|
|
resources.c \
|
|
|
|
signals-list.h \
|
|
|
|
signals-list.c \
|
2014-05-21 01:44:48 +00:00
|
|
|
size-groups.h \
|
|
|
|
size-groups.c \
|
2014-10-10 03:34:59 +00:00
|
|
|
statistics.h \
|
|
|
|
statistics.c \
|
2014-05-15 01:23:44 +00:00
|
|
|
visual.h \
|
|
|
|
visual.c \
|
|
|
|
window.h \
|
|
|
|
window.c
|
|
|
|
|
|
|
|
libgtkinspector_la_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/gtk \
|
|
|
|
-I$(top_builddir)/gtk \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
|
|
|
-DGTK_DATADIR=\"$(datadir)\" \
|
|
|
|
-DGTK_COMPILATION \
|
|
|
|
$(AM_CPPFLAGS)
|
|
|
|
|
|
|
|
libgtkinspector_la_CFLAGS = \
|
|
|
|
$(GDK_HIDDEN_VISIBILITY_CFLAGS) \
|
|
|
|
$(GTK_DEP_CFLAGS) \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(AM_CFLAGS)
|
|
|
|
|
2014-06-07 08:50:27 +00:00
|
|
|
if USE_QUARTZ
|
|
|
|
libgtkinspector_la_CFLAGS += "-xobjective-c"
|
|
|
|
endif # USE_QUARTZ
|
|
|
|
|
2014-05-15 01:23:44 +00:00
|
|
|
libgtkinspector_la_LIBADD = \
|
|
|
|
$(GTK_DEP_LIBS) \
|
|
|
|
$(INTLLIBS)
|
|
|
|
|
|
|
|
libgtkinspector_la_LDFLAGS = \
|
|
|
|
$(LDFLAGS)
|
|
|
|
|
|
|
|
templates = \
|
2014-05-14 00:36:02 +00:00
|
|
|
actions.ui \
|
2014-05-15 01:23:44 +00:00
|
|
|
classes-list.ui \
|
|
|
|
css-editor.ui \
|
|
|
|
data-list.ui \
|
2014-05-15 09:52:47 +00:00
|
|
|
general.ui \
|
2014-06-05 12:31:06 +00:00
|
|
|
menu.ui \
|
2014-07-19 06:47:36 +00:00
|
|
|
misc-info.ui \
|
2014-05-15 01:23:44 +00:00
|
|
|
object-hierarchy.ui \
|
2014-10-11 01:40:53 +00:00
|
|
|
object-tree.ui \
|
2014-05-15 01:23:44 +00:00
|
|
|
prop-list.ui \
|
2014-05-15 23:34:38 +00:00
|
|
|
resource-list.ui \
|
2014-10-12 02:04:57 +00:00
|
|
|
selector.ui \
|
2014-05-15 01:23:44 +00:00
|
|
|
signals-list.ui \
|
2014-10-10 03:34:59 +00:00
|
|
|
statistics.ui \
|
2014-07-08 08:12:52 +00:00
|
|
|
style-prop-list.ui \
|
2014-05-15 01:23:44 +00:00
|
|
|
visual.ui \
|
|
|
|
window.ui
|
|
|
|
|
|
|
|
template_headers = $(templates:.ui=.ui.h)
|
|
|
|
|
2014-05-27 19:54:38 +00:00
|
|
|
%.ui.h : %.ui
|
2014-08-15 15:56:39 +00:00
|
|
|
$(AM_V_GEN) $(top_builddir)/util/extract-strings$(EXEEXT) $< > $@
|
2014-05-15 01:23:44 +00:00
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
inspector.gresource.xml \
|
|
|
|
$(resource_files) \
|
|
|
|
$(templates)
|
|
|
|
|
2014-05-27 19:14:02 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
resources.c \
|
2014-09-02 13:48:58 +00:00
|
|
|
resources.h
|
2014-05-27 19:14:02 +00:00
|
|
|
|
|
|
|
distclean-local:
|
|
|
|
if test $(srcdir) != .; then \
|
|
|
|
rm -f $(MAINTAINERCLEANFILES); \
|
2014-09-02 13:48:58 +00:00
|
|
|
rm -f $(template_headers); \
|
2014-05-27 19:14:02 +00:00
|
|
|
fi
|
|
|
|
|
2014-06-03 09:03:40 +00:00
|
|
|
dist-hook: $(top_builddir)/build/win32/vs9/gtk-inspector.vcproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj $(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj.filters
|
|
|
|
|
|
|
|
$(top_builddir)/build/win32/vs9/gtk-inspector.vcproj: $(top_srcdir)/build/win32/vs9/gtk-inspector.vcprojin
|
|
|
|
for F in `echo $(libgtkinspector_la_SOURCES) | tr '/' '\\'`; do \
|
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <File RelativePath="..\..\..\gtk\inspector\'$$F'" />' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >libgtk-inspector.sourcefiles
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gtk-inspector.vcprojin >$@
|
|
|
|
rm libgtk-inspector.sourcefiles
|
|
|
|
|
|
|
|
$(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj: $(top_srcdir)/build/win32/vs10/gtk-inspector.vcxprojin
|
|
|
|
for F in `echo $(libgtkinspector_la_SOURCES) | tr '/' '\\'`; do \
|
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <ClCompile Include="..\..\..\gtk\inspector\'$$F'" />' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >libgtk-inspector.vs10.sourcefiles
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gtk-inspector.vcxprojin >$@
|
|
|
|
rm libgtk-inspector.vs10.sourcefiles
|
|
|
|
|
|
|
|
$(top_builddir)/build/win32/vs10/gtk-inspector.vcxproj.filters: $(top_srcdir)/build/win32/vs10/gtk-inspector.vcxproj.filtersin
|
|
|
|
for F in `echo $(libgtkinspector_la_SOURCES) | tr '/' '\\'`; do \
|
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <ClCompile Include="..\..\..\gtk\inspector\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >libgtk-inspector.vs10.sourcefiles.filters
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gtk-inspector.vcxproj.filtersin >$@
|
|
|
|
rm libgtk-inspector.vs10.sourcefiles.filters
|
|
|
|
|
2014-05-15 01:23:44 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|