annotate Makefile.embedded @ 63:e4764587cf8b

Added tag r0.9 for changeset 8b3f468f1bf9
author cslag
date Thu, 31 Dec 2015 00:23:19 +0100
parents 3e629dc19168
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 MAKEFILE = Makefile.embedded
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 MAKE_CMD = ${MAKE} -f ${MAKEFILE}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 all:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 cd dynload && ${MAKE_CMD}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 cd dyncall && ${MAKE_CMD}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 cd dyncallback && ${MAKE_CMD}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 tests:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 cd test && ${MAKE_CMD}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 clean:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 cd dynload && ${MAKE_CMD} clean
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 cd dyncall && ${MAKE_CMD} clean
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 cd dyncallback && ${MAKE_CMD} clean
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 cd test && ${MAKE_CMD} clean
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 install:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 cd dynload && ${MAKE_CMD} install
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 cd dyncall && ${MAKE_CMD} install
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 cd dyncallback && ${MAKE_CMD} install
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 bsd:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 linux:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 linux64:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 CFLAGS="${CFLAGS} -m64" ASFLAGS="${ASFLAGS} -m64" ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 minix-gcc:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 cd dyncall && CC=gcc CFLAGS= ${MAKE_CMD}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 cd dyncallback && CC=gcc CFLAGS= ${MAKE_CMD}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 mingw32:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 ${MAKE_CMD} CC=gcc AS="gcc -c" all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 osx:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 osx-universal:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 CFLAGS="${CFLAGS} -arch i386 -arch x86_64 -arch ppc" ASFLAGS="${ASFLAGS} -arch i386 -arch x86_64 -arch ppc" AR="libtool" ARFLAGS="-static -o" ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 osx-template:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 CC="${CC} ${OSX_ARCH}" AS="${AS} ${OSX_ARCH}" ${MAKE_CMD}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 osx-i386:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 OSX_ARCH="-arch i386" ${MAKE_CMD} osx-template
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 sun:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 CFLAGS="${CFLAGS}" ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 sun-64bit:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 CFLAGS="${CFLAGS} -m64" ASFLAGS="${ASFLAGS} -m64" ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 sun-gcc:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 CC=gcc CFLAGS="${CFLAGS} -fPIC" ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 sun-gcc-64bit:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 CC=gcc CFLAGS="${CFLAGS} -m64" ASFLAGS="${ASFLAGS} -m64" ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 ios-sdkroot:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 \
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 AS="${CC} ${IOS_ARCH} -miphoneos-version-min=${IOS_SDK}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 CC="${CC} ${IOS_ARCH} -miphoneos-version-min=${IOS_SDK}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 CXX="${CXX} ${IOS_ARCH} -miphoneos-version-min=${IOS_SDK}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 LD="${LD} ${IOS_ARCH} -miphoneos-version-min=${IOS_SDK}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 ASFLAGS="-isysroot ${IOS_SDKROOT}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 CFLAGS="-isysroot ${IOS_SDKROOT}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 CXXFLAGS="-isysroot ${IOS_SDKROOT}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 LDFLAGS="-Wl,-syslibroot ${IOS_SDKROOT}"\
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 ${MAKE_CMD} all
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 ios:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 IOS_SDKROOT="`xcode-select -print-path`/Platforms/iPhone${IOS_PLATFORM}.platform/Developer/SDKs/iPhone${IOS_PLATFORM}${IOS_SDK}.sdk" ${MAKE_CMD} ios-sdkroot
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 ios-sim:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 IOS_PLATFORM="Simulator" ${MAKE_CMD} ios
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 ios-os:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 IOS_PLATFORM="OS" ${MAKE_CMD} ios
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 # NOTE iOS 6.1 does not support armv6 (has no libs)
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 ios61-os:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 IOS_SDK="6.1" IOS_ARCH="-arch armv7" ${MAKE_CMD} ios-os
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 ios61-os-no-thumb:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 IOS_SDK="6.1" IOS_ARCH="-arch armv7 -mno-thumb" ${MAKE_CMD} ios-os
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 ios61-sim:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 IOS_SDK="6.1" IOS_ARCH="-arch i386" ${MAKE_CMD} ios-sim
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 ios83-os-universal:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 IOS_SDK="8.3" IOS_ARCH="-arch armv7 -arch arm64" ${MAKE_CMD} ios-os
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 ios83-sim:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 IOS_SDK="8.3" IOS_ARCH="-arch i386" ${MAKE_CMD} ios-sim
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 .PHONY: all tests clean install bsd linux linux64 minix-gcc mingw32 osx osx-universal sun sun-64bit sun-gcc sun-gcc-64bit