projects
/
browser-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an Xsession.post script for Fremantle to launch browser-switchboard on session...
[browser-switch]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
15c8199
..
e6e1bb8
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,11
+1,11
@@
CC = gcc
CFLAGS = -Wall -Os $(EXTRA_CFLAGS)
CPPFLAGS = `pkg-config --cflags dbus-glib-1` $(EXTRA_CPPFLAGS)
CC = gcc
CFLAGS = -Wall -Os $(EXTRA_CFLAGS)
CPPFLAGS = `pkg-config --cflags dbus-glib-1` $(EXTRA_CPPFLAGS)
-LDFLAGS = `pkg-config --libs dbus-glib-1` $(EXTRA_LDFLAGS)
+LDFLAGS = -Wl,--as-needed `pkg-config --libs dbus-glib-1` $(EXTRA_LDFLAGS)
PREFIX = /usr
APP = browser-switchboard
PREFIX = /usr
APP = browser-switchboard
-obj = main.o launcher.o dbus-server-bindings.o configfile.o log.o
+obj = main.o launcher.o dbus-server-bindings.o config.o configfile.o log.o
all:
@echo 'Usage:'
all:
@echo 'Usage:'
@@
-19,7
+19,7
@@
fremantle:
$(APP): dbus-server-glue.h $(obj)
$(APP): dbus-server-glue.h $(obj)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(APP) $(obj)
+ $(CC) $(CFLAGS) -o $(APP) $(obj) $(LDFLAGS)
dbus-server-glue.h:
dbus-binding-tool --mode=glib-server --prefix="osso_browser" \
dbus-server-glue.h:
dbus-binding-tool --mode=glib-server --prefix="osso_browser" \