-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paths3ePlayhaven_build.mkf
127 lines (109 loc) · 2.8 KB
/
s3ePlayhaven_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
125
126
127
# mkf file for building extension s3ePlayhaven.
# 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/s3ePlayhaven"
includepath source/h
includepath h
defines
{
#Define the verbose channel to be off by default (but controllable by icf)
IW_TRACE_CHANNEL_PLAYHAVEN_VERBOSE=2
#This macro indicates that this extension is being built
S3E_EXT_PLAYHAVEN
}
#This command re-generates the relevant source files from the s4e when
#the mkb is run
extension
{
("$MARMALADE_ROOT/s3e/edk/builder")
"edk_build s3ePlayhaven.s4e"
}
#include the extension builder subproject
subproject "$MARMALADE_ROOT/s3e/edk"
if {{defined I3D_OS_IPHONE}}
{
define PH_NAMESPACE_LIBS # PH_NAMESPACE_LIBS puts OpenUDID and SBJSON in their own namespace
includepath sdk-ios/src
includepath sdk-ios/JSON
includepath sdk-ios/OpenUDID
includepath sdk-ios/Cache
files
{
["source"]
(use_first_found, source/iphone)
PH_IOS_defines.txt
s3ePlayhaven_platform.mm
#Add any iphone-specific files here
["WaterWorks"]
(sdk-ios/WaterWorks)
"*.m"
["SBJSON"]
(sdk-ios/JSON)
"*.m"
["SDCachedURLResponse"]
(sdk-ios/Cache)
"*.m"
["PH Source"]
(sdk-ios/src)
"*.m"
}
}
if {{defined I3D_OS_WINDOWS}}
{
files
{
["source"]
(use_first_found, source/windows, source/generic)
s3ePlayhaven_platform.cpp
#Add any windows-specific files here
}
}
if {{defined S3E_ANDROID}}
{
files
{
["source"]
(use_first_found, source/android, source/generic)
s3ePlayhaven_platform.cpp
#Add any android-specific files here
}
}
if {{defined I3D_OS_OSX}}
{
files
{
["source"]
(use_first_found, source/osx, source/generic)
s3ePlayhaven_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)
s3ePlayhaven_platform.cpp
#Add any linux-specific files here
}
}
files
{
(source/generic)
# 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'
s3ePlayhaven_register.cpp
s3ePlayhaven.cpp
["h"]
(source/h)
s3ePlayhaven_internal.h
s3ePlayhaven_autodefs.h
["docs"]
(interface)
s3ePlayhaven.defines.txt
[]
(.)
s3ePlayhaven.s4e
}