Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: Makefile

Issue 138913004: Build system for statically-linked Python. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Responding to comments Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | build_tools/common.sh » ('j') | ports/python_modules/numpy/build.sh » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 ports/opencv \ 161 ports/opencv \
162 ports/OpenSceneGraph \ 162 ports/OpenSceneGraph \
163 ports/openssh \ 163 ports/openssh \
164 ports/openssl \ 164 ports/openssl \
165 ports/pango \ 165 ports/pango \
166 ports/pcre \ 166 ports/pcre \
167 ports/physfs \ 167 ports/physfs \
168 ports/pixman \ 168 ports/pixman \
169 ports/protobuf \ 169 ports/protobuf \
170 ports/python \ 170 ports/python \
171 ports/python_static \
171 ports/python_ppapi \ 172 ports/python_ppapi \
172 ports/python3 \ 173 ports/python3 \
173 ports/python3_ppapi \ 174 ports/python3_ppapi \
174 ports/readline \ 175 ports/readline \
175 ports/Regal \ 176 ports/Regal \
176 ports/ruby \ 177 ports/ruby \
177 ports/ruby_ppapi \ 178 ports/ruby_ppapi \
178 ports/scummvm \ 179 ports/scummvm \
179 ports/SDL \ 180 ports/SDL \
180 ports/SDL_image \ 181 ports/SDL_image \
181 ports/SDL_mixer \ 182 ports/SDL_mixer \
182 ports/SDL_net \ 183 ports/SDL_net \
183 ports/SDL_ttf \ 184 ports/SDL_ttf \
184 ports/snes9x \ 185 ports/snes9x \
185 ports/speex \ 186 ports/speex \
186 ports/sqlite \ 187 ports/sqlite \
187 ports/subversion \ 188 ports/subversion \
188 ports/thttpd \ 189 ports/thttpd \
189 ports/tiff \ 190 ports/tiff \
190 ports/tinyxml \ 191 ports/tinyxml \
191 ports/toybox \ 192 ports/toybox \
192 ports/vim \ 193 ports/vim \
193 ports/webp \ 194 ports/webp \
194 ports/x264 \ 195 ports/x264 \
195 ports/xaos \ 196 ports/xaos \
196 ports/yajl \ 197 ports/yajl \
197 ports/zeromq \ 198 ports/zeromq \
198 ports/zlib 199 ports/zlib \
200 ports/python_modules/python_host \
201 ports/python_modules/numpy \
202 ports/python_modules/cython \
203 ports/python_modules/pyppapi \
204 ports/python_modules/setuptools \
205 ports/python_modules/ipython \
206 ports/python_modules/jinja2 \
207 ports/python_modules/yt \
208 ports/python_modules/pyzmq \
209 ports/python_modules/sympy \
210 ports/python_modules/h5py \
211 ports/python_modules/matplotlib
199 212
200 SENTINELS_DIR = $(NACL_OUT)/sentinels 213 SENTINELS_DIR = $(NACL_OUT)/sentinels
201 SENT := $(SENTINELS_DIR)/$(NACL_ARCH) 214 SENT := $(SENTINELS_DIR)/$(NACL_ARCH)
202 ifneq ($(NACL_ARCH), pnacl) 215 ifneq ($(NACL_ARCH), pnacl)
203 SENT := $(SENT)_$(NACL_LIBC) 216 SENT := $(SENT)_$(NACL_LIBC)
204 endif 217 endif
205 ifeq ($(NACL_DEBUG), 1) 218 ifeq ($(NACL_DEBUG), 1)
206 SENT := $(SENT)_debug 219 SENT := $(SENT)_debug
207 endif 220 endif
208 221
222 -include Makefile.local
223
209 all: $(ALL_PORTS) 224 all: $(ALL_PORTS)
210 # The subset of libraries that are shipped as part of the 225 # The subset of libraries that are shipped as part of the
211 # official NaCl SDK 226 # official NaCl SDK
212 SDK_LIBS = freealut freetype jpeg lua5.2 modplug ogg openal png theora tiff tiny xml 227 SDK_LIBS = freealut freetype jpeg lua5.2 modplug ogg openal png theora tiff tiny xml
213 SDK_LIBS += vorbis webp xml2 zlib 228 SDK_LIBS += vorbis webp xml2 zlib
214 sdklibs: $(SDK_LIBS) 229 sdklibs: $(SDK_LIBS)
215 230
216 package_list: 231 package_list:
217 @echo $(notdir $(ALL_PORTS)) 232 @echo $(notdir $(ALL_PORTS))
218 233
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 $(SENT)/ports/ffmpeg: ports/lame ports/libvorbis ports/libtheora \ 295 $(SENT)/ports/ffmpeg: ports/lame ports/libvorbis ports/libtheora \
281 ports/glibc-compat 296 ports/glibc-compat
282 $(SENT)/ports/webp: ports/tiff ports/jpeg8d 297 $(SENT)/ports/webp: ports/tiff ports/jpeg8d
283 $(SENT)/ports/libav: ports/lame ports/libvorbis 298 $(SENT)/ports/libav: ports/lame ports/libvorbis
284 $(SENT)/ports/libtar: ports/zlib 299 $(SENT)/ports/libtar: ports/zlib
285 ifeq ($(LUA_NO_READLINE),) 300 ifeq ($(LUA_NO_READLINE),)
286 $(SENT)/ports/lua5.1: ports/readline 301 $(SENT)/ports/lua5.1: ports/readline
287 $(SENT)/ports/lua5.2: ports/readline 302 $(SENT)/ports/lua5.2: ports/readline
288 endif 303 endif
289 $(SENT)/ports/python: ports/readline ports/zlib 304 $(SENT)/ports/python: ports/readline ports/zlib
305 $(SENT)/ports/python_static: ports/readline ports/zlib ports/glibc-compat \
306 ports/python_modules/pyppapi ports/openssl
Kester Tong 2014/01/29 20:38:47 does cython belong here too?
Matthew Turk 2014/01/31 15:56:57 It's needed, but only for pyppapi -- so I've updat
290 $(SENT)/ports/python3: ports/readline ports/zlib 307 $(SENT)/ports/python3: ports/readline ports/zlib
291 $(SENT)/ports/ruby: ports/readline ports/zlib 308 $(SENT)/ports/ruby: ports/readline ports/zlib
292 $(SENT)/ports/sqlite: ports/readline 309 $(SENT)/ports/sqlite: ports/readline
293 $(SENT)/ports/apr-util: ports/apr ports/expat 310 $(SENT)/ports/apr-util: ports/apr ports/expat
294 $(SENT)/ports/subversion: ports/apr ports/apr-util ports/sqlite ports/zlib 311 $(SENT)/ports/subversion: ports/apr ports/apr-util ports/sqlite ports/zlib
295 $(SENT)/ports/nethack: ports/ncurses ports/libtar 312 $(SENT)/ports/nethack: ports/ncurses ports/libtar
296 $(SENT)/ports/bash: ports/ncurses ports/libtar ports/nacl-spawn 313 $(SENT)/ports/bash: ports/ncurses ports/libtar ports/nacl-spawn
297 $(SENT)/ports/nano: ports/ncurses ports/libtar ports/glibc-compat 314 $(SENT)/ports/nano: ports/ncurses ports/libtar ports/glibc-compat
298 $(SENT)/ports/vim: ports/ncurses ports/libtar 315 $(SENT)/ports/vim: ports/ncurses ports/libtar
299 $(SENT)/ports/texlive: ports/libtar 316 $(SENT)/ports/texlive: ports/libtar
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 $(SENT)/ports/gdb: ports/ncurses ports/expat ports/readline 360 $(SENT)/ports/gdb: ports/ncurses ports/expat ports/readline
344 $(SENT)/ports/hdf5: ports/glibc-compat 361 $(SENT)/ports/hdf5: ports/glibc-compat
345 $(SENT)/ports/zeromq: ports/glibc-compat 362 $(SENT)/ports/zeromq: ports/glibc-compat
346 $(SENT)/ports/mpc: ports/gmp ports/mpfr 363 $(SENT)/ports/mpc: ports/gmp ports/mpfr
347 $(SENT)/ports/mpfr: ports/gmp 364 $(SENT)/ports/mpfr: ports/gmp
348 $(SENT)/ports/toybox: ports/glibc-compat ports/nacl-spawn 365 $(SENT)/ports/toybox: ports/glibc-compat ports/nacl-spawn
349 $(SENT)/ports/coreutils: ports/nacl-spawn 366 $(SENT)/ports/coreutils: ports/nacl-spawn
350 $(SENT)/ports/binutils: ports/nacl-spawn 367 $(SENT)/ports/binutils: ports/nacl-spawn
351 $(SENT)/ports/gcc: ports/nacl-spawn ports/gmp ports/mpfr ports/mpc 368 $(SENT)/ports/gcc: ports/nacl-spawn ports/gmp ports/mpfr ports/mpc
352 369
370 $(SENT)/ports/python_modules/python_host: \
371 ports/readline ports/zlib
372 $(SENT)/ports/python_modules/numpy: \
373 ports/python_modules/python_host
374 $(SENT)/ports/python_modules/cython: \
375 ports/python_modules/numpy
376 $(SENT)/ports/python_modules/pyppapi: \
377 ports/python_modules/python_host
378 $(SENT)/ports/python_modules/setuptools: \
379 ports/python_modules/python_host
380 $(SENT)/ports/python_modules/ipython: \
381 ports/python_modules/python_host
382 $(SENT)/ports/python_modules/pyzmq: \
383 ports/python_modules/python_host \
384 ports/python_modules/cython \
385 ports/zeromq
386 $(SENT)/ports/python_modules/sympy: \
387 ports/python_modules/python_host
388 $(SENT)/ports/python_modules/matplotlib: \
389 ports/python_modules/python_host \
390 ports/freetype ports/libpng
391 $(SENT)/ports/python_modules/h5py: \
392 ports/hdf5 \
393 ports/python_modules/python_host \
394 ports/python_modules/cython \
395 ports/python_modules/numpy
396 $(SENT)/ports/python_modules/yt: \
397 ports/python_modules/python_host \
398 ports/python_modules/cython \
399 ports/python_modules/h5py \
400 ports/python_modules/matplotlib \
401 ports/python_modules/numpy \
402 ports/python_modules/setuptools \
403 ports/python_modules/sympy
404 $(SENT)/ports/python_modules/jinja2: \
405 ports/python_modules/python_host
406
353 # shortcuts libraries (alphabetical) 407 # shortcuts libraries (alphabetical)
354 agg: ports/agg ; 408 agg: ports/agg ;
355 apr: ports/apr ; 409 apr: ports/apr ;
356 apr-util: ports/apr-util ; 410 apr-util: ports/apr-util ;
357 binutils: ports/binutils ; 411 binutils: ports/binutils ;
358 boost: ports/boost ; 412 boost: ports/boost ;
359 box2d: ports/box2d ; 413 box2d: ports/box2d ;
360 bullet: ports/bullet ; 414 bullet: ports/bullet ;
361 bzip2: ports/bzip2 ; 415 bzip2: ports/bzip2 ;
362 cairo: ports/cairo ; 416 cairo: ports/cairo ;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 opencv: ports/opencv ; 465 opencv: ports/opencv ;
412 openscenegraph OpenSceneGraph: ports/OpenSceneGraph ; 466 openscenegraph OpenSceneGraph: ports/OpenSceneGraph ;
413 openssl: ports/openssl ; 467 openssl: ports/openssl ;
414 pango: ports/pango ; 468 pango: ports/pango ;
415 pcre libpcre: ports/pcre ; 469 pcre libpcre: ports/pcre ;
416 physfs: ports/physfs ; 470 physfs: ports/physfs ;
417 pixman: ports/pixman ; 471 pixman: ports/pixman ;
418 png libpng: ports/libpng ; 472 png libpng: ports/libpng ;
419 protobuf: ports/protobuf ; 473 protobuf: ports/protobuf ;
420 python: ports/python ; 474 python: ports/python ;
475 python_static: ports/python_static ;
421 python3: ports/python3 ; 476 python3: ports/python3 ;
422 readline: ports/readline ; 477 readline: ports/readline ;
423 regal Regal: ports/Regal ; 478 regal Regal: ports/Regal ;
424 ruby: ports/ruby ; 479 ruby: ports/ruby ;
425 sdl SDL: ports/SDL ; 480 sdl SDL: ports/SDL ;
426 sdl_image SDL_image: ports/SDL_image ; 481 sdl_image SDL_image: ports/SDL_image ;
427 sdl_mixer SDL_mixer: ports/SDL_mixer ; 482 sdl_mixer SDL_mixer: ports/SDL_mixer ;
428 sdl_net SDL_net: ports/SDL_net ; 483 sdl_net SDL_net: ports/SDL_net ;
429 sdl_ttf SDL_ttf: ports/SDL_ttf ; 484 sdl_ttf SDL_ttf: ports/SDL_ttf ;
430 sodium libsodium: ports/libsodium ; 485 sodium libsodium: ports/libsodium ;
431 speex: ports/speex ; 486 speex: ports/speex ;
432 sqlite: ports/sqlite ; 487 sqlite: ports/sqlite ;
433 tar libtar: ports/libtar ; 488 tar libtar: ports/libtar ;
434 theora libtheora: ports/libtheora ; 489 theora libtheora: ports/libtheora ;
435 tiff: ports/tiff ; 490 tiff: ports/tiff ;
436 tinyxml: ports/tinyxml ; 491 tinyxml: ports/tinyxml ;
437 tomcrypt libtomcrypt: ports/libtomcrypt ; 492 tomcrypt libtomcrypt: ports/libtomcrypt ;
438 tommath libtommath: ports/libtommath ; 493 tommath libtommath: ports/libtommath ;
439 vorbis libvorbis: ports/libvorbis ; 494 vorbis libvorbis: ports/libvorbis ;
440 webp: ports/webp ; 495 webp: ports/webp ;
441 x264: ports/x264 ; 496 x264: ports/x264 ;
442 xml2 libxml2: ports/libxml2 ; 497 xml2 libxml2: ports/libxml2 ;
443 yajl: ports/yajl ; 498 yajl: ports/yajl ;
444 zeromq: ports/zeromq ; 499 zeromq: ports/zeromq ;
445 zlib: ports/zlib ; 500 zlib: ports/zlib ;
446 501
502 # python modules
503
504 cython: ports/python_modules/cython ;
505 h5py: ports/python_modules/h5py ;
506 ipython: ports/python_modules/ipython ;
507 jinja2: ports/python_modules/jinja2 ;
508 matplotlib: ports/python_modules/matplotlib ;
509 numpy: ports/python_modules/numpy ;
510 pyppapi: ports/python_modules/pyppapi ;
511 python_host: ports/python_modules/python_host ;
512 pyzmq: ports/python_modules/pyzmq ;
513 setuptools: ports/python_modules/setuptools ;
514 sympy: ports/python_modules/sympy ;
515 yt: ports/python_modules/yt ;
516
447 # shortcuts examples (alphabetical) 517 # shortcuts examples (alphabetical)
448 bash: ports/bash ; 518 bash: ports/bash ;
449 bochs: ports/bochs ; 519 bochs: ports/bochs ;
450 busybox: ports/busybox ; 520 busybox: ports/busybox ;
451 civetweb: ports/civetweb ; 521 civetweb: ports/civetweb ;
452 dosbox: ports/dosbox ; 522 dosbox: ports/dosbox ;
453 drod: ports/drod ; 523 drod: ports/drod ;
454 gdb: ports/gdb ; 524 gdb: ports/gdb ;
455 git: ports/git ; 525 git: ports/git ;
456 mesagl: ports/mesagl ; 526 mesagl: ports/mesagl ;
(...skipping 11 matching lines...) Expand all
468 snes9x: ports/snes9x ; 538 snes9x: ports/snes9x ;
469 subversion: ports/subversion ; 539 subversion: ports/subversion ;
470 texlive: ports/texlive ; 540 texlive: ports/texlive ;
471 toybox: ports/toybox ; 541 toybox: ports/toybox ;
472 thttpd: ports/thttpd ; 542 thttpd: ports/thttpd ;
473 openssh: ports/openssh ; 543 openssh: ports/openssh ;
474 # Deliberate space after vim target to avoid detection 544 # Deliberate space after vim target to avoid detection
475 # as modeline string. 545 # as modeline string.
476 vim : ports/vim ; 546 vim : ports/vim ;
477 xaos: ports/xaos ; 547 xaos: ports/xaos ;
OLDNEW
« no previous file with comments | « no previous file | build_tools/common.sh » ('j') | ports/python_modules/numpy/build.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698