projects
/
simple-launcher
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added osso_context_t pointer to 'activate' method
[simple-launcher]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
9678d96
..
b9c8c6f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,36
+1,41
@@
GTKCFLAGS := $(shell pkg-config gtk+-2.0 --cflags)
GTKLIBS := $(shell pkg-config gtk+-2.0 --libs)
GTKCFLAGS := $(shell pkg-config gtk+-2.0 --cflags)
GTKLIBS := $(shell pkg-config gtk+-2.0 --libs)
+GCONFCFLAGS := $(shell pkg-config gconf-2.0 --cflags)
+GCONFLIBS := $(shell pkg-config gconf-2.0 --libs)
+
DBUSCFLAGS := $(shell pkg-config dbus-1 --cflags)
DBUSLIBS := $(shell pkg-config dbus-1 --libs)
DBUSCFLAGS := $(shell pkg-config dbus-1 --cflags)
DBUSLIBS := $(shell pkg-config dbus-1 --libs)
-CXXFLAGS=-Wall -g -MMD $(GTKCFLAGS) $(DBUSCFLAGS)
+CXXFLAGS=-Wall -g -MMD $(GTKCFLAGS) $(DBUSCFLAGS) $(GCONFCFLAGS)
#LDFLAGS = -module -avoid-version
LDFLAGS = -shared
LIBS = -lstdc++
TARGET=simple-launcher.so
#LDFLAGS = -module -avoid-version
LDFLAGS = -shared
LIBS = -lstdc++
TARGET=simple-launcher.so
+DESKTOP_FILE=simple-launcher.desktop
+BACKUP_CONF=simple-launcher.backup
all: $(TARGET)
all: $(TARGET)
-tests: test test1
-
-$(TARGET): simple-launcher.o launcher-item.o sla-list.o
+$(TARGET): simple-launcher.o launchable-item.o launcher-item.o settings-page-items.o utils.o settings-dialog.o gconf-wrapper.o dialog-entry.o settings-page-entries.o
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
-test: test.o launcher-item.o
- g++ -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS) -losso
-
-test1: test1.o sla-list.o launcher-item.o
- g++ -g -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS)
-
clean:
clean:
- rm -f *.d *.o $(TARGET) test test1
+ rm -f *.d *.o $(TARGET)
install: $(TARGET)
install -d $(DESTDIR)/usr/share/applications/hildon-home
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)/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
+
+pclean:
+ fakeroot debian/rules clean
+
+package:
+ dpkg-buildpackage -rfakeroot -uc -b
-include *.d
-include *.d