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

Side by Side Diff: source/libvpx/examples.mk

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/configure ('k') | source/libvpx/examples/vp9_spatial_svc_encoder.c » ('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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 DIST-BINS-$(NOT_MSVS) += $(addprefix bin/,$(ALL_EXAMPLES:.c=$(EXE_SFX))) 274 DIST-BINS-$(NOT_MSVS) += $(addprefix bin/,$(ALL_EXAMPLES:.c=$(EXE_SFX)))
275 INSTALL-BINS-$(NOT_MSVS) += $(addprefix bin/,$(UTILS:.c=$(EXE_SFX))) 275 INSTALL-BINS-$(NOT_MSVS) += $(addprefix bin/,$(UTILS:.c=$(EXE_SFX)))
276 DIST-SRCS-yes += $(ALL_SRCS) 276 DIST-SRCS-yes += $(ALL_SRCS)
277 INSTALL-SRCS-yes += $(UTIL_SRCS) 277 INSTALL-SRCS-yes += $(UTIL_SRCS)
278 OBJS-$(NOT_MSVS) += $(call objs,$(ALL_SRCS)) 278 OBJS-$(NOT_MSVS) += $(call objs,$(ALL_SRCS))
279 BINS-$(NOT_MSVS) += $(addprefix $(BUILD_PFX),$(ALL_EXAMPLES:.c=$(EXE_S FX))) 279 BINS-$(NOT_MSVS) += $(addprefix $(BUILD_PFX),$(ALL_EXAMPLES:.c=$(EXE_S FX)))
280 280
281 281
282 # Instantiate linker template for all examples. 282 # Instantiate linker template for all examples.
283 CODEC_LIB=$(if $(CONFIG_DEBUG_LIBS),vpx_g,vpx) 283 CODEC_LIB=$(if $(CONFIG_DEBUG_LIBS),vpx_g,vpx)
284 SHARED_LIB_SUF=$(if $(filter darwin%,$(TGT_OS)),.dylib,.so) 284 ifneq ($(filter darwin%,$(TGT_OS)),)
285 SHARED_LIB_SUF=.dylib
286 else
287 ifneq ($(filter os2%,$(TGT_OS)),)
288 SHARED_LIB_SUF=_dll.a
289 else
290 SHARED_LIB_SUF=.so
291 endif
292 endif
285 CODEC_LIB_SUF=$(if $(CONFIG_SHARED),$(SHARED_LIB_SUF),.a) 293 CODEC_LIB_SUF=$(if $(CONFIG_SHARED),$(SHARED_LIB_SUF),.a)
286 $(foreach bin,$(BINS-yes),\ 294 $(foreach bin,$(BINS-yes),\
287 $(eval $(bin):$(LIB_PATH)/lib$(CODEC_LIB)$(CODEC_LIB_SUF))\ 295 $(eval $(bin):$(LIB_PATH)/lib$(CODEC_LIB)$(CODEC_LIB_SUF))\
288 $(eval $(call linker_template,$(bin),\ 296 $(eval $(call linker_template,$(bin),\
289 $(call objs,$($(notdir $(bin:$(EXE_SFX)=)).SRCS)) \ 297 $(call objs,$($(notdir $(bin:$(EXE_SFX)=)).SRCS)) \
290 -l$(CODEC_LIB) $(addprefix -l,$(CODEC_EXTRA_LIBS))\ 298 -l$(CODEC_LIB) $(addprefix -l,$(CODEC_EXTRA_LIBS))\
291 ))) 299 )))
292 300
293 # The following pairs define a mapping of locations in the distribution 301 # The following pairs define a mapping of locations in the distribution
294 # tree to locations in the source/build trees. 302 # tree to locations in the source/build trees.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 "pieces like the samples are. Their source is included here"\ 369 "pieces like the samples are. Their source is included here"\
362 "for reference. The following utilities are included:" >> $@ 370 "for reference. The following utilities are included:" >> $@
363 @$(foreach ex,$(sort $(UTILS:.c=)),\ 371 @$(foreach ex,$(sort $(UTILS:.c=)),\
364 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) 372 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;)
365 @echo "*/" >> $@ 373 @echo "*/" >> $@
366 374
367 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) 375 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox)
368 DOCS-yes += examples.doxy samples.dox 376 DOCS-yes += examples.doxy samples.dox
369 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) 377 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox)
370 @echo "INPUT += $^" > $@ 378 @echo "INPUT += $^" > $@
OLDNEW
« no previous file with comments | « source/libvpx/configure ('k') | source/libvpx/examples/vp9_spatial_svc_encoder.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698