include ../settings.mk NATIVE_SQLITE3_LIB = $(shell ../findLib "libsqlite3.so") all: init.5D a.out prototypes: a.c $(CC) -aux-info prototypes -o a.out a.c init.5D: SQLite3.sign $(FIND_5D_EXPORTS) SQLite3.sign >SQLite3.5D.new && mv SQLite3.5D.new init.5D SQLite3.sign: SQLite3.symbols prototypes ../generateSignatures $< $(NATIVE_SQLITE3_LIB) sqlite3 >SQLite3.sign.new && mv SQLite3.sign.new SQLite3.sign SQLite3.symbols: $(NATIVE_SQLITE3_LIB) $(EXTRACT_GNU_SYMBOLS) $< > SQLite3.symbols.new && mv SQLite3.symbols.new SQLite3.symbols clean: rm -f init.5D SQLite3.sign distclean: clean install: install -m 755 -d $(DESTDIR)/usr/share/5D/SQLite3 install -m 644 init.5D $(DESTDIR)/usr/share/5D/SQLite3/init.5D