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

Side by Side Diff: source/libvpx/build/make/Makefile

Issue 1169543007: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « source/libvpx/CHANGELOG ('k') | source/libvpx/build/make/gen_msvs_vcxproj.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## 1 ##
2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 ## 3 ##
4 ## Use of this source code is governed by a BSD-style license 4 ## Use of this source code is governed by a BSD-style license
5 ## that can be found in the LICENSE file in the root of the source 5 ## that can be found in the LICENSE file in the root of the source
6 ## tree. An additional intellectual property rights grant can be found 6 ## tree. An additional intellectual property rights grant can be found
7 ## in the file PATENTS. All contributing project authors may 7 ## in the file PATENTS. All contributing project authors may
8 ## be found in the AUTHORS file in the root of the source tree. 8 ## be found in the AUTHORS file in the root of the source tree.
9 ## 9 ##
10 10
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 # for creating them. 303 # for creating them.
304 $(1): 304 $(1):
305 $(if $(quiet),@echo " [LD] $$@") 305 $(if $(quiet),@echo " [LD] $$@")
306 $(qexec)$$(LD) -dynamiclib $$(LDFLAGS) \ 306 $(qexec)$$(LD) -dynamiclib $$(LDFLAGS) \
307 -exported_symbols_list $$(EXPORTS_FILE) \ 307 -exported_symbols_list $$(EXPORTS_FILE) \
308 -Wl,-headerpad_max_install_names,-compatibility_version,1.0,-current_ver sion,$$(VERSION_MAJOR) \ 308 -Wl,-headerpad_max_install_names,-compatibility_version,1.0,-current_ver sion,$$(VERSION_MAJOR) \
309 -o $$@ \ 309 -o $$@ \
310 $$(filter %.o,$$^) $$(extralibs) 310 $$(filter %.o,$$^) $$(extralibs)
311 endef 311 endef
312 312
313 define dll_template
314 # Not using a pattern rule here because we don't want to generate empty
315 # archives when they are listed as a dependency in files not responsible
316 # for creating them.
317 $(1):
318 $(if $(quiet),@echo " [LD] $$@")
319 $(qexec)$$(LD) -Zdll $$(LDFLAGS) \
320 -o $$@ \
321 $$(filter %.o,$$^) $$(extralibs) $$(EXPORTS_FILE)
322 endef
323
324
313 # 325 #
314 # Get current configuration 326 # Get current configuration
315 # 327 #
316 ifneq ($(target),) 328 ifneq ($(target),)
317 include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk 329 include $(SRC_PATH_BARE)/$(target:-$(TOOLCHAIN)=).mk
318 endif 330 endif
319 331
320 skip_deps := $(filter %clean,$(MAKECMDGOALS)) 332 skip_deps := $(filter %clean,$(MAKECMDGOALS))
321 skip_deps += $(findstring testdata,$(MAKECMDGOALS)) 333 skip_deps += $(findstring testdata,$(MAKECMDGOALS))
322 ifeq ($(strip $(skip_deps)),) 334 ifeq ($(strip $(skip_deps)),)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 372
361 clean:: 373 clean::
362 rm -f .bins .install-bins $(BINS) 374 rm -f .bins .install-bins $(BINS)
363 375
364 LIBS=$(call enabled,LIBS) 376 LIBS=$(call enabled,LIBS)
365 .libs: $(LIBS) 377 .libs: $(LIBS)
366 @touch $@ 378 @touch $@
367 $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib)))) 379 $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
368 $(foreach lib,$(filter %so.$(SO_VERSION_MAJOR).$(SO_VERSION_MINOR).$(SO_VERSION_ PATCH),$(LIBS)),$(eval $(call so_template,$(lib)))) 380 $(foreach lib,$(filter %so.$(SO_VERSION_MAJOR).$(SO_VERSION_MINOR).$(SO_VERSION_ PATCH),$(LIBS)),$(eval $(call so_template,$(lib))))
369 $(foreach lib,$(filter %$(SO_VERSION_MAJOR).dylib,$(LIBS)),$(eval $(call dl_temp late,$(lib)))) 381 $(foreach lib,$(filter %$(SO_VERSION_MAJOR).dylib,$(LIBS)),$(eval $(call dl_temp late,$(lib))))
382 $(foreach lib,$(filter %$(SO_VERSION_MAJOR).dll,$(LIBS)),$(eval $(call dll_templ ate,$(lib))))
370 383
371 INSTALL-LIBS=$(call cond_enabled,CONFIG_INSTALL_LIBS,INSTALL-LIBS) 384 INSTALL-LIBS=$(call cond_enabled,CONFIG_INSTALL_LIBS,INSTALL-LIBS)
372 ifeq ($(MAKECMDGOALS),dist) 385 ifeq ($(MAKECMDGOALS),dist)
373 INSTALL-LIBS+=$(call cond_enabled,CONFIG_INSTALL_LIBS,DIST-LIBS) 386 INSTALL-LIBS+=$(call cond_enabled,CONFIG_INSTALL_LIBS,DIST-LIBS)
374 endif 387 endif
375 .install-libs: .libs $(addprefix $(DIST_DIR)/,$(INSTALL-LIBS)) 388 .install-libs: .libs $(addprefix $(DIST_DIR)/,$(INSTALL-LIBS))
376 @touch $@ 389 @touch $@
377 390
378 clean:: 391 clean::
379 rm -f .libs .install-libs $(LIBS) 392 rm -f .libs .install-libs $(LIBS)
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 ifeq ($(CONFIG_EXTERNAL_BUILD),yes) 439 ifeq ($(CONFIG_EXTERNAL_BUILD),yes)
427 BUILD_TARGETS += .projects 440 BUILD_TARGETS += .projects
428 INSTALL_TARGETS += .install-projects 441 INSTALL_TARGETS += .install-projects
429 endif 442 endif
430 BUILD_TARGETS += .docs .libs .bins 443 BUILD_TARGETS += .docs .libs .bins
431 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins 444 INSTALL_TARGETS += .install-docs .install-srcs .install-libs .install-bins
432 all: $(BUILD_TARGETS) 445 all: $(BUILD_TARGETS)
433 install:: $(INSTALL_TARGETS) 446 install:: $(INSTALL_TARGETS)
434 dist: $(INSTALL_TARGETS) 447 dist: $(INSTALL_TARGETS)
435 test:: 448 test::
OLDNEW
« no previous file with comments | « source/libvpx/CHANGELOG ('k') | source/libvpx/build/make/gen_msvs_vcxproj.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698