diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2011-04-25 20:29:47 +0100 |
---|---|---|
committer | Robin Watts <robin@ghostscript.com> | 2011-04-25 19:48:00 +0000 |
commit | 1aa36eb18c490095e3bc6d3ee271f697055402e7 (patch) | |
tree | 97c923657b713ab6be5291f07ea71edea21480fe | |
parent | a45ae4ceb7bd8cbcd2f6d2ed608e8451f6b9dd9a (diff) | |
download | mupdf-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.
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | Makerules | 18 |
2 files changed, 21 insertions, 0 deletions
@@ -74,6 +74,9 @@ $(FITZ_LIB) : $(addprefix $(OUT)/, $(FITZ_SRC:%.c=%.o)) $(MUPDF_LIB) : $(addprefix $(OUT)/, $(MUPDF_SRC:%.c=%.o)) $(MUXPS_LIB) : $(addprefix $(OUT)/, $(MUXPS_SRC:%.c=%.o)) +libs: $(MUXPS_LIB) $(MUPDF_LIB) $(FITZ_LIB) $(THIRD_LIBS) + @ echo MuPDF/XPS and underlying libraries built + # --- Generated CMAP and FONT files --- CMAPDUMP := $(OUT)/cmapdump @@ -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 |