2006-01-06 01:01:38 +03:00
|
|
|
GCCSDK_INSTALL_CROSSBIN ?= /home/riscos/cross/bin
|
|
|
|
GCCSDK_INSTALL_ENV ?= /home/riscos/env
|
2004-05-21 00:06:31 +04:00
|
|
|
|
2006-01-06 01:01:38 +03:00
|
|
|
CC = $(GCCSDK_INSTALL_CROSSBIN)/gcc
|
|
|
|
CC_DEBUG = /usr/bin/gcc
|
|
|
|
ASM = $(GCCSDK_INSTALL_CROSSBIN)/gcc
|
|
|
|
|
|
|
|
PLATFORM_CFLAGS_RISCOS = -I$(GCCSDK_INSTALL_ENV)/include \
|
|
|
|
-I$(GCCSDK_INSTALL_ENV)/include/libxml2 \
|
2006-04-10 03:21:13 +04:00
|
|
|
-I$(GCCSDK_INSTALL_ENV)/include/libmng \
|
|
|
|
#-finstrument-functions
|
2004-06-03 01:40:55 +04:00
|
|
|
PLATFORM_CFLAGS_DEBUG = -I/usr/include/libxml2 -I/riscos/src/OSLib \
|
|
|
|
-I/riscos/include/libjpeg -D_POSIX_C_SOURCE
|
2006-01-06 01:01:38 +03:00
|
|
|
PLATFORM_AFLAGS_RISCOS = -I$(GCCSDK_INSTALL_ENV)/include
|
2004-05-21 00:06:31 +04:00
|
|
|
|
2006-01-06 01:01:38 +03:00
|
|
|
LDFLAGS_RISCOS = -L$(GCCSDK_INSTALL_ENV)/lib -lxml2 -lz -lcurl -lssl -lcrypto \
|
2006-04-10 03:21:13 +04:00
|
|
|
-lcares -lmng -lOSLib32 -ljpeg -lrufl -lpencil #-lprof
|
2006-01-06 01:01:38 +03:00
|
|
|
LDFLAGS_SMALL = -L$(GCCSDK_INSTALL_ENV)/lib -lxml2 -lz -lucurl \
|
|
|
|
-lcares -lmng -lOSLib32 -ljpeg -lrufl -lpencil
|
2004-07-26 01:13:45 +04:00
|
|
|
LDFLAGS_DEBUG = -L/usr/lib -lxml2 -lz -lm -lcurl -lssl -lcrypto -ldl -lmng \
|
|
|
|
-ljpeg -llcms
|
2004-05-21 00:06:31 +04:00
|
|
|
|
2006-03-23 23:19:03 +03:00
|
|
|
# Hackery for Cygwin - it has no libdl, so remove it from LDFLAGS
|
|
|
|
ifeq ($(shell echo $$OS),Windows_NT)
|
|
|
|
LDFLAGS_DEBUG := $(subst -ldl,,$(LDFLAGS_DEBUG))
|
|
|
|
endif
|
|
|
|
|
2004-06-03 01:40:55 +04:00
|
|
|
RUNIMAGE = !NetSurf/!RunImage,ff8
|
2004-07-20 15:29:06 +04:00
|
|
|
NCRUNIMAGE = !NCNetSurf/!RunImage,ff8
|