]> 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 27ebd8e37bd186746cf3114351267517400e8407..2a90796b74bc5aa906c51bd015ae7cdaa0a2ca13 100644 (file)
@@ -1,10 +1,22 @@
-if OS_WIN32
+include $(top_srcdir)/Makefile.decl
+
+if PLATFORM_WIN32
 no_undefined = -no-undefined
 endif
 
-INCLUDES = $(GTK_CFLAGS)
+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-2.0/$(GTK_VERSION)/engines
+enginedir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/engines
 
 engine_LTLIBRARIES = libpixmap.la
 
@@ -18,8 +30,7 @@ libpixmap_la_SOURCES =                \
        pixbuf.h
 
 libpixmap_la_LDFLAGS =  -avoid-version -module $(no_undefined)
-libpixmap_la_LIBADD = $(GTK_LIBS)
+libpixmap_la_LIBADD = $(LDADDS)
+
 
-dist-hook:
-       cp -pr examples $(distdir);                                     \
-        find $(distdir)/examples -name 'CVS' -print | xargs rm -rf 
+-include $(top_srcdir)/git.mk