summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-07-29 08:57:51 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-07-29 08:57:51 +0000
commit00687fcddac4f145fbe143426dbb923fca532a8b (patch)
tree8c23688301e136a9a69bdab24133024a2eac87b0 /Makefile
parentfb829616039c7dde5ef1042c534cd40c043a508c (diff)
downloadnetsurf-00687fcddac4f145fbe143426dbb923fca532a8b.tar.gz
netsurf-00687fcddac4f145fbe143426dbb923fca532a8b.tar.bz2
- don't use haru pdf on BeOS yet
- make BeOS resource definition file depend on needed files - add option to strip the binary, off by default. svn path=/trunk/netsurf/; revision=4787
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9261f117c..27b2c93aa 100644
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,9 @@ endif
ifeq ($(HOST),beos)
LDFLAGS += -L/boot/home/config/lib
+ # some people do *not* have libm...
LDFLAGS += -lxml2 -lz -lcurl -lssl -lcrypto -liconv
+ LDFLAGS += -lmng -ljpeg
endif
# ----------------------------------------------------------------------------
@@ -385,6 +387,8 @@ ifneq ($(GCCVER),2)
WARNFLAGS += -Wno-unused-parameter
endif
+STRIP := strip
+
OPT0FLAGS = -O0
# -O and -O2 can use -Wuninitialized which gives us more static checking.
# unfortunately the optimiser is what provides the hints in the code tree
@@ -407,6 +411,10 @@ else
$(Q)$(ELF2AIF) $(EXETARGET:,ff8=,e1f) $(EXETARGET)
$(Q)$(RM) $(EXETARGET:,ff8=,e1f)
endif
+ifeq ($(NETSURF_STRIP_BINARY),YES)
+ $(VQ)echo " STRIP: $(EXETARGET)"
+ $(Q)$(STRIP) $(EXETARGET)
+endif
ifeq ($(TARGET),beos)
$(VQ)echo " XRES: $(EXETARGET)"
$(Q)$(BEOS_XRES) -o $(EXETARGET) $(RSRC_BEOS)
@@ -420,7 +428,7 @@ ifeq ($(TARGET),beos)
endif
ifeq ($(TARGET),beos)
-$(RSRC_BEOS): $(RDEF_BEOS)
+$(RSRC_BEOS): $(RDEF_BEOS) $(RDEP_BEOS)
$(VQ)echo " RC: $<"
$(Q)$(BEOS_RC) -o $@ $<
endif