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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build_tools/common.sh » ('j') | ports/python_modules/numpy/build.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -168,6 +168,7 @@
ports/pixman \
ports/protobuf \
ports/python \
+ ports/python_static \
ports/python_ppapi \
ports/python3 \
ports/python3_ppapi \
@@ -195,7 +196,19 @@
ports/xaos \
ports/yajl \
ports/zeromq \
- ports/zlib
+ ports/zlib \
+ ports/python_modules/python_host \
+ ports/python_modules/numpy \
+ ports/python_modules/cython \
+ ports/python_modules/pyppapi \
+ ports/python_modules/setuptools \
+ ports/python_modules/ipython \
+ ports/python_modules/jinja2 \
+ ports/python_modules/yt \
+ ports/python_modules/pyzmq \
+ ports/python_modules/sympy \
+ ports/python_modules/h5py \
+ ports/python_modules/matplotlib
SENTINELS_DIR = $(NACL_OUT)/sentinels
SENT := $(SENTINELS_DIR)/$(NACL_ARCH)
@@ -206,6 +219,8 @@
SENT := $(SENT)_debug
endif
+-include Makefile.local
+
all: $(ALL_PORTS)
# The subset of libraries that are shipped as part of the
# official NaCl SDK
@@ -287,6 +302,8 @@
$(SENT)/ports/lua5.2: ports/readline
endif
$(SENT)/ports/python: ports/readline ports/zlib
+$(SENT)/ports/python_static: ports/readline ports/zlib ports/glibc-compat \
+ 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
$(SENT)/ports/python3: ports/readline ports/zlib
$(SENT)/ports/ruby: ports/readline ports/zlib
$(SENT)/ports/sqlite: ports/readline
@@ -350,6 +367,43 @@
$(SENT)/ports/binutils: ports/nacl-spawn
$(SENT)/ports/gcc: ports/nacl-spawn ports/gmp ports/mpfr ports/mpc
+$(SENT)/ports/python_modules/python_host: \
+ ports/readline ports/zlib
+$(SENT)/ports/python_modules/numpy: \
+ ports/python_modules/python_host
+$(SENT)/ports/python_modules/cython: \
+ ports/python_modules/numpy
+$(SENT)/ports/python_modules/pyppapi: \
+ ports/python_modules/python_host
+$(SENT)/ports/python_modules/setuptools: \
+ ports/python_modules/python_host
+$(SENT)/ports/python_modules/ipython: \
+ ports/python_modules/python_host
+$(SENT)/ports/python_modules/pyzmq: \
+ ports/python_modules/python_host \
+ ports/python_modules/cython \
+ ports/zeromq
+$(SENT)/ports/python_modules/sympy: \
+ ports/python_modules/python_host
+$(SENT)/ports/python_modules/matplotlib: \
+ ports/python_modules/python_host \
+ ports/freetype ports/libpng
+$(SENT)/ports/python_modules/h5py: \
+ ports/hdf5 \
+ ports/python_modules/python_host \
+ ports/python_modules/cython \
+ ports/python_modules/numpy
+$(SENT)/ports/python_modules/yt: \
+ ports/python_modules/python_host \
+ ports/python_modules/cython \
+ ports/python_modules/h5py \
+ ports/python_modules/matplotlib \
+ ports/python_modules/numpy \
+ ports/python_modules/setuptools \
+ ports/python_modules/sympy
+$(SENT)/ports/python_modules/jinja2: \
+ ports/python_modules/python_host
+
# shortcuts libraries (alphabetical)
agg: ports/agg ;
apr: ports/apr ;
@@ -418,6 +472,7 @@
png libpng: ports/libpng ;
protobuf: ports/protobuf ;
python: ports/python ;
+python_static: ports/python_static ;
python3: ports/python3 ;
readline: ports/readline ;
regal Regal: ports/Regal ;
@@ -444,6 +499,21 @@
zeromq: ports/zeromq ;
zlib: ports/zlib ;
+# python modules
+
+cython: ports/python_modules/cython ;
+h5py: ports/python_modules/h5py ;
+ipython: ports/python_modules/ipython ;
+jinja2: ports/python_modules/jinja2 ;
+matplotlib: ports/python_modules/matplotlib ;
+numpy: ports/python_modules/numpy ;
+pyppapi: ports/python_modules/pyppapi ;
+python_host: ports/python_modules/python_host ;
+pyzmq: ports/python_modules/pyzmq ;
+setuptools: ports/python_modules/setuptools ;
+sympy: ports/python_modules/sympy ;
+yt: ports/python_modules/yt ;
+
# shortcuts examples (alphabetical)
bash: ports/bash ;
bochs: ports/bochs ;
« 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