include ../settings.mk NATIVE_GTKGLEXT_LIB = $(shell ../findLib "libgtkglext-x11-1.0.so.0") all: GtkGLExt.5D GtkGLExt.5D: GtkGLExt.sign $(FIND_5D_EXPORTS) GtkGLExt.sign >GtkGLExt.5D.new && mv GtkGLExt.5D.new GtkGLExt.5D GtkGLExt.sign: GtkGLExt.symbols prototypes ../generateSignatures $< $(NATIVE_GTKGLEXT_LIB) gtk_ g:GtkGLExt >GtkGLExt.sign.new && mv GtkGLExt.sign.new GtkGLExt.sign GtkGLExt.symbols: $(NATIVE_GTKGLEXT_LIB) $(EXTRACT_GNU_SYMBOLS) $< > GtkGLExt.symbols.new && mv GtkGLExt.symbols.new GtkGLExt.symbols a.out prototypes: a.c $(CC) -aux-info prototypes -o a.out a.c `pkg-config --cflags --libs gtkglext-1.0` clean: rm -f GtkGLExt.5D GtkGLExt.sign GtkGLExt.symbols a.out prototypes distclean: clean install: install -m 755 -d $(DESTDIR)/usr/share/5D/GtkGLExt1 install -m 644 GtkGLExt.5D $(DESTDIR)/usr/share/5D/GtkGLExt1/init.5D