diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-06 14:32:44 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-07-06 14:32:44 +0000 |
commit | 7f29141f5069d02843468785a54543a2f6d9260a (patch) | |
tree | 18a60e0aa3081bcb49156782f4c30576679cdc52 /Makefile-riscos | |
download | libdom-7f29141f5069d02843468785a54543a2f6d9260a.tar.gz libdom-7f29141f5069d02843468785a54543a2f6d9260a.tar.bz2 |
Import DOM library.
This is mainly stub functions atm (and is missing a number of key interfaces).
svn path=/trunk/dom/; revision=3384
Diffstat (limited to 'Makefile-riscos')
-rw-r--r-- | Makefile-riscos | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Makefile-riscos b/Makefile-riscos new file mode 100644 index 0000000..f1d8cf0 --- /dev/null +++ b/Makefile-riscos @@ -0,0 +1,38 @@ +# Toolchain definitions for building for RISC OS using the GCCSDK cross-compiler +GCCSDK_INSTALL_CROSSBIN ?= /home/riscos/cross/bin +GCCSDK_INSTALL_ENV ?= /home/riscos/env + +export CC = $(GCCSDK_INSTALL_CROSSBIN)/gcc +export AR = $(GCCSDK_INSTALL_CROSSBIN)/ar +export LD = $(GCCSDK_INSTALL_CROSSBIN)/gcc + +export CP = cp +export RM = rm +export MKDIR = mkdir +export MV = mv +export ECHO = echo +export MAKE = make +export PERL = perl +export PKGCONFIG = pkg-config + +# Toolchain flags +WARNFLAGS = -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ + -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs -Werror -pedantic +export CFLAGS = -std=c99 -D_BSD_SOURCE -I$(TOP)/include/ $(WARNFLAGS) \ + -mpoke-function-name +export ARFLAGS = -cru +export LDFLAGS = -L$(TOP)/ + +export CPFLAGS = +export RMFLAGS = +export MKDIRFLAGS = -p +export MVFLAGS = +export ECHOFLAGS = +export MAKEFLAGS = +export PKGCONFIGFLAGS = + +export EXEEXT = ,ff8 + + +include build/Makefile.common |