blob: 2c8d29a2a1e87ecfad0229f254af42d2e502c5e7 [file] [log] [blame]
John Koleszar0ea50ce2010-05-18 11:58:33 -04001##
John Koleszarc2140b82010-09-09 08:16:39 -04002## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
John Koleszar0ea50ce2010-05-18 11:58:33 -04003##
John Koleszar94c52e42010-06-18 12:39:21 -04004## Use of this source code is governed by a BSD-style license
John Koleszar09202d82010-06-04 16:19:40 -04005## 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
John Koleszar94c52e42010-06-18 12:39:21 -04007## in the file PATENTS. All contributing project authors may
John Koleszar09202d82010-06-04 16:19:40 -04008## be found in the AUTHORS file in the root of the source tree.
John Koleszar0ea50ce2010-05-18 11:58:33 -04009##
10
John Koleszar7f63bfa2012-06-01 10:43:47 -070011# libvpx reverse dependencies (targets that depend on libvpx)
Martin Storsjo0b4637e2013-05-17 00:56:46 +030012VPX_NONDEPS=$(addsuffix .$(VCPROJ_SFX),vpx gtest obj_int_extract)
John Koleszar7f63bfa2012-06-01 10:43:47 -070013VPX_RDEPS=$(foreach vcp,\
Martin Storsjo0b4637e2013-05-17 00:56:46 +030014 $(filter-out $(VPX_NONDEPS),$^), --dep=$(vcp:.$(VCPROJ_SFX)=):vpx)
John Koleszar0ea50ce2010-05-18 11:58:33 -040015
Martin Storsjo0b4637e2013-05-17 00:56:46 +030016vpx.sln: $(wildcard *.$(VCPROJ_SFX))
John Koleszar0ea50ce2010-05-18 11:58:33 -040017 @echo " [CREATE] $@"
18 $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
Martin Storsjo0b4637e2013-05-17 00:56:46 +030019 $(if $(filter vpx.$(VCPROJ_SFX),$^),$(VPX_RDEPS)) \
John Koleszar7f63bfa2012-06-01 10:43:47 -070020 --dep=vpx:obj_int_extract \
21 --dep=test_libvpx:gtest \
22 --ver=$(CONFIG_VS_VERSION)\
23 --out=$@ $^
John Koleszar0ea50ce2010-05-18 11:58:33 -040024vpx.sln.mk: vpx.sln
25 @true
26
27PROJECTS-yes += vpx.sln vpx.sln.mk
28-include vpx.sln.mk
John Koleszar0ea50ce2010-05-18 11:58:33 -040029
30# Always install this file, as it is an unconditional post-build rule.
31INSTALL_MAPS += src/% $(SRC_PATH_BARE)/%
32INSTALL-SRCS-yes += $(target).mk