X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Makefile;h=21edf3e6fbe90c62fdb278b2009d69f92092d398;hb=38658303583ad965c2e3aebffcda159f8fb87c36;hp=fb27a9874937e88caf7d2562eba9e91ecb2615d3;hpb=83a08deb46e9be3da3c83d130ff7698df0657f6f;p=simple-launcher diff --git a/Makefile b/Makefile index fb27a98..21edf3e 100644 --- a/Makefile +++ b/Makefile @@ -10,12 +10,14 @@ LDFLAGS = -shared LIBS = -lstdc++ TARGET=simple-launcher.so +DESKTOP_FILE=simple-launcher.desktop +BACKUP_CONF=simple-launcher.backup all: $(TARGET) tests: test test1 -$(TARGET): simple-launcher.o launchable-item.o launcher-item.o sla-list.o +$(TARGET): simple-launcher.o launchable-item.o launcher-item.o sla-list.o utils.o settings-dialog.o $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) test: test.o launcher-item.o @@ -29,8 +31,10 @@ clean: install: $(TARGET) install -d $(DESTDIR)/usr/share/applications/hildon-home - install -m 0644 simple-launcher.desktop $(DESTDIR)/usr/share/applications/hildon-home + install -m 0644 $(DESKTOP_FILE) $(DESTDIR)/usr/share/applications/hildon-home install -d $(DESTDIR)/usr/lib/hildon-home install -m 0644 $(TARGET) $(DESTDIR)/usr/lib/hildon-home + install -d $(DESTDIR)/etc/osso-backup/applications + install -m 0644 $(BACKUP_CONF) $(DESTDIR)/etc/osso-backup/applications/simple-launcher.conf -include *.d