include ../settings.mk NATIVE_GDK_PIXBUF_LIB = $(shell ../findLib "libgdk_pixbuf-2.0.so.0") GDK_PIXBUF_CFLAGS = $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) GDK_PIXBUF_LDFLAGS = $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) ifeq (,$(GDK_PIXBUF_LDFLAGS)) GDK_PIXBUF_CFLAGS = $(shell pkg-config --cflags --libs gtk+-2.0) GDK_PIXBUF_LDFLAGS = $(shell pkg-config --cflags --libs gtk+-2.0) endif all: GDKPixbuf.5D GDKPixbuf.5D: GDKPixbuf.sign $(FIND_5D_EXPORTS) GDKPixbuf.sign >GDKPixbuf.5D.new && mv GDKPixbuf.5D.new GDKPixbuf.5D GDKPixbuf.sign: GDKPixbuf.symbols prototypes ../generateSignatures $< $(NATIVE_GDK_PIXBUF_LIB) gdk_pixbuf_ g:Gdk >GDKPixbuf.sign.new && mv GDKPixbuf.sign.new GDKPixbuf.sign GDKPixbuf.symbols: $(NATIVE_GDK_PIXBUF_LIB) $(EXTRACT_GNU_SYMBOLS) $< > GDKPixbuf.symbols.new && mv GDKPixbuf.symbols.new GDKPixbuf.symbols prototypes a.out: a.c $(CC) -aux-info prototypes -o a.out a.c $(GDK_PIXBUF_CFLAGS) $(GDK_PIXBUF_LDFLAGS) clean: rm -f GDKPixbuf.5D GDKPixbuf.sign prototypes a.out distclean: clean install: install -m 755 -d $(DESTDIR)/usr/share/5D/GDKPixbuf2 install -m 644 GDKPixbuf.5D $(DESTDIR)/usr/share/5D/GDKPixbuf2/init.5D