summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2011-04-25 20:29:47 +0100
committerRobin Watts <robin@ghostscript.com>2011-04-25 19:48:00 +0000
commit1aa36eb18c490095e3bc6d3ee271f697055402e7 (patch)
tree97c923657b713ab6be5291f07ea71edea21480fe /Makerules
parenta45ae4ceb7bd8cbcd2f6d2ed608e8451f6b9dd9a (diff)
downloadmupdf-1aa36eb18c490095e3bc6d3ee271f697055402e7.tar.xz
Add libs target, and webos OS settings.
Add libs (to allow for building of libraries without apps, such as will be required for the WebOS bindings). Add 2 webos OS setups to the Makerules file to match the 2 default webos configurations used in the PDK.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 811c35c7..63a75d6a 100644
--- a/Makerules
+++ b/Makerules
@@ -64,3 +64,21 @@ CFLAGS += -O3 -mfpu=neon -mcpu=cortex-a8 -mfloat-abi=softfp -ftree-vectorize -ff
CROSSCOMPILE=yes
NOX11=yes
endif
+
+ifeq "$(OS)" "webos-pre-cross"
+CC = arm-none-linux-gnueabi-gcc
+LD = arm-none-linux-gnueabi-gcc
+AR = arm-none-linux-gnueabi-ar
+CFLAGS += -O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -fsingle-precision-constant
+CROSSCOMPILE=yes
+NOX11=yes
+endif
+
+ifeq "$(OS)" "webos-pixi-cross"
+CC = arm-none-linux-gnueabi-gcc
+LD = arm-none-linux-gnueabi-gcc
+AR = arm-none-linux-gnueabi-ar
+CFLAGS += -O3 -mcpu=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -ffast-math -fsingle-precision-constant
+CROSSCOMPILE=yes
+NOX11=yes
+endif