HILDON_APP = $(APP)-hildon
happ_obj = $(APP).happ.o $(other_obj)
PLUGIN = lib$(APP).so
-plugin_obj = $(APP).plugin.o $(other_obj)
+plugin_obj = $(APP).plugin.o ../configfile.plugin.o
all: plugin
plugin: $(PLUGIN)
strip $(PLUGIN)
install: all
- mkdir -p $(DESTDIR)$(PREFIX)/share/hildon-control-panel
+ mkdir -p $(DESTDIR)$(PREFIX)/lib/hildon-control-panel
+ mkdir -p $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel
install -c -m 0755 $(PLUGIN) $(DESTDIR)$(PREFIX)/lib/hildon-control-panel
install -c -m 0644 $(APP).desktop $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel