| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 INSTALL-BINS-$(CONFIG_MSVS) += $(foreach p,$(VS_PLATFORMS),\ | 331 INSTALL-BINS-$(CONFIG_MSVS) += $(foreach p,$(VS_PLATFORMS),\ |
| 332 $(addprefix bin/$(p)/,$(ALL_EXAMPLES_BASENAME:.c=
.exe))) | 332 $(addprefix bin/$(p)/,$(ALL_EXAMPLES_BASENAME:.c=
.exe))) |
| 333 $(foreach proj,$(call enabled,PROJECTS),\ | 333 $(foreach proj,$(call enabled,PROJECTS),\ |
| 334 $(eval $(call vcproj_template,$(proj)))) | 334 $(eval $(call vcproj_template,$(proj)))) |
| 335 | 335 |
| 336 # | 336 # |
| 337 # Documentation Rules | 337 # Documentation Rules |
| 338 # | 338 # |
| 339 %.dox: %.c | 339 %.dox: %.c |
| 340 @echo " [DOXY] $@" | 340 @echo " [DOXY] $@" |
| 341 @mkdir -p $(dir $@) |
| 341 @echo "/*!\page example_$(@F:.dox=) $(@F:.dox=)" > $@ | 342 @echo "/*!\page example_$(@F:.dox=) $(@F:.dox=)" > $@ |
| 342 @echo " \includelineno $(<F)" >> $@ | 343 @echo " \includelineno $(<F)" >> $@ |
| 343 @echo "*/" >> $@ | 344 @echo "*/" >> $@ |
| 344 | 345 |
| 345 samples.dox: examples.mk | 346 samples.dox: examples.mk |
| 346 @echo " [DOXY] $@" | 347 @echo " [DOXY] $@" |
| 347 @echo "/*!\page samples Sample Code" > $@ | 348 @echo "/*!\page samples Sample Code" > $@ |
| 348 @echo " This SDK includes a number of sample applications."\ | 349 @echo " This SDK includes a number of sample applications."\ |
| 349 "Each sample documents a feature of the SDK in both prose"\ | 350 "Each sample documents a feature of the SDK in both prose"\ |
| 350 "and the associated C code."\ | 351 "and the associated C code."\ |
| 351 "The following samples are included: ">>$@ | 352 "The following samples are included: ">>$@ |
| 352 @$(foreach ex,$(sort $(notdir $(EXAMPLES:.c=))),\ | 353 @$(foreach ex,$(sort $(notdir $(EXAMPLES:.c=))),\ |
| 353 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) | 354 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) |
| 354 @echo >> $@ | 355 @echo >> $@ |
| 355 @echo " In addition, the SDK contains a number of utilities."\ | 356 @echo " In addition, the SDK contains a number of utilities."\ |
| 356 "Since these utilities are built upon the concepts described"\ | 357 "Since these utilities are built upon the concepts described"\ |
| 357 "in the sample code listed above, they are not documented in"\ | 358 "in the sample code listed above, they are not documented in"\ |
| 358 "pieces like the samples are. Their source is included here"\ | 359 "pieces like the samples are. Their source is included here"\ |
| 359 "for reference. The following utilities are included:" >> $@ | 360 "for reference. The following utilities are included:" >> $@ |
| 360 @$(foreach ex,$(sort $(UTILS:.c=)),\ | 361 @$(foreach ex,$(sort $(UTILS:.c=)),\ |
| 361 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) | 362 echo " - \subpage example_$(ex) $($(ex).DESCRIPTION)" >> $@;) |
| 362 @echo "*/" >> $@ | 363 @echo "*/" >> $@ |
| 363 | 364 |
| 364 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) | 365 CLEAN-OBJS += examples.doxy samples.dox $(ALL_EXAMPLES:.c=.dox) |
| 365 DOCS-yes += examples.doxy samples.dox | 366 DOCS-yes += examples.doxy samples.dox |
| 366 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) | 367 examples.doxy: samples.dox $(ALL_EXAMPLES:.c=.dox) |
| 367 @echo "INPUT += $^" > $@ | 368 @echo "INPUT += $^" > $@ |
| OLD | NEW |