mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Make sure new Makefile works when cross-building to RISC OS, as well as when building natively.
svn path=/trunk/netsurf/; revision=4778
This commit is contained in:
parent
e0e6f02f82
commit
97e1d9503f
9
Makefile
9
Makefile
@ -2,15 +2,16 @@
|
||||
# Makefile for NetSurf
|
||||
#
|
||||
# Copyright 2007 Daniel Silverstone <dsilvers@netsurf-browser.org>
|
||||
# Copyright 2008 Rob Kendrick <rjek@netsurf-browser.org>
|
||||
#
|
||||
#
|
||||
|
||||
# Trivially, invoke as:
|
||||
# make
|
||||
# to build native, or:
|
||||
# make TARGET=riscos
|
||||
# to cross-build for RO.
|
||||
#
|
||||
# Look at Makefile.config for configuration options.
|
||||
#
|
||||
# Tested on unix platforms (building for GTK and cross-compiling for RO) and
|
||||
# on RO (building for RO).
|
||||
#
|
||||
@ -171,11 +172,15 @@ LDFLAGS += -lz
|
||||
ifeq ($(HOST),riscos)
|
||||
LDFLAGS := -Xlinker -symbols=$(OBJROOT)/sym -lxml2 -lz -lm -lcurl -lssl \
|
||||
-lcrypto -lcares
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET),riscos)
|
||||
|
||||
$(eval $(call feature_enabled,NSSVG,-DWITH_NS_SVG,-lsvgtiny))
|
||||
$(eval $(call feature_enabled,DRAW,-DWITH_DRAW,-lpencil))
|
||||
$(eval $(call feature_enabled,SPRITE,-DWITH_SPRITE,))
|
||||
$(eval $(call feature_enabled,ARTWORKS,-DWITH_ARTWORKS,))
|
||||
|
||||
endif
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user