Don't include gkd-pixbuf-features.h here since is in builddir and confuses
Wed Sep 19 00:28:24 2001 Owen Taylor <otaylor@redhat.com> * Makefile.am (gdk_pixbuf_headers): Don't include gkd-pixbuf-features.h here since is in builddir and confuses autogen rules. * Makefile.am: Don't += variables before they have values, automake-1.5 doesn't like it. * Makefile.am: Fix srcdir != builddir for gdk-pixbuf-enum-types.c. * Makefile.am: The whitespace strikes back.
This commit is contained in:
parent
77886cc540
commit
69b6e3d63f
@ -1,3 +1,16 @@
|
||||
Wed Sep 19 00:28:24 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* Makefile.am (gdk_pixbuf_headers): Don't include
|
||||
gkd-pixbuf-features.h here since is in builddir
|
||||
and confuses autogen rules.
|
||||
|
||||
* Makefile.am: Don't += variables before they have values,
|
||||
automake-1.5 doesn't like it.
|
||||
|
||||
* Makefile.am: Fix srcdir != builddir for gdk-pixbuf-enum-types.c.
|
||||
|
||||
* Makefile.am: The whitespace strikes back.
|
||||
|
||||
2001-09-17 Matt Wilson <msw@redhat.com>
|
||||
|
||||
* Makefile.am (libpixbufloader_xbm_la_LDFLAGS): removed duplicate
|
||||
|
@ -222,14 +222,14 @@ libgdk_pixbuf_1_3_la_LDFLAGS = @STRIP_BEGIN@ \
|
||||
libgdk_pixbuf_1_3_la_LIBADD = pixops/libpixops.la $(builtin_objs) $(GDK_PIXBUF_DEP_LIBS)
|
||||
libgdk_pixbuf_1_3_la_DEPENDENCIES = $(builtin_objs)
|
||||
|
||||
gdk_pixbuf_headers = \
|
||||
gdk-pixbuf.h \
|
||||
gdk-pixbuf-loader.h \
|
||||
gdk-pixbuf-features.h
|
||||
gdk_pixbuf_headers = \
|
||||
gdk-pixbuf.h \
|
||||
gdk-pixbuf-loader.h
|
||||
|
||||
libgdk_pixbufinclude_HEADERS = \
|
||||
libgdk_pixbufinclude_HEADERS = \
|
||||
$(gdk_pixbuf_headers) \
|
||||
$(gdk_pixbuf_built_headers) \
|
||||
gdk-pixbuf-features.h \
|
||||
gdk-pixdata.h
|
||||
|
||||
noinst_HEADERS = \
|
||||
@ -237,13 +237,18 @@ noinst_HEADERS = \
|
||||
gdk-pixbuf-private.h
|
||||
|
||||
gdk_pixbuf_built_headers = gdk-pixbuf-enum-types.h gdk-pixbuf-marshal.h
|
||||
gdk_pixbuf_built_cfiles = gdk-pixbuf-enum-types.c
|
||||
MAINTAINERCLEANFILES += $(gdk_pixbuf_built_headers) $(gdk_pixbuf_built_cfiles) gdk-pixbuf-marshal.c
|
||||
gdk_pixbuf_built_cfiles = gdk-pixbuf-enum-types.c
|
||||
$(OBJECTS): $(gdk_pixbuf_built_headers) $(gdk_pixbuf_built_cfiles) gdk-pixbuf-marshal.c
|
||||
|
||||
CLEANFILES =
|
||||
MAINTAINERCLEANFILES = $(gdk_pixbuf_built_headers) $(gdk_pixbuf_built_cfiles) gdk-pixbuf-marshal.c
|
||||
|
||||
#
|
||||
# gdk-pixbuf-enum-types.h
|
||||
#
|
||||
$(srcdir)/gdk-pixbuf-enum-types.h: s-enum-types-h
|
||||
@true
|
||||
MAINTAINERCLEANFILES += s-enum-types-h
|
||||
|
||||
s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) Makefile
|
||||
( cd $(srcdir) && glib-mkenums \
|
||||
--fhead "#ifndef __GDK_PIXBUF__ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n" \
|
||||
@ -254,22 +259,28 @@ s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) Makefile
|
||||
&& (cmp -s tmp-gdk-pixbuf-enum-types.h $(srcdir)/gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h $(srcdir)/gdk-pixbuf-enum-types.h ) \
|
||||
&& rm -f tmp-gdk-pixbuf-enum-types.h \
|
||||
&& echo timestamp > $(@F)
|
||||
|
||||
CLEANFILES += tmp-gdk-pixbuf-enum-types.h
|
||||
MAINTAINERCLEANFILES += s-enum-types-h
|
||||
|
||||
#
|
||||
# gdk-pixbuf-enum-types.c
|
||||
#
|
||||
$(srcdir)/gdk-pixbuf-enum-types.c: @REBUILD@ $(gdk_pixbuf_headers) Makefile
|
||||
cd $(srcdir) \
|
||||
&& glib-mkenums \
|
||||
cd $(srcdir) && glib-mkenums \
|
||||
--fhead "#include <gdk-pixbuf/gdk-pixbuf.h>" \
|
||||
--fprod "\n/* enumerations from \"@filename@\" */" \
|
||||
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const GEnumValue values[] = {" \
|
||||
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
||||
--vtail " { 0, NULL, NULL }\n };\n etype = g_enum_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
|
||||
$(gdk_pixbuf_headers) > tmp-gdk-pixbuf-enum-types.c \
|
||||
&& cp tmp-gdk-pixbuf-enum-types.c $(srcdir)/gdk-pixbuf-enum-types.c \
|
||||
&& rm -f tmp-gdk-pixbuf-enum-types.c
|
||||
CLEANFILES += tmp-gdk-pixbuf-enum-types.c
|
||||
$(gdk_pixbuf_headers) > gdk-pixbuf-enum-types.c
|
||||
|
||||
#
|
||||
# gdk-pixbuf-marshal.h
|
||||
#
|
||||
$(srcdir)/gdk-pixbuf-marshal.h: @REBUILD@ stamp-gdk-pixbuf-marshal.h
|
||||
@true
|
||||
MAINTAINERCLEANFILES += stamp-gdk-pixbuf-marshal.h
|
||||
|
||||
stamp-gdk-pixbuf-marshal.h: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
|
||||
case @GLIB_GENMARSHAL@ in \
|
||||
.*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
|
||||
@ -280,7 +291,13 @@ stamp-gdk-pixbuf-marshal.h: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
|
||||
&& (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
|
||||
&& rm -f xgen-gmh xgen-gmh~ \
|
||||
&& echo timestamp > $(@F)
|
||||
|
||||
CLEANFILES += xgen-gmh
|
||||
MAINTAINERCLEANFILES += stamp-gdk-pixbuf-marshal.h
|
||||
|
||||
#
|
||||
# gdk-pixbuf-marshal.c
|
||||
#
|
||||
$(srcdir)/gdk-pixbuf-marshal.c: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
|
||||
case @GLIB_GENMARSHAL@ in \
|
||||
.*) glib_genmarshal=`pwd`/@GLIB_GENMARSHAL@ ;; \
|
||||
@ -290,6 +307,7 @@ $(srcdir)/gdk-pixbuf-marshal.c: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
|
||||
&& $$glib_genmarshal --prefix=gdk_pixbuf_marshal gdk-pixbuf-marshal.list --body >> xgen-gmc \
|
||||
&& cp xgen-gmc gdk-pixbuf-marshal.c \
|
||||
&& rm -f xgen-gmc xgen-gmc~
|
||||
|
||||
CLEANFILES += xgen-gmc
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
Loading…
Reference in New Issue
Block a user