]> Pileus Git - ~andy/gtk/blobdiff - modules/engines/pixbuf/Makefile.am
Bump the version to 3.0.0
[~andy/gtk] / modules / engines / pixbuf / Makefile.am
index 9d5449bea0f33f3daad1adad84d98b1c6ff19140..2a90796b74bc5aa906c51bd015ae7cdaa0a2ca13 100644 (file)
@@ -1,6 +1,22 @@
-INCLUDES = $(GTK_CFLAGS)
+include $(top_srcdir)/Makefile.decl
 
-enginedir = $(libdir)/gtk-2.0/$(GTK_VERSION)/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/libgdk-3.la         \
+       $(top_builddir)/gtk/libgtk-3.la
+
+enginedir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/engines
 
 engine_LTLIBRARIES = libpixmap.la
 
@@ -13,5 +29,8 @@ libpixmap_la_SOURCES =                \
        pixbuf-style.h          \
        pixbuf.h
 
-libpixmap_la_LDFLAGS = -module -avoid-version
-libpixmap_la_LIBADD = -lgdk_pixbuf
+libpixmap_la_LDFLAGS =  -avoid-version -module $(no_undefined)
+libpixmap_la_LIBADD = $(LDADDS)
+
+
+-include $(top_srcdir)/git.mk