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

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') | build_tools/common.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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 @rm $@ 234 @rm $@
235 else 235 else
236 ifdef PRINT_DEPS 236 ifdef PRINT_DEPS
237 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%: 237 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%:
238 @echo $(notdir $(subst $(SENT)/,,$@)) 238 @echo $(notdir $(subst $(SENT)/,,$@))
239 else 239 else
240 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%: 240 $(ALL_PORTS:%=$(SENT)/%): $(SENT)/%:
241 @$(START_BUILD) 241 @$(START_BUILD)
242 python build_tools/naclports.py check -C $* 242 python build_tools/naclports.py check -C $*
243 if python build_tools/naclports.py enabled -C $*; then \ 243 if python build_tools/naclports.py enabled -C $*; then \
244 » cd $* && NACL_ARCH=$(NACL_ARCH) NACL_GLIBC=$(NACL_GLIBC) ./build.sh; fi 244 » cd $* && NACL_ARCH=$(NACL_ARCH) NACL_GLIBC=$(NACL_GLIBC) $(CURDIR)/build _tools/naclports.sh; fi
245 mkdir -p $(@D) 245 mkdir -p $(@D)
246 touch $@ 246 touch $@
247 endif 247 endif
248 endif 248 endif
249 249
250 # packages with dependencies 250 # packages with dependencies
251 $(SENT)/ports/libvorbis: ports/libogg 251 $(SENT)/ports/libvorbis: ports/libogg
252 $(SENT)/ports/libtheora: ports/libogg 252 $(SENT)/ports/libtheora: ports/libogg
253 $(SENT)/ports/flac: ports/libogg 253 $(SENT)/ports/flac: ports/libogg
254 $(SENT)/ports/speex: ports/libogg 254 $(SENT)/ports/speex: ports/libogg
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 ruby_ppapi: ports/ruby_ppapi ; 418 ruby_ppapi: ports/ruby_ppapi ;
419 scummvm: ports/scummvm ; 419 scummvm: ports/scummvm ;
420 snes9x: ports/snes9x ; 420 snes9x: ports/snes9x ;
421 texlive: ports/texlive ; 421 texlive: ports/texlive ;
422 thttpd: ports/thttpd ; 422 thttpd: ports/thttpd ;
423 openssh: ports/openssh ; 423 openssh: ports/openssh ;
424 # Deliberate space after vim target to avoid detection 424 # Deliberate space after vim target to avoid detection
425 # as modeline string. 425 # as modeline string.
426 vim : ports/vim ; 426 vim : ports/vim ;
427 xaos: ports/xaos ; 427 xaos: ports/xaos ;
OLDNEW
« no previous file with comments | « no previous file | README.rst » ('j') | build_tools/common.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698