include ../settings.mk NATIVE_DBUS_LIB = $(shell ../findLib "libdbus-1.so") NATIVE_DBUS_GLIB_LIB = $(shell ../findLib "libdbus-glib-1.so.2") all: DBus.5D all: DBusGLib.5D DBus.5D: DBus.sign $(FIND_5D_EXPORTS) DBus.sign >DBus.5D.new && mv DBus.5D.new DBus.5D DBus.sign: DBus.symbols prototypes ../generateSignatures $< $(NATIVE_DBUS_LIB) dbus_ >DBus.sign.new && mv DBus.sign.new DBus.sign DBus.symbols: $(NATIVE_DBUS_LIB) $(EXTRACT_GNU_SYMBOLS) $< > DBus.symbols.new && mv DBus.symbols.new DBus.symbols ifneq (,$(NATIVE_DBUS_GLIB_LIB)) DBusGLib.5D: DBusGLib.sign $(FIND_5D_EXPORTS) DBusGLib.sign >DBusGLib.5D.new && mv DBusGLib.5D.new DBusGLib.5D DBusGLib.sign: DBusGLib.symbols prototypes ../generateSignatures $< $(NATIVE_DBUS_GLIB_LIB) dbus_g_ >DBusGLib.sign.new && mv DBusGLib.sign.new DBusGLib.sign DBusGLib.symbols: $(NATIVE_DBUS_GLIB_LIB) $(EXTRACT_GNU_SYMBOLS) $< > DBusGLib.symbols.new && mv DBusGLib.symbols.new DBusGLib.symbols else DBusGLib.5D: ../dummy.5D cp ../dummy.5D DBusGLib.5D endif clean: rm -f DBusGLib.5D DBusGLib.sign DBus.5D DBus.sign distclean: clean install: install -m 755 -d $(DESTDIR)/usr/share/5D/DBus1 install -m 644 DBus.5D $(DESTDIR)/usr/share/5D/DBus1/DBus.5D install -m 644 DBusGLib.5D $(DESTDIR)/usr/share/5D/DBus1/DBusGLib.5D