include ../settings.mk NATIVE_ATK_LIB = $(shell ../findLib "libatk-1.0.so.0") all: ATK.5D prototypes a.out: a.c gcc -aux-info prototypes a.c `pkg-config --cflags --libs atk` ATK.5D: ATK.sign $(FIND_5D_EXPORTS) ATK.sign >ATK.5D.new && mv ATK.5D.new ATK.5D ATK.sign: ATK.symbols prototypes ATK.override ../generateSignatures $< $(NATIVE_ATK_LIB) atk_ g:Atk ATK.override >ATK.sign.new && mv ATK.sign.new ATK.sign ATK.symbols: $(NATIVE_ATK_LIB) $(EXTRACT_GNU_SYMBOLS) $< > ATK.symbols.new && mv ATK.symbols.new ATK.symbols clean: rm -f ATK.5D ATK.sign distclean: clean rm -f prototypes install: install -m 755 -d $(DESTDIR)/usr/share/5D/ATK2 install -m 644 ATK.5D $(DESTDIR)/usr/share/5D/ATK2/init.5D