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