| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 ; |
| OLD | NEW |