forked from ArtifexSoftware/mupdf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake_wiiu.sh
More file actions
executable file
·35 lines (29 loc) · 1.06 KB
/
make_wiiu.sh
File metadata and controls
executable file
·35 lines (29 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
cd /project/mupdf-devkitppc
pwd
worked_but_big(){
make clean
make \
CC=$DEVKITPRO/devkitPPC/bin/powerpc-eabi-gcc \
CXX=$DEVKITPRO/devkitPPC/bin/powerpc-eabi-g++ \
AR="$DEVKITPRO/devkitPPC/bin/powerpc-eabi-ar" \
LD="$DEVKITPRO/devkitPPC/bin/powerpc-eabi-ld" \
CFLAGS="-I./include -O2 -ffunction-sections -fdata-sections -DESPRESSO -mcpu=750 -meabi -mhard-float -D__WIIU__ -D__WUT__ -DBIGENDIAN -DFZ_ENABLE_BARCODE=0 -D_GNU_SOURCE -DCMS_NO_PTHREADS" \
CXXFLAGS="-I./include -O2 -ffunction-sections -fdata-sections -DESPRESSO -mcpu=750 -meabi -mhard-float -D__WIIU__ -D__WUT__ -DBIGENDIAN -DFZ_ENABLE_BARCODE=0 -D_GNU_SOURCE -DCMS_NO_PTHREADS" \
HAVE_X11=no \
HAVE_GL=no \
HAVE_GLUT=no \
HAVE_CURL=no \
HAVE_OBJCOPY=no \
HAVE_HARFBUZZ=yes \
html=yes \
shared=no \
threading=no \
HARFBUZZ_SRC= \
FREETYPE_SRC= \
XCFLAGS="$($DEVKITPRO/portlibs/wiiu/bin/powerpc-eabi-pkg-config --cflags harfbuzz freetype2)" \
XLIBS="$($DEVKITPRO/portlibs/wiiu/bin/powerpc-eabi-pkg-config --libs harfbuzz freetype2)" \
build/release/libmupdf.a \
build/release/libmupdf-third.a
}
worked_but_big