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

Side by Side Diff: Makefile

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | README.rst » ('j') | no next file with comments »
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 @rm $@ 246 @rm $@
247 else 247 else
248 ifdef PRINT_DEPS 248 ifdef PRINT_DEPS
249 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%: 249 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%:
250 @echo $(notdir $(subst $(SENT)/,,$@)) 250 @echo $(notdir $(subst $(SENT)/,,$@))
251 else 251 else
252 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%: 252 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%:
253 @$(START_BUILD) 253 @$(START_BUILD)
254 python build_tools/naclports.py check -C $* 254 python build_tools/naclports.py check -C $*
255 if python build_tools/naclports.py enabled -C $*; then \ 255 if python build_tools/naclports.py enabled -C $*; then \
256 » cd $* && NACL_ARCH=$(NACL_ARCH) NACL_GLIBC=$(NACL_GLIBC) ./build.sh; fi 256 » cd $* && NACL_ARCH=$(NACL_ARCH) NACL_GLIBC=$(NACL_GLIBC) $(CURDIR)/build _tools/naclports.sh; fi
257 mkdir -p $(@D) 257 mkdir -p $(@D)
258 touch $@ 258 touch $@
259 endif 259 endif
260 endif 260 endif
261 261
262 # packages with dependencies 262 # packages with dependencies
263 $(SENT)/ports/libvorbis: ports/libogg 263 $(SENT)/ports/libvorbis: ports/libogg
264 $(SENT)/ports/libtheora: ports/libogg 264 $(SENT)/ports/libtheora: ports/libogg
265 $(SENT)/ports/flac: ports/libogg 265 $(SENT)/ports/flac: ports/libogg
266 $(SENT)/ports/speex: ports/libogg 266 $(SENT)/ports/speex: ports/libogg
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 scummvm: ports/scummvm ; 447 scummvm: ports/scummvm ;
448 snes9x: ports/snes9x ; 448 snes9x: ports/snes9x ;
449 subversion: ports/subversion ; 449 subversion: ports/subversion ;
450 texlive: ports/texlive ; 450 texlive: ports/texlive ;
451 thttpd: ports/thttpd ; 451 thttpd: ports/thttpd ;
452 openssh: ports/openssh ; 452 openssh: ports/openssh ;
453 # Deliberate space after vim target to avoid detection 453 # Deliberate space after vim target to avoid detection
454 # as modeline string. 454 # as modeline string.
455 vim : ports/vim ; 455 vim : ports/vim ;
456 xaos: ports/xaos ; 456 xaos: ports/xaos ;
OLDNEW
« no previous file with comments | « no previous file | README.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698