X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=config-ui%2FMakefile;h=74c894d53a9df96b0018fd4a8d42b9247be8fddd;hp=c154f227cdd94c933226ad577b818f4e33394cff;hb=dc5c27558cf873bfce31c51f8c22f18e2f80eeba;hpb=e63005644ace28b2af7ac1ecba7ccd87a476d3c3 diff --git a/config-ui/Makefile b/config-ui/Makefile index c154f22..74c894d 100644 --- a/config-ui/Makefile +++ b/config-ui/Makefile @@ -1,5 +1,5 @@ CC = gcc -CFLAGS = -Wall -Os -mcpu=arm1136jf-s -mthumb +CFLAGS = -Wall -Os CFLAGS_PLUGIN = -fPIC CPPFLAGS = -I../ `pkg-config --cflags gtk+-2.0` CPPFLAGS_HILDON = -DHILDON `pkg-config --cflags hildon-1` @@ -18,7 +18,7 @@ app_obj = $(APP).app.o $(other_obj) 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) @@ -50,7 +50,8 @@ strip: $(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