OLD | NEW |
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 # | 4 # |
5 # Makefile | 5 # Makefile |
6 # | 6 # |
7 # usage: 'make [package]' | 7 # usage: 'make [package]' |
8 # | 8 # |
9 # This makefile builds all of the Native Client ports listed below | 9 # This makefile builds all of the Native Client ports listed below |
10 # in $(ALL_PORTS). Each port has a dependency on its own sentinel | 10 # in $(ALL_PORTS). Each port has a dependency on its own sentinel |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 ports/opencv \ | 159 ports/opencv \ |
160 ports/OpenSceneGraph \ | 160 ports/OpenSceneGraph \ |
161 ports/openssh \ | 161 ports/openssh \ |
162 ports/openssl \ | 162 ports/openssl \ |
163 ports/pango \ | 163 ports/pango \ |
164 ports/pcre \ | 164 ports/pcre \ |
165 ports/physfs \ | 165 ports/physfs \ |
166 ports/pixman \ | 166 ports/pixman \ |
167 ports/protobuf \ | 167 ports/protobuf \ |
168 ports/python \ | 168 ports/python \ |
| 169 ports/python_static \ |
169 ports/python_ppapi \ | 170 ports/python_ppapi \ |
170 ports/python3 \ | 171 ports/python3 \ |
171 ports/python3_ppapi \ | 172 ports/python3_ppapi \ |
172 ports/readline \ | 173 ports/readline \ |
173 ports/Regal \ | 174 ports/Regal \ |
174 ports/ruby \ | 175 ports/ruby \ |
175 ports/ruby_ppapi \ | 176 ports/ruby_ppapi \ |
176 ports/scummvm \ | 177 ports/scummvm \ |
177 ports/SDL \ | 178 ports/SDL \ |
178 ports/SDL_image \ | 179 ports/SDL_image \ |
179 ports/SDL_mixer \ | 180 ports/SDL_mixer \ |
180 ports/SDL_net \ | 181 ports/SDL_net \ |
181 ports/SDL_ttf \ | 182 ports/SDL_ttf \ |
182 ports/snes9x \ | 183 ports/snes9x \ |
183 ports/speex \ | 184 ports/speex \ |
184 ports/sqlite \ | 185 ports/sqlite \ |
185 ports/subversion \ | 186 ports/subversion \ |
186 ports/thttpd \ | 187 ports/thttpd \ |
187 ports/tiff \ | 188 ports/tiff \ |
188 ports/tinyxml \ | 189 ports/tinyxml \ |
189 ports/toybox \ | 190 ports/toybox \ |
190 ports/vim \ | 191 ports/vim \ |
191 ports/webp \ | 192 ports/webp \ |
192 ports/x264 \ | 193 ports/x264 \ |
193 ports/xaos \ | 194 ports/xaos \ |
194 ports/yajl \ | 195 ports/yajl \ |
195 ports/zeromq \ | 196 ports/zeromq \ |
196 ports/zlib | 197 ports/zlib \ |
| 198 ports/python_modules/python_host \ |
| 199 ports/python_modules/numpy \ |
| 200 ports/python_modules/cython \ |
| 201 ports/python_modules/pyppapi \ |
| 202 ports/python_modules/setuptools \ |
| 203 ports/python_modules/ipython \ |
| 204 ports/python_modules/jinja2 \ |
| 205 ports/python_modules/yt \ |
| 206 ports/python_modules/pyzmq \ |
| 207 ports/python_modules/sympy \ |
| 208 ports/python_modules/h5py \ |
| 209 ports/python_modules/matplotlib |
197 | 210 |
198 SENTINELS_DIR = $(NACL_OUT)/sentinels | 211 SENTINELS_DIR = $(NACL_OUT)/sentinels |
199 SENT := $(SENTINELS_DIR)/$(NACL_ARCH) | 212 SENT := $(SENTINELS_DIR)/$(NACL_ARCH) |
200 ifneq ($(NACL_ARCH), pnacl) | 213 ifneq ($(NACL_ARCH), pnacl) |
201 SENT := $(SENT)_$(NACL_LIBC) | 214 SENT := $(SENT)_$(NACL_LIBC) |
202 endif | 215 endif |
203 ifeq ($(NACL_DEBUG), 1) | 216 ifeq ($(NACL_DEBUG), 1) |
204 SENT := $(SENT)_debug | 217 SENT := $(SENT)_debug |
205 endif | 218 endif |
206 | 219 |
| 220 -include Makefile.local |
| 221 |
207 all: $(ALL_PORTS) | 222 all: $(ALL_PORTS) |
208 # The subset of libraries that are shipped as part of the | 223 # The subset of libraries that are shipped as part of the |
209 # official NaCl SDK | 224 # official NaCl SDK |
210 SDK_LIBS = freealut freetype jpeg lua5.2 modplug ogg openal png theora tiff tiny
xml | 225 SDK_LIBS = freealut freetype jpeg lua5.2 modplug ogg openal png theora tiff tiny
xml |
211 SDK_LIBS += vorbis webp xml2 zlib | 226 SDK_LIBS += vorbis webp xml2 zlib |
212 sdklibs: $(SDK_LIBS) | 227 sdklibs: $(SDK_LIBS) |
213 | 228 |
214 package_list: | 229 package_list: |
215 @echo $(notdir $(ALL_PORTS)) | 230 @echo $(notdir $(ALL_PORTS)) |
216 | 231 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 $(SENT)/ports/ffmpeg: ports/lame ports/libvorbis ports/libtheora \ | 293 $(SENT)/ports/ffmpeg: ports/lame ports/libvorbis ports/libtheora \ |
279 ports/glibc-compat | 294 ports/glibc-compat |
280 $(SENT)/ports/webp: ports/tiff ports/jpeg8d | 295 $(SENT)/ports/webp: ports/tiff ports/jpeg8d |
281 $(SENT)/ports/libav: ports/lame ports/libvorbis | 296 $(SENT)/ports/libav: ports/lame ports/libvorbis |
282 $(SENT)/ports/libtar: ports/zlib | 297 $(SENT)/ports/libtar: ports/zlib |
283 ifeq ($(LUA_NO_READLINE),) | 298 ifeq ($(LUA_NO_READLINE),) |
284 $(SENT)/ports/lua5.1: ports/readline | 299 $(SENT)/ports/lua5.1: ports/readline |
285 $(SENT)/ports/lua5.2: ports/readline | 300 $(SENT)/ports/lua5.2: ports/readline |
286 endif | 301 endif |
287 $(SENT)/ports/python: ports/readline ports/zlib | 302 $(SENT)/ports/python: ports/readline ports/zlib |
| 303 $(SENT)/ports/python_static: ports/readline ports/zlib ports/glibc-compat \ |
| 304 ports/python_modules/pyppapi |
288 $(SENT)/ports/python3: ports/readline ports/zlib | 305 $(SENT)/ports/python3: ports/readline ports/zlib |
289 $(SENT)/ports/ruby: ports/readline ports/zlib | 306 $(SENT)/ports/ruby: ports/readline ports/zlib |
290 $(SENT)/ports/sqlite: ports/readline | 307 $(SENT)/ports/sqlite: ports/readline |
291 $(SENT)/ports/apr-util: ports/apr ports/expat | 308 $(SENT)/ports/apr-util: ports/apr ports/expat |
292 $(SENT)/ports/subversion: ports/apr ports/apr-util ports/sqlite ports/zlib | 309 $(SENT)/ports/subversion: ports/apr ports/apr-util ports/sqlite ports/zlib |
293 $(SENT)/ports/nethack: ports/ncurses ports/libtar | 310 $(SENT)/ports/nethack: ports/ncurses ports/libtar |
294 $(SENT)/ports/bash: ports/ncurses ports/libtar ports/nacl-spawn | 311 $(SENT)/ports/bash: ports/ncurses ports/libtar ports/nacl-spawn |
295 $(SENT)/ports/nano: ports/ncurses ports/libtar ports/glibc-compat | 312 $(SENT)/ports/nano: ports/ncurses ports/libtar ports/glibc-compat |
296 $(SENT)/ports/vim: ports/ncurses ports/libtar | 313 $(SENT)/ports/vim: ports/ncurses ports/libtar |
297 $(SENT)/ports/texlive: ports/libtar | 314 $(SENT)/ports/texlive: ports/libtar |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 $(SENT)/ports/mpg123: ports/openal-soft | 356 $(SENT)/ports/mpg123: ports/openal-soft |
340 $(SENT)/ports/ImageMagick: ports/libpng ports/jpeg8d ports/bzip2 ports/zlib | 357 $(SENT)/ports/ImageMagick: ports/libpng ports/jpeg8d ports/bzip2 ports/zlib |
341 $(SENT)/ports/gdb: ports/ncurses ports/expat ports/readline | 358 $(SENT)/ports/gdb: ports/ncurses ports/expat ports/readline |
342 $(SENT)/ports/zeromq: ports/glibc-compat | 359 $(SENT)/ports/zeromq: ports/glibc-compat |
343 $(SENT)/ports/mpc: ports/gmp ports/mpfr | 360 $(SENT)/ports/mpc: ports/gmp ports/mpfr |
344 $(SENT)/ports/mpfr: ports/gmp | 361 $(SENT)/ports/mpfr: ports/gmp |
345 $(SENT)/ports/toybox: ports/glibc-compat ports/nacl-spawn | 362 $(SENT)/ports/toybox: ports/glibc-compat ports/nacl-spawn |
346 $(SENT)/ports/coreutils: ports/nacl-spawn | 363 $(SENT)/ports/coreutils: ports/nacl-spawn |
347 $(SENT)/ports/binutils: ports/nacl-spawn | 364 $(SENT)/ports/binutils: ports/nacl-spawn |
348 | 365 |
| 366 $(SENT)/ports/python_modules/python_host: \ |
| 367 ports/readline ports/zlib |
| 368 $(SENT)/ports/python_modules/numpy: \ |
| 369 ports/python_modules/python_host |
| 370 $(SENT)/ports/python_modules/cython: \ |
| 371 ports/python_modules/numpy |
| 372 $(SENT)/ports/python_modules/pyppapi: \ |
| 373 ports/python_modules/python_host |
| 374 $(SENT)/ports/python_modules/setuptools: \ |
| 375 ports/python_modules/python_host |
| 376 $(SENT)/ports/python_modules/ipython: \ |
| 377 ports/python_modules/python_host |
| 378 $(SENT)/ports/python_modules/pyzmq: \ |
| 379 ports/python_modules/python_host \ |
| 380 ports/python_modules/cython \ |
| 381 ports/zeromq |
| 382 $(SENT)/ports/python_modules/sympy: \ |
| 383 ports/python_modules/python_host |
| 384 $(SENT)/ports/python_modules/matplotlib: \ |
| 385 ports/python_modules/python_host \ |
| 386 ports/freetype ports/libpng |
| 387 $(SENT)/ports/python_modules/h5py: \ |
| 388 ports/hdf5 \ |
| 389 ports/python_modules/python_host \ |
| 390 ports/python_modules/cython \ |
| 391 ports/python_modules/numpy |
| 392 $(SENT)/ports/python_modules/yt: \ |
| 393 ports/python_modules/python_host \ |
| 394 ports/python_modules/cython \ |
| 395 ports/python_modules/h5py \ |
| 396 ports/python_modules/matplotlib \ |
| 397 ports/python_modules/numpy \ |
| 398 ports/python_modules/setuptools \ |
| 399 ports/python_modules/sympy |
| 400 $(SENT)/ports/python_modules/jinja2: \ |
| 401 ports/python_modules/python_host |
| 402 |
349 # shortcuts libraries (alphabetical) | 403 # shortcuts libraries (alphabetical) |
350 agg: ports/agg ; | 404 agg: ports/agg ; |
351 apr: ports/apr ; | 405 apr: ports/apr ; |
352 apr-util: ports/apr-util ; | 406 apr-util: ports/apr-util ; |
353 binutils: ports/binutils ; | 407 binutils: ports/binutils ; |
354 boost: ports/boost ; | 408 boost: ports/boost ; |
355 box2d: ports/box2d ; | 409 box2d: ports/box2d ; |
356 bullet: ports/bullet ; | 410 bullet: ports/bullet ; |
357 bzip2: ports/bzip2 ; | 411 bzip2: ports/bzip2 ; |
358 cairo: ports/cairo ; | 412 cairo: ports/cairo ; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 opencv: ports/opencv ; | 459 opencv: ports/opencv ; |
406 openscenegraph OpenSceneGraph: ports/OpenSceneGraph ; | 460 openscenegraph OpenSceneGraph: ports/OpenSceneGraph ; |
407 openssl: ports/openssl ; | 461 openssl: ports/openssl ; |
408 pango: ports/pango ; | 462 pango: ports/pango ; |
409 pcre libpcre: ports/pcre ; | 463 pcre libpcre: ports/pcre ; |
410 physfs: ports/physfs ; | 464 physfs: ports/physfs ; |
411 pixman: ports/pixman ; | 465 pixman: ports/pixman ; |
412 png libpng: ports/libpng ; | 466 png libpng: ports/libpng ; |
413 protobuf: ports/protobuf ; | 467 protobuf: ports/protobuf ; |
414 python: ports/python ; | 468 python: ports/python ; |
| 469 python_static: ports/python_static ; |
415 python3: ports/python3 ; | 470 python3: ports/python3 ; |
416 readline: ports/readline ; | 471 readline: ports/readline ; |
417 regal Regal: ports/Regal ; | 472 regal Regal: ports/Regal ; |
418 ruby: ports/ruby ; | 473 ruby: ports/ruby ; |
419 sdl SDL: ports/SDL ; | 474 sdl SDL: ports/SDL ; |
420 sdl_image SDL_image: ports/SDL_image ; | 475 sdl_image SDL_image: ports/SDL_image ; |
421 sdl_mixer SDL_mixer: ports/SDL_mixer ; | 476 sdl_mixer SDL_mixer: ports/SDL_mixer ; |
422 sdl_net SDL_net: ports/SDL_net ; | 477 sdl_net SDL_net: ports/SDL_net ; |
423 sdl_ttf SDL_ttf: ports/SDL_ttf ; | 478 sdl_ttf SDL_ttf: ports/SDL_ttf ; |
424 sodium libsodium: ports/libsodium ; | 479 sodium libsodium: ports/libsodium ; |
425 speex: ports/speex ; | 480 speex: ports/speex ; |
426 sqlite: ports/sqlite ; | 481 sqlite: ports/sqlite ; |
427 tar libtar: ports/libtar ; | 482 tar libtar: ports/libtar ; |
428 theora libtheora: ports/libtheora ; | 483 theora libtheora: ports/libtheora ; |
429 tiff: ports/tiff ; | 484 tiff: ports/tiff ; |
430 tinyxml: ports/tinyxml ; | 485 tinyxml: ports/tinyxml ; |
431 tomcrypt libtomcrypt: ports/libtomcrypt ; | 486 tomcrypt libtomcrypt: ports/libtomcrypt ; |
432 tommath libtommath: ports/libtommath ; | 487 tommath libtommath: ports/libtommath ; |
433 vorbis libvorbis: ports/libvorbis ; | 488 vorbis libvorbis: ports/libvorbis ; |
434 webp: ports/webp ; | 489 webp: ports/webp ; |
435 x264: ports/x264 ; | 490 x264: ports/x264 ; |
436 xml2 libxml2: ports/libxml2 ; | 491 xml2 libxml2: ports/libxml2 ; |
437 yajl: ports/yajl ; | 492 yajl: ports/yajl ; |
438 zeromq: ports/zeromq ; | 493 zeromq: ports/zeromq ; |
439 zlib: ports/zlib ; | 494 zlib: ports/zlib ; |
440 | 495 |
| 496 # python modules |
| 497 |
| 498 cython: ports/python_modules/cython ; |
| 499 h5py: ports/python_modules/h5py ; |
| 500 ipython: ports/python_modules/ipython ; |
| 501 jinja2: ports/python_modules/jinja2 ; |
| 502 matplotlib: ports/python_modules/matplotlib ; |
| 503 numpy: ports/python_modules/numpy ; |
| 504 pyppapi: ports/python_modules/pyppapi ; |
| 505 python_host: ports/python_modules/python_host ; |
| 506 pyzmq: ports/python_modules/pyzmq ; |
| 507 setuptools: ports/python_modules/setuptools ; |
| 508 sympy: ports/python_modules/sympy ; |
| 509 yt: ports/python_modules/yt ; |
| 510 |
441 # shortcuts examples (alphabetical) | 511 # shortcuts examples (alphabetical) |
442 bash: ports/bash ; | 512 bash: ports/bash ; |
443 bochs: ports/bochs ; | 513 bochs: ports/bochs ; |
444 busybox: ports/busybox ; | 514 busybox: ports/busybox ; |
445 civetweb: ports/civetweb ; | 515 civetweb: ports/civetweb ; |
446 dosbox: ports/dosbox ; | 516 dosbox: ports/dosbox ; |
447 drod: ports/drod ; | 517 drod: ports/drod ; |
448 gdb: ports/gdb ; | 518 gdb: ports/gdb ; |
449 git: ports/git ; | 519 git: ports/git ; |
450 mesagl: ports/mesagl ; | 520 mesagl: ports/mesagl ; |
(...skipping 11 matching lines...) Expand all Loading... |
462 snes9x: ports/snes9x ; | 532 snes9x: ports/snes9x ; |
463 subversion: ports/subversion ; | 533 subversion: ports/subversion ; |
464 texlive: ports/texlive ; | 534 texlive: ports/texlive ; |
465 toybox: ports/toybox ; | 535 toybox: ports/toybox ; |
466 thttpd: ports/thttpd ; | 536 thttpd: ports/thttpd ; |
467 openssh: ports/openssh ; | 537 openssh: ports/openssh ; |
468 # Deliberate space after vim target to avoid detection | 538 # Deliberate space after vim target to avoid detection |
469 # as modeline string. | 539 # as modeline string. |
470 vim : ports/vim ; | 540 vim : ports/vim ; |
471 xaos: ports/xaos ; | 541 xaos: ports/xaos ; |
OLD | NEW |