blob: caa8bc17bf36b9e32ade4e3dc7726ebfa236cc9f [file] [log] [blame]
John Koleszar0ea50ce2010-05-18 11:58:33 -04001##
Yaowu Xu9c01aa12016-09-01 14:32:49 -07002## Copyright (c) 2016, Alliance for Open Media. All rights reserved
John Koleszar0ea50ce2010-05-18 11:58:33 -04003##
Yaowu Xu9c01aa12016-09-01 14:32:49 -07004## This source code is subject to the terms of the BSD 2 Clause License and
5## the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6## was not distributed with this source code in the LICENSE file, you can
7## obtain it at www.aomedia.org/license/software. If the Alliance for Open
8## Media Patent License 1.0 was not distributed with this source code in the
9## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
John Koleszar0ea50ce2010-05-18 11:58:33 -040010##
11
12
Yaowu Xuf883b422016-08-30 14:01:10 -070013# libaom reverse dependencies (targets that depend on libaom)
14AOM_NONDEPS=$(addsuffix .$(VCPROJ_SFX),aom gtest)
15AOM_RDEPS=$(foreach vcp,\
16 $(filter-out $(AOM_NONDEPS),$^), --dep=$(vcp:.$(VCPROJ_SFX)=):aom)
17
18aom.sln: $(wildcard *.$(VCPROJ_SFX))
John Koleszar0ea50ce2010-05-18 11:58:33 -040019 @echo " [CREATE] $@"
20 $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
Yaowu Xuf883b422016-08-30 14:01:10 -070021 $(if $(filter aom.$(VCPROJ_SFX),$^),$(AOM_RDEPS)) \
22 --dep=test_libaom:gtest \
John Koleszar7f63bfa2012-06-01 10:43:47 -070023 --ver=$(CONFIG_VS_VERSION)\
24 --out=$@ $^
Yaowu Xuf883b422016-08-30 14:01:10 -070025aom.sln.mk: aom.sln
John Koleszar0ea50ce2010-05-18 11:58:33 -040026 @true
27
Yaowu Xuf883b422016-08-30 14:01:10 -070028PROJECTS-yes += aom.sln aom.sln.mk
29-include aom.sln.mk
John Koleszar0ea50ce2010-05-18 11:58:33 -040030
31# Always install this file, as it is an unconditional post-build rule.
32INSTALL_MAPS += src/% $(SRC_PATH_BARE)/%
33INSTALL-SRCS-yes += $(target).mk