include ../settings.mk NATIVE_GTKSOURCEVIEW_LIB = $(shell ../findLib "libgtksourceview-2.0.so.0") all: GtkSourceView.5D GtkSourceView.5D: GtkSourceView.sign $(FIND_5D_EXPORTS) GtkSourceView.sign >GtkSourceView.5D.new && mv GtkSourceView.5D.new GtkSourceView.5D GtkSourceView.sign: GtkSourceView.symbols prototypes ../generateSignatures $< $(NATIVE_GTKSOURCEVIEW_LIB) gtk_source_ g:GtkSourceView >GtkSourceView.sign.new && mv GtkSourceView.sign.new GtkSourceView.sign GtkSourceView.symbols: $(NATIVE_GTKSOURCEVIEW_LIB) $(EXTRACT_GNU_SYMBOLS) $< > GtkSourceView.symbols.new && mv GtkSourceView.symbols.new GtkSourceView.symbols a.out prototypes: a.c $(CC) -aux-info prototypes -o a.out a.c `pkg-config --cflags --libs gtksourceview-2.0` clean: rm -f GtkSourceView.5D GtkSourceView.sign GtkSourceView.symbols a.out prototypes distclean: clean install: install -m 755 -d $(DESTDIR)/usr/share/5D/GtkSourceView2 install -m 644 GtkSourceView.5D $(DESTDIR)/usr/share/5D/GtkSourceView2/init.5D