2010-05-18 19:58:33 +04:00
|
|
|
##
|
2016-03-29 01:11:50 +03:00
|
|
|
## Copyright (c) 2016, Alliance for Open Media. All rights reserved
|
2010-05-18 19:58:33 +04:00
|
|
|
##
|
2016-03-29 01:11:50 +03:00
|
|
|
## This source code is subject to the terms of the BSD 2 Clause License and
|
|
|
|
## the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
|
|
|
## was not distributed with this source code in the LICENSE file, you can
|
|
|
|
## obtain it at www.aomedia.org/license/software. If the Alliance for Open
|
|
|
|
## Media Patent License 1.0 was not distributed with this source code in the
|
|
|
|
## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
2010-05-18 19:58:33 +04:00
|
|
|
##
|
|
|
|
|
2016-03-29 01:11:50 +03:00
|
|
|
|
2016-03-22 22:33:42 +03:00
|
|
|
# libaom reverse dependencies (targets that depend on libaom)
|
2016-03-25 22:57:08 +03:00
|
|
|
AOM_NONDEPS=$(addsuffix .$(VCPROJ_SFX),aom gtest)
|
|
|
|
AOM_RDEPS=$(foreach vcp,\
|
|
|
|
$(filter-out $(AOM_NONDEPS),$^), --dep=$(vcp:.$(VCPROJ_SFX)=):aom)
|
2010-05-18 19:58:33 +04:00
|
|
|
|
2016-03-25 22:11:05 +03:00
|
|
|
aom.sln: $(wildcard *.$(VCPROJ_SFX))
|
2010-05-18 19:58:33 +04:00
|
|
|
@echo " [CREATE] $@"
|
|
|
|
$(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
|
2016-03-25 22:57:08 +03:00
|
|
|
$(if $(filter aom.$(VCPROJ_SFX),$^),$(AOM_RDEPS)) \
|
2016-03-22 22:33:42 +03:00
|
|
|
--dep=test_libaom:gtest \
|
2012-06-01 21:43:47 +04:00
|
|
|
--ver=$(CONFIG_VS_VERSION)\
|
|
|
|
--out=$@ $^
|
2016-03-25 22:11:05 +03:00
|
|
|
aom.sln.mk: aom.sln
|
2010-05-18 19:58:33 +04:00
|
|
|
@true
|
|
|
|
|
2016-03-25 22:11:05 +03:00
|
|
|
PROJECTS-yes += aom.sln aom.sln.mk
|
|
|
|
-include aom.sln.mk
|
2010-05-18 19:58:33 +04:00
|
|
|
|
|
|
|
# Always install this file, as it is an unconditional post-build rule.
|
|
|
|
INSTALL_MAPS += src/% $(SRC_PATH_BARE)/%
|
|
|
|
INSTALL-SRCS-yes += $(target).mk
|