| OLD | NEW |
| 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 20 matching lines...) Expand all Loading... |
| 31 vpxenc.SRCS += args.c args.h y4minput.c y4minput.h | 31 vpxenc.SRCS += args.c args.h y4minput.c y4minput.h |
| 32 vpxenc.SRCS += tools_common.c tools_common.h | 32 vpxenc.SRCS += tools_common.c tools_common.h |
| 33 vpxenc.SRCS += vpx_ports/mem_ops.h | 33 vpxenc.SRCS += vpx_ports/mem_ops.h |
| 34 vpxenc.SRCS += vpx_ports/mem_ops_aligned.h | 34 vpxenc.SRCS += vpx_ports/mem_ops_aligned.h |
| 35 vpxenc.SRCS += vpx_ports/vpx_timer.h | 35 vpxenc.SRCS += vpx_ports/vpx_timer.h |
| 36 vpxenc.SRCS += libmkv/EbmlIDs.h | 36 vpxenc.SRCS += libmkv/EbmlIDs.h |
| 37 vpxenc.SRCS += libmkv/EbmlWriter.c | 37 vpxenc.SRCS += libmkv/EbmlWriter.c |
| 38 vpxenc.SRCS += libmkv/EbmlWriter.h | 38 vpxenc.SRCS += libmkv/EbmlWriter.h |
| 39 vpxenc.GUID = 548DEC74-7A15-4B2B-AFC3-AA102E7C25C1 | 39 vpxenc.GUID = 548DEC74-7A15-4B2B-AFC3-AA102E7C25C1 |
| 40 vpxenc.DESCRIPTION = Full featured encoder | 40 vpxenc.DESCRIPTION = Full featured encoder |
| 41 UTILS-$(CONFIG_ENCODERS) += vp8_scalable_patterns.c | 41 UTILS-$(CONFIG_VP8_ENCODER) += vp8_scalable_patterns.c |
| 42 vp8_scalable_patterns.GUID = 0D6A210B-F482-4D6F-8570-4A9C01ACC88C | 42 vp8_scalable_patterns.GUID = 0D6A210B-F482-4D6F-8570-4A9C01ACC88C |
| 43 vp8_scalable_patterns.DESCRIPTION = Temporal Scalability Encoder | 43 vp8_scalable_patterns.DESCRIPTION = Temporal Scalability Encoder |
| 44 | 44 |
| 45 # Clean up old ivfenc, ivfdec binaries. | 45 # Clean up old ivfenc, ivfdec binaries. |
| 46 ifeq ($(CONFIG_MSVS),yes) | 46 ifeq ($(CONFIG_MSVS),yes) |
| 47 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfenc.exe) | 47 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfenc.exe) |
| 48 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfdec.exe) | 48 CLEAN-OBJS += $(foreach p,$(VS_PLATFORMS),$(p)/Release/ivfdec.exe) |
| 49 else | 49 else |
| 50 CLEAN-OBJS += ivfenc{.c.o,.c.d,.dox,.exe,} | 50 CLEAN-OBJS += ivfenc{.c.o,.c.d,.dox,.exe,} |
| 51 CLEAN-OBJS += ivfdec{.c.o,.c.d,.dox,.exe,} | 51 CLEAN-OBJS += ivfdec{.c.o,.c.d,.dox,.exe,} |
| 52 endif | 52 endif |
| 53 | 53 |
| 54 # XMA example disabled for now, not used in VP8 | 54 # XMA example disabled for now, not used in VP8 |
| 55 #UTILS-$(CONFIG_DECODERS) += example_xma.c | 55 #UTILS-$(CONFIG_DECODERS) += example_xma.c |
| 56 #example_xma.GUID = A955FC4A-73F1-44F7-135E-30D84D32F022 | 56 #example_xma.GUID = A955FC4A-73F1-44F7-135E-30D84D32F022 |
| 57 #example_xma.DESCRIPTION = External Memory Allocation mode usage | 57 #example_xma.DESCRIPTION = External Memory Allocation mode usage |
| 58 | 58 |
| 59 GEN_EXAMPLES-$(CONFIG_DECODERS) += simple_decoder.c | 59 GEN_EXAMPLES-$(CONFIG_VP8_DECODER) += simple_decoder.c |
| 60 simple_decoder.GUID = D3BBF1E9-2427-450D-BBFF-B2843C1D44CC | 60 simple_decoder.GUID = D3BBF1E9-2427-450D-BBFF-B2843C1D44CC |
| 61 simple_decoder.DESCRIPTION = Simplified decoder loop | 61 simple_decoder.DESCRIPTION = Simplified decoder loop |
| 62 GEN_EXAMPLES-$(CONFIG_DECODERS) += postproc.c | 62 GEN_EXAMPLES-$(CONFIG_VP8_DECODER) += postproc.c |
| 63 postproc.GUID = 65E33355-F35E-4088-884D-3FD4905881D7 | 63 postproc.GUID = 65E33355-F35E-4088-884D-3FD4905881D7 |
| 64 postproc.DESCRIPTION = Decoder postprocessor control | 64 postproc.DESCRIPTION = Decoder postprocessor control |
| 65 GEN_EXAMPLES-$(CONFIG_DECODERS) += decode_to_md5.c | 65 GEN_EXAMPLES-$(CONFIG_VP8_DECODER) += decode_to_md5.c |
| 66 decode_to_md5.SRCS += md5_utils.h md5_utils.c | 66 decode_to_md5.SRCS += md5_utils.h md5_utils.c |
| 67 decode_to_md5.GUID = 59120B9B-2735-4BFE-B022-146CA340FE42 | 67 decode_to_md5.GUID = 59120B9B-2735-4BFE-B022-146CA340FE42 |
| 68 decode_to_md5.DESCRIPTION = Frame by frame MD5 checksum | 68 decode_to_md5.DESCRIPTION = Frame by frame MD5 checksum |
| 69 | 69 |
| 70 GEN_EXAMPLES-$(CONFIG_ENCODERS) += simple_encoder.c | 70 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += simple_encoder.c |
| 71 simple_encoder.GUID = 4607D299-8A71-4D2C-9B1D-071899B6FBFD | 71 simple_encoder.GUID = 4607D299-8A71-4D2C-9B1D-071899B6FBFD |
| 72 simple_encoder.DESCRIPTION = Simplified encoder loop | 72 simple_encoder.DESCRIPTION = Simplified encoder loop |
| 73 GEN_EXAMPLES-$(CONFIG_ENCODERS) += twopass_encoder.c | 73 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += twopass_encoder.c |
| 74 twopass_encoder.GUID = 73494FA6-4AF9-4763-8FBB-265C92402FD8 | 74 twopass_encoder.GUID = 73494FA6-4AF9-4763-8FBB-265C92402FD8 |
| 75 twopass_encoder.DESCRIPTION = Two-pass encoder loop | 75 twopass_encoder.DESCRIPTION = Two-pass encoder loop |
| 76 GEN_EXAMPLES-$(CONFIG_ENCODERS) += force_keyframe.c | 76 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += force_keyframe.c |
| 77 force_keyframe.GUID = 3C67CADF-029F-4C86-81F5-D6D4F51177F0 | 77 force_keyframe.GUID = 3C67CADF-029F-4C86-81F5-D6D4F51177F0 |
| 78 force_keyframe.DESCRIPTION = Force generation of keyframes | 78 force_keyframe.DESCRIPTION = Force generation of keyframes |
| 79 ifeq ($(CONFIG_DECODERS),yes) | 79 ifeq ($(CONFIG_DECODERS),yes) |
| 80 GEN_EXAMPLES-$(CONFIG_ENCODERS) += decode_with_drops.c | 80 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += decode_with_drops.c |
| 81 endif | 81 endif |
| 82 decode_with_drops.GUID = CE5C53C4-8DDA-438A-86ED-0DDD3CDB8D26 | 82 decode_with_drops.GUID = CE5C53C4-8DDA-438A-86ED-0DDD3CDB8D26 |
| 83 decode_with_drops.DESCRIPTION = Drops frames while decoding | 83 decode_with_drops.DESCRIPTION = Drops frames while decoding |
| 84 ifeq ($(CONFIG_DECODERS),yes) | 84 ifeq ($(CONFIG_VP8_DECODER),yes) |
| 85 GEN_EXAMPLES-$(CONFIG_ERROR_CONCEALMENT) += decode_with_partial_drops.c | 85 GEN_EXAMPLES-$(CONFIG_ERROR_CONCEALMENT) += decode_with_partial_drops.c |
| 86 endif | 86 endif |
| 87 decode_with_partial_drops.GUID = 61C2D026-5754-46AC-916F-1343ECC5537E | 87 decode_with_partial_drops.GUID = 61C2D026-5754-46AC-916F-1343ECC5537E |
| 88 decode_with_partial_drops.DESCRIPTION = Drops parts of frames while decoding | 88 decode_with_partial_drops.DESCRIPTION = Drops parts of frames while decoding |
| 89 GEN_EXAMPLES-$(CONFIG_ENCODERS) += error_resilient.c | 89 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += error_resilient.c |
| 90 error_resilient.GUID = DF5837B9-4145-4F92-A031-44E4F832E00C | 90 error_resilient.GUID = DF5837B9-4145-4F92-A031-44E4F832E00C |
| 91 error_resilient.DESCRIPTION = Error Resiliency Feature | 91 error_resilient.DESCRIPTION = Error Resiliency Feature |
| 92 | 92 |
| 93 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8_set_maps.c | 93 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8_set_maps.c |
| 94 vp8_set_maps.GUID = ECB2D24D-98B8-4015-A465-A4AF3DCC145F | 94 vp8_set_maps.GUID = ECB2D24D-98B8-4015-A465-A4AF3DCC145F |
| 95 vp8_set_maps.DESCRIPTION = VP8 set active and ROI maps | 95 vp8_set_maps.DESCRIPTION = VP8 set active and ROI maps |
| 96 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c | 96 GEN_EXAMPLES-$(CONFIG_VP8_ENCODER) += vp8cx_set_ref.c |
| 97 vp8cx_set_ref.GUID = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A | 97 vp8cx_set_ref.GUID = C5E31F7F-96F6-48BD-BD3E-10EBF6E8057A |
| 98 vp8cx_set_ref.DESCRIPTION = VP8 set encoder reference frame | 98 vp8cx_set_ref.DESCRIPTION = VP8 set encoder reference frame |
| 99 | 99 |
| 100 # C file is provided, not generated automatically. | 100 # C file is provided, not generated automatically. |
| 101 UTILS-$(CONFIG_MULTI_RES_ENCODING) += vp8_multi_resolution_encoder.c | 101 UTILS-$(CONFIG_MULTI_RES_ENCODING) += vp8_multi_resolution_encoder.c |
| 102 vp8_multi_resolution_encoder.SRCS \ | 102 vp8_multi_resolution_encoder.SRCS \ |
| 103 += third_party/libyuv/include/libyuv/basic_types.h \ | 103 += third_party/libyuv/include/libyuv/basic_types.h \ |
| 104 third_party/libyuv/include/libyuv/cpu_id.h \ | 104 third_party/libyuv/include/libyuv/cpu_id.h \ |
| 105 third_party/libyuv/include/libyuv/scale.h \ | 105 third_party/libyuv/include/libyuv/scale.h \ |
| 106 third_party/libyuv/source/row.h \ | 106 third_party/libyuv/source/row.h \ |
| 107 third_party/libyuv/source/scale.c \ | 107 third_party/libyuv/source/scale.c \ |
| 108 third_party/libyuv/source/cpu_id.c | 108 third_party/libyuv/source/cpu_id.c |
| 109 vp8_multi_resolution_encoder.GUID = 04f8738e-63c8-423b-90fa-7c2703a374de | 109 vp8_multi_resolution_encoder.GUID = 04f8738e-63c8-423b-90fa-7c2703a374de |
| 110 vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding | 110 vp8_multi_resolution_encoder.DESCRIPTION = VP8 Multiple-resolution Encoding |
| 111 | 111 |
| 112 # Handle extra library flags depending on codec configuration | 112 # Handle extra library flags depending on codec configuration |
| 113 | 113 |
| 114 # We should not link to math library (libm) on RVCT | 114 # We should not link to math library (libm) on RVCT |
| 115 # when building for bare-metal targets | 115 # when building for bare-metal targets |
| 116 ifeq ($(CONFIG_OS_SUPPORT), yes) | 116 ifeq ($(CONFIG_OS_SUPPORT), yes) |
| 117 CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m | 117 CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m |
| 118 CODEC_EXTRA_LIBS-$(CONFIG_VP9) += m |
| 118 else | 119 else |
| 119 ifeq ($(CONFIG_GCC), yes) | 120 ifeq ($(CONFIG_GCC), yes) |
| 120 CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m | 121 CODEC_EXTRA_LIBS-$(CONFIG_VP8) += m |
| 122 CODEC_EXTRA_LIBS-$(CONFIG_VP9) += m |
| 121 endif | 123 endif |
| 122 endif | 124 endif |
| 123 # | 125 # |
| 124 # End of specified files. The rest of the build rules should happen | 126 # End of specified files. The rest of the build rules should happen |
| 125 # automagically from here. | 127 # automagically from here. |
| 126 # | 128 # |
| 127 | 129 |
| 128 | 130 |
| 129 # Examples need different flags based on whether we're building | 131 # Examples need different flags based on whether we're building |
| 130 # from an installed tree or a version controlled tree. Determine | 132 # from an installed tree or a version controlled tree. Determine |
| 131 # the proper paths. | 133 # the proper paths. |
| 132 ifeq ($(HAVE_ALT_TREE_LAYOUT),yes) | 134 ifeq ($(HAVE_ALT_TREE_LAYOUT),yes) |
| 133 LIB_PATH := $(SRC_PATH_BARE)/../lib | 135 LIB_PATH := $(SRC_PATH_BARE)/../lib |
| 134 INC_PATH := $(SRC_PATH_BARE)/../include | 136 INC_PATH := $(SRC_PATH_BARE)/../include |
| 135 else | 137 else |
| 136 LIB_PATH-yes += $(if $(BUILD_PFX),$(BUILD_PFX),.) | 138 LIB_PATH-yes += $(if $(BUILD_PFX),$(BUILD_PFX),.) |
| 137 INC_PATH-$(CONFIG_VP8_DECODER) += $(SRC_PATH_BARE)/vp8 | 139 INC_PATH-$(CONFIG_VP8_DECODER) += $(SRC_PATH_BARE)/vp8 |
| 138 INC_PATH-$(CONFIG_VP8_ENCODER) += $(SRC_PATH_BARE)/vp8 | 140 INC_PATH-$(CONFIG_VP8_ENCODER) += $(SRC_PATH_BARE)/vp8 |
| 141 INC_PATH-$(CONFIG_VP9_DECODER) += $(SRC_PATH_BARE)/vp9 |
| 142 INC_PATH-$(CONFIG_VP9_ENCODER) += $(SRC_PATH_BARE)/vp9 |
| 139 LIB_PATH := $(call enabled,LIB_PATH) | 143 LIB_PATH := $(call enabled,LIB_PATH) |
| 140 INC_PATH := $(call enabled,INC_PATH) | 144 INC_PATH := $(call enabled,INC_PATH) |
| 141 endif | 145 endif |
| 142 INTERNAL_CFLAGS = $(addprefix -I,$(INC_PATH)) | 146 INTERNAL_CFLAGS = $(addprefix -I,$(INC_PATH)) |
| 143 INTERNAL_LDFLAGS += $(addprefix -L,$(LIB_PATH)) | 147 INTERNAL_LDFLAGS += $(addprefix -L,$(LIB_PATH)) |
| 144 | 148 |
| 145 | 149 |
| 146 # Expand list of selected examples to build (as specified above) | 150 # Expand list of selected examples to build (as specified above) |
| 147 UTILS = $(call enabled,UTILS) | 151 UTILS = $(call enabled,UTILS) |
| 148 GEN_EXAMPLES = $(call enabled,GEN_EXAMPLES) | 152 GEN_EXAMPLES = $(call enabled,GEN_EXAMPLES) |
| (...skipping 23 matching lines...) Expand all Loading... |
| 172 DIST-BINS-$(NOT_MSVS) += $(addprefix bin/,$(ALL_EXAMPLES:.c=$(EXE_SFX))) | 176 DIST-BINS-$(NOT_MSVS) += $(addprefix bin/,$(ALL_EXAMPLES:.c=$(EXE_SFX))) |
| 173 INSTALL-BINS-$(NOT_MSVS) += $(addprefix bin/,$(UTILS:.c=$(EXE_SFX))) | 177 INSTALL-BINS-$(NOT_MSVS) += $(addprefix bin/,$(UTILS:.c=$(EXE_SFX))) |
| 174 DIST-SRCS-yes += $(ALL_SRCS) | 178 DIST-SRCS-yes += $(ALL_SRCS) |
| 175 INSTALL-SRCS-yes += $(UTIL_SRCS) | 179 INSTALL-SRCS-yes += $(UTIL_SRCS) |
| 176 OBJS-$(NOT_MSVS) += $(if $(BUILD_OBJS),$(call objs,$(ALL_SRCS))) | 180 OBJS-$(NOT_MSVS) += $(if $(BUILD_OBJS),$(call objs,$(ALL_SRCS))) |
| 177 BINS-$(NOT_MSVS) += $(addprefix $(BUILD_PFX),$(ALL_EXAMPLES:.c=$(EXE_S
FX))) | 181 BINS-$(NOT_MSVS) += $(addprefix $(BUILD_PFX),$(ALL_EXAMPLES:.c=$(EXE_S
FX))) |
| 178 | 182 |
| 179 | 183 |
| 180 # Instantiate linker template for all examples. | 184 # Instantiate linker template for all examples. |
| 181 CODEC_LIB=$(if $(CONFIG_DEBUG_LIBS),vpx_g,vpx) | 185 CODEC_LIB=$(if $(CONFIG_DEBUG_LIBS),vpx_g,vpx) |
| 182 CODEC_LIB_SUF=$(if $(CONFIG_SHARED),.so,.a) | 186 SHARED_LIB_SUF=$(if $(filter darwin%,$(TGT_OS)),.dylib,.so) |
| 187 CODEC_LIB_SUF=$(if $(CONFIG_SHARED),$(SHARED_LIB_SUF),.a) |
| 183 $(foreach bin,$(BINS-yes),\ | 188 $(foreach bin,$(BINS-yes),\ |
| 184 $(if $(BUILD_OBJS),$(eval $(bin):\ | 189 $(if $(BUILD_OBJS),$(eval $(bin):\ |
| 185 $(LIB_PATH)/lib$(CODEC_LIB)$(CODEC_LIB_SUF)))\ | 190 $(LIB_PATH)/lib$(CODEC_LIB)$(CODEC_LIB_SUF)))\ |
| 186 $(if $(BUILD_OBJS),$(eval $(call linker_template,$(bin),\ | 191 $(if $(BUILD_OBJS),$(eval $(call linker_template,$(bin),\ |
| 187 $(call objs,$($(notdir $(bin:$(EXE_SFX)=)).SRCS)) \ | 192 $(call objs,$($(notdir $(bin:$(EXE_SFX)=)).SRCS)) \ |
| 188 -l$(CODEC_LIB) $(addprefix -l,$(CODEC_EXTRA_LIBS))\ | 193 -l$(CODEC_LIB) $(addprefix -l,$(CODEC_EXTRA_LIBS))\ |
| 189 )))\ | 194 )))\ |
| 190 $(if $(LIPO_OBJS),$(eval $(call lipo_bin_template,$(bin))))\ | 195 $(if $(LIPO_OBJS),$(eval $(call lipo_bin_template,$(bin))))\ |
| 191 ) | 196 ) |
| 192 | 197 |
| 193 | 198 |
| 194 # Rules to generate the GEN_EXAMPLES sources | 199 # Rules to generate the GEN_EXAMPLES sources |
| 195 .PRECIOUS: %.c | 200 .PRECIOUS: %.c |
| 196 CLEAN-OBJS += $(GEN_EXAMPLES) | 201 CLEAN-OBJS += $(GEN_EXAMPLES) |
| 197 %.c: examples/%.txt | 202 %.c: examples/%.txt |
| 198 @echo " [EXAMPLE] $@" | 203 @echo " [EXAMPLE] $@" |
| 199 @$(SRC_PATH_BARE)/examples/gen_example_code.sh $< > $@ | 204 @$(SRC_PATH_BARE)/examples/gen_example_code.sh $< > $@ |
| 200 | 205 |
| 201 | 206 |
| 202 # The following pairs define a mapping of locations in the distribution | 207 # The following pairs define a mapping of locations in the distribution |
| 203 # tree to locations in the source/build trees. | 208 # tree to locations in the source/build trees. |
| 204 INSTALL_MAPS += src/%.c %.c | 209 INSTALL_MAPS += src/%.c %.c |
| 205 INSTALL_MAPS += src/% $(SRC_PATH_BARE)/% | 210 INSTALL_MAPS += src/% $(SRC_PATH_BARE)/% |
| 206 INSTALL_MAPS += bin/% % | 211 INSTALL_MAPS += bin/% % |
| 207 INSTALL_MAPS += % % | 212 INSTALL_MAPS += % % |
| 208 | 213 |
| 209 | 214 |
| 210 # Set up additional MSVS environment | 215 # Set up additional MSVS environment |
| 211 ifeq ($(CONFIG_MSVS),yes) | 216 ifeq ($(CONFIG_MSVS),yes) |
| 212 CODEC_LIB=$(if $(CONFIG_STATIC_MSVCRT),vpxmt,vpxmd) | 217 CODEC_LIB=$(if $(CONFIG_SHARED),vpx,$(if $(CONFIG_STATIC_MSVCRT),vpxmt,vpxmd)) |
| 213 # This variable uses deferred expansion intentionally, since the results of | 218 # This variable uses deferred expansion intentionally, since the results of |
| 214 # $(wildcard) may change during the course of the Make. | 219 # $(wildcard) may change during the course of the Make. |
| 215 VS_PLATFORMS = $(foreach d,$(wildcard */Release/$(CODEC_LIB).lib),$(word 1,$(sub
st /, ,$(d)))) | 220 VS_PLATFORMS = $(foreach d,$(wildcard */Release/$(CODEC_LIB).lib),$(word 1,$(sub
st /, ,$(d)))) |
| 216 INSTALL_MAPS += $(foreach p,$(VS_PLATFORMS),bin/$(p)/% $(p)/Release/%) | 221 INSTALL_MAPS += $(foreach p,$(VS_PLATFORMS),bin/$(p)/% $(p)/Release/%) |
| 217 endif | 222 endif |
| 218 | 223 |
| 219 # Build Visual Studio Projects. We use a template here to instantiate | 224 # Build Visual Studio Projects. We use a template here to instantiate |
| 220 # explicit rules rather than using an implicit rule because we want to | 225 # explicit rules rather than using an implicit rule because we want to |
| 221 # leverage make's VPATH searching rather than specifying the paths on | 226 # leverage make's VPATH searching rather than specifying the paths on |
| 222 # each file in ALL_EXAMPLES. This has the unfortunate side effect that | 227 # each file in ALL_EXAMPLES. This has the unfortunate side effect that |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 "pieces like the samples are. Thir sourcre is included here"\ | 281 "pieces like the samples are. Thir sourcre is included here"\ |
| 277 "for reference. The following utilities are included:" >> $@ | 282 "for reference. The following utilities are included:" >> $@ |
| 278 @$(foreach ex,$(UTILS:.c=),\ | 283 @$(foreach ex,$(UTILS:.c=),\ |
| 279 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) | 284 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) |
| 280 @echo "*/" >> $@ | 285 @echo "*/" >> $@ |
| 281 | 286 |
| 282 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) | 287 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) |
| 283 DOCS-yes += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) | 288 DOCS-yes += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) |
| 284 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) | 289 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) |
| 285 @echo "INPUT += $^" > $@ | 290 @echo "INPUT += $^" > $@ |
| OLD | NEW |