forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
190 lines (127 loc) · 4.87 KB
/
Makefile
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
###############################################################################
# Engine Targets
.PHONY: libopenssl liburlcache libstubs
.PHONY: libexternal libexternalv1 libz libjpeg libpcre libpng libplugin libcore libgraphics libskia
.PHONY: revsecurity libgif
.PHONY: kernel development standalone webruntime webplugin webplayer server
.PHONY: kernel-standalone kernel-development kernel-server
.PHONY: libireviam onrev-server
libexternal:
$(MAKE) -C ./libexternal libexternal
libexternalv1:
$(MAKE) -C ./libexternalv1 libexternalv1
libz:
$(MAKE) -C ./thirdparty/libz libz
libjpeg:
$(MAKE) -C ./thirdparty/libjpeg libjpeg
libpcre:
$(MAKE) -C ./thirdparty/libpcre libpcre
libpng:
$(MAKE) -C ./thirdparty/libpng libpng
libgif:
$(MAKE) -C ./thirdparty/libgif libgif
libopenssl:
$(MAKE) -C ./thirdparty/libopenssl libopenssl
libskia:
$(MAKE) -C ./thirdparty/libskia libskia
libcore:
$(MAKE) -C ./libcore libcore
revsecurity:
$(MAKE) -C ./thirdparty/libopenssl -f Makefile.revsecurity revsecurity
libgraphics: libskia
$(MAKE) -C ./libgraphics libgraphics
kernel: libz libgif libjpeg libpcre libpng libopenssl libexternal libcore libgraphics
$(MAKE) -C ./engine -f Makefile.kernel libkernel
kernel-standalone: kernel
$(MAKE) -C ./engine -f Makefile.kernel-standalone libkernel-standalone
kernel-development: kernel
$(MAKE) -C ./engine -f Makefile.kernel-development libkernel-development
kernel-server: libz libgif libjpeg libpcre libpng libopenssl libexternal libcore libgraphics
$(MAKE) -C ./engine -f Makefile.kernel-server libkernel-server
development: libz libgif libjpeg libpcre libpng libopenssl libexternal libcore kernel kernel-development revsecurity
$(MAKE) -C ./engine -f Makefile.development engine-community
standalone: libz libgif libjpeg libpcre libpng libopenssl libcore kernel revsecurity kernel-standalone revsecurity
$(MAKE) -C ./engine -f Makefile.standalone standalone-community
installer: libz libgif libjpeg libpcre libpng libopenssl libexternal libcore kernel revsecurity
$(MAKE) -C ./engine -f Makefile.installer installer
server: libz libgif libjpeg libpcre libpng libopenssl libexternal libcore kernel-server revsecurity libgraphics
$(MAKE) -C ./engine -f Makefile.server server-community
###############################################################################
# revPDFPrinter Targets
.PHONY: libcairopdf revpdfprinter
libcairopdf:
$(MAKE) -C ./thirdparty/libcairo libcairopdf
revpdfprinter: libcairopdf libcore
$(MAKE) -C ./revpdfprinter revpdfprinter
###############################################################################
# revDB Targets
.PHONY: libpq libmysql libsqlite libiodbc
libpq:
$(MAKE) -C ./thirdparty/libpq libpq
libmysql:
$(MAKE) -C ./thirdparty/libmysql libmysql
libsqlite:
$(MAKE) -C ./thirdparty/libsqlite libsqlite
libiodbc:
$(MAKE) -C ./thirdparty/libiodbc libiodbc
#####
.PHONY: dbpostgresql dbmysql dbsqlite dbodbc server-dbpostgresql server-dbmysql server-dbodbc server-dbsqlite
dbpostgresql: libpq
$(MAKE) -C ./revdb dbpostgresql
dbmysql: libmysql libz libopenssl
$(MAKE) -C ./revdb dbmysql
dbsqlite: libsqlite libexternal
$(MAKE) -C ./revdb dbsqlite
dbodbc: libiodbc libexternal
$(MAKE) -C ./revdb dbodbc
server-dbpostgresql: libpq
$(MAKE) -C ./revdb server-dbpostgresql
server-dbmysql: libmysql libz
$(MAKE) -C ./revdb server-dbmysql
server-dbsqlite: libsqlite libexternal
$(MAKE) -C ./revdb server-dbsqlite
server-dbodbc: libiodbc libexternal
$(MAKE) -C ./revdb server-dbodbc
####
.PHONY: revdb server-revdb
revdb: libexternal
$(MAKE) -C ./revdb revdb
server-revdb: libexternal
$(MAKE) -C ./revdb server-revdb
###############################################################################
# revXML Targets
.PHONY: libxml libxslt revxml server-revxml
libxml:
$(MAKE) -C ./thirdparty/libxml libxml
libxslt:
$(MAKE) -C ./thirdparty/libxslt libxslt
revxml: libxml libxslt libexternal
$(MAKE) -C ./revxml revxml
server-revxml: libxml libxslt libexternal
$(MAKE) -C ./revxml server-revxml
###############################################################################
# revZip Targets
.PHONY: libzip revzip server-revzip
libzip:
$(MAKE) -C ./thirdparty/libzip libzip
revzip: libzip libz libexternal
$(MAKE) -C ./revzip revzip
server-revzip: libzip libz libexternal
$(MAKE) -C ./revzip server-revzip
###############################################################################
# revAndroid Targets
.PHONY: revandroid
revandroid: libexternalv1
$(MAKE) -C ./revmobile revandroid
###############################################################################
# All Targets
.PHONY: all clean
.DEFAULT_GOAL := all
all: revzip server-revzip
all: revxml server-revxml
all: revpdfprinter revandroid
all: revdb dbodbc dbsqlite dbmysql dbpostgresql
all: server-revdb server-dbodbc server-dbsqlite server-dbmysql server-dbpostgresql
all: development standalone installer server
clean:
@rm -r _build/linux _cache/linux