-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths3eAndroidOS_build.mkf
124 lines (104 loc) · 2.5 KB
/
s3eAndroidOS_build.mkf
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# mkf file for building extension s3eAndroidOS.
# NOTE: This file was originally written by the extension builder, but will not
# be overwritten (unless --force is specified) and is intended to be modified.
display_name "Extensions/s3eAndroidOS"
includepath source/h
includepath h
defines
{
#Define the verbose channel to be off by default (but controllable by icf)
IW_TRACE_CHANNEL_ANDROIDOS_VERBOSE=2
#This macro indicates that this extension is being built
S3E_EXT_ANDROIDOS
}
#This command re-generates the relevant source files from the s4e when
#the mkb is run
extension
{
("$MARMALADE_ROOT/s3e/edk/builder")
"edk_build s3eAndroidOS.s4e"
}
#include the extension builder subproject
subproject "$MARMALADE_ROOT/s3e/edk"
if {{defined I3D_OS_IPHONE}}
{
files
{
["source"]
(use_first_found, source/iphone, source/generic)
s3eAndroidOS_platform.mm
#Add any iphone-specific files here
}
}
if {{defined I3D_OS_WINDOWS}}
{
files
{
["source"]
(use_first_found, source/windows, source/generic)
s3eAndroidOS_platform.cpp
#Add any windows-specific files here
}
}
if {{defined S3E_ANDROID}}
{
files
{
["source"]
(use_first_found, source/android, source/generic)
s3eAndroidOS_platform.cpp
#Add any android-specific files here
}
}
if {{defined I3D_OS_OSX}}
{
files
{
["source"]
(use_first_found, source/osx, source/generic)
s3eAndroidOS_platform.mm
#Add any osx-specific files here
}
}
if {{defined I3D_OS_LINUX and not defined S3E_ANDROID}}
{
files
{
["source"]
(use_first_found, source/linux, source/generic)
s3eAndroidOS_platform.cpp
#Add any linux-specific files here
}
}
if {{defined I3D_OS_WP8}}
{
files
{
["h"]
(source/wp8)
s3eAndroidOS_shim.h
["source"]
(use_first_found, source/wp8, source/generic)
s3eAndroidOS_platform.cpp
s3eAndroidOS_shim.cpp
#Add any wp8-specific files here
}
}
files
{
# Add any platform-independent files here
# Note that if the file exists in the platform-specific directory
# it will be taken from there instead of 'generic'
s3eAndroidOS_register.cpp
s3eAndroidOS.cpp
["h"]
(source/h)
s3eAndroidOS_internal.h
s3eAndroidOS_autodefs.h
["docs"]
(interface)
s3eAndroidOS.defines.txt
[]
(.)
s3eAndroidOS.s4e
}