]> Pileus Git - ~andy/gtk/blobdiff - modules/engines/pixbuf/Makefile.am
Make GTK+ use an external gdk-pixbuf
[~andy/gtk] / modules / engines / pixbuf / Makefile.am
index 379aaed3ea74b380165a0540472d19180cbf5ab4..a3e8eef4cd75f8d4d01e0652fc7e17bce81e05ff 100644 (file)
@@ -1,6 +1,22 @@
-INCLUDES = $(GTK_CFLAGS)
+include $(top_srcdir)/Makefile.decl
 
-enginedir = $(libdir)/gtk/themes/engines
+if PLATFORM_WIN32
+no_undefined = -no-undefined
+endif
+
+INCLUDES = \
+       -I$(top_srcdir)                 \
+       -I$(top_srcdir)/gdk             \
+       -I$(top_builddir)/gdk           \
+       -DGDK_DISABLE_DEPRECATED        \
+       $(GTK_DEP_CFLAGS)
+
+LDADDS = \
+       $(GTK_DEP_LIBS)                                                 \
+       $(top_builddir)/gdk/$(gdktargetlib)                             \
+       $(top_builddir)/gtk/$(gtktargetlib)
+
+enginedir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/engines
 
 engine_LTLIBRARIES = libpixmap.la
 
@@ -8,7 +24,13 @@ libpixmap_la_SOURCES =                \
        pixbuf-draw.c           \
        pixbuf-main.c           \
        pixbuf-render.c         \
+       pixbuf-rc-style.c       \
+       pixbuf-rc-style.h       \
+       pixbuf-style.h          \
        pixbuf.h
 
-libpixmap_la_LDFLAGS = -module -avoid-version
-libpixmap_la_LIBADD =
+libpixmap_la_LDFLAGS =  -avoid-version -module $(no_undefined)
+libpixmap_la_LIBADD = $(LDADDS)
+
+
+-include $(top_srcdir)/git.mk