mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
e0d30ee141
2008-08-12 Michael Natterer <mitch@imendio.com> * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h visible for GDK_PIXBUF_COMPILATION. * contrib/gdk-pixbuf-xlib/Makefile.am * demos/Makefile.am * demos/gtk-demo/Makefile.am * gdk-pixbuf/pixops/Makefile.am * gdk/Makefile.am * gdk/x11/Makefile.am * gtk/Makefile.am * gtk/tests/Makefile.am * gtk/theme-bits/Makefile.am * modules/engines/ms-windows/Makefile.am * modules/engines/pixbuf/Makefile.am * modules/input/Makefile.am * perf/Makefile.am * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here. svn path=/trunk/; revision=21096
99 lines
2.5 KiB
Makefile
99 lines
2.5 KiB
Makefile
## Makefile.am for gtk+/perf
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-I$(top_srcdir)/gdk \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
DEPS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
|
|
|
LDADDS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
|
|
|
noinst_PROGRAMS = \
|
|
testperf
|
|
|
|
testperf_DEPENDENCIES = $(TEST_DEPS)
|
|
|
|
testperf_LDADD = $(LDADDS)
|
|
|
|
testperf_SOURCES = \
|
|
appwindow.c \
|
|
gtkwidgetprofiler.c \
|
|
gtkwidgetprofiler.h \
|
|
main.c \
|
|
marshalers.c \
|
|
marshalers.h \
|
|
textview.c \
|
|
treeview.c \
|
|
typebuiltins.c \
|
|
typebuiltins.h \
|
|
widgets.h
|
|
|
|
BUILT_SOURCES = \
|
|
marshalers.c \
|
|
marshalers.h \
|
|
typebuiltins.c \
|
|
typebuiltins.h
|
|
|
|
stamp_files = \
|
|
stamp-marshalers.h \
|
|
stamp-typebuiltins.h
|
|
|
|
headers_with_enums = \
|
|
gtkwidgetprofiler.h
|
|
|
|
MAINTAINERCLEANFILES = $(BUILT_SOURCES) $(stamp_files)
|
|
|
|
marshalers.h: stamp-marshalers.h
|
|
@true
|
|
|
|
stamp-marshalers.h: @REBUILD@ marshalers.list
|
|
$(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/marshalers.list --header >> xgen-gmlh \
|
|
&& (cmp -s xgen-gmlh marshalers.h || cp xgen-gmlh marshalers.h) \
|
|
&& rm -f xgen-gmlh \
|
|
&& echo timestamp > $(@F)
|
|
marshalers.c: @REBUILD@ marshalers.list
|
|
$(GLIB_GENMARSHAL) --prefix=_gtk_marshal $(srcdir)/marshalers.list --body >> xgen-gmlc \
|
|
&& cp xgen-gmlc marshalers.c \
|
|
&& rm -f xgen-gmlc
|
|
|
|
typebuiltins.h: stamp-typebuiltins.h
|
|
@true
|
|
stamp-typebuiltins.h: @REBUILD@ $(headers_with_enums) typebuiltins.h.template
|
|
( cd $(srcdir) && $(GLIB_MKENUMS) --template typebuiltins.h.template \
|
|
$(headers_with_enums) ) >> xgen-gtbh \
|
|
&& (cmp -s xgen-gtbh typebuiltins.h || cp xgen-gtbh typebuiltins.h ) \
|
|
&& rm -f xgen-gtbh \
|
|
&& echo timestamp > $(@F)
|
|
typebuiltins.c: @REBUILD@ $(headers_with_enums) typebuiltins.c.template
|
|
( cd $(srcdir) && $(GLIB_MKENUMS) --template typebuiltins.c.template \
|
|
$(headers_with_enums) ) > xgen-gtbc \
|
|
&& cp xgen-gtbc typebuiltins.c \
|
|
&& rm -f xgen-gtbc
|
|
|
|
|
|
EXTRA_DIST += \
|
|
README \
|
|
marshalers.list \
|
|
typebuiltins.c.template \
|
|
typebuiltins.h.template \
|
|
$(BUILT_SOURCES)
|
|
|
|
# if srcdir!=builddir, clean out maintainer-clean files from builddir
|
|
# this allows dist to pass.
|
|
distclean-local:
|
|
if test $(srcdir) != .; then \
|
|
rm -f $(MAINTAINERCLEANFILES); \
|
|
fi
|