1##
2##  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3##
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
6##  tree. An additional intellectual property rights grant can be found
7##  in the file PATENTS.  All contributing project authors may
8##  be found in the AUTHORS file in the root of the source tree.
9##
10
11# libvpx reverse dependencies (targets that depend on libvpx)
12VPX_NONDEPS=$(addsuffix .$(VCPROJ_SFX),vpx gtest obj_int_extract)
13VPX_RDEPS=$(foreach vcp,\
14              $(filter-out $(VPX_NONDEPS),$^), --dep=$(vcp:.$(VCPROJ_SFX)=):vpx)
15
16vpx.sln: $(wildcard *.$(VCPROJ_SFX))
17	@echo "    [CREATE] $@"
18	$(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
19            $(if $(filter vpx.$(VCPROJ_SFX),$^),$(VPX_RDEPS)) \
20            --dep=vpx:obj_int_extract \
21            --dep=test_libvpx:gtest \
22            --ver=$(CONFIG_VS_VERSION)\
23            --out=$@ $^
24vpx.sln.mk: vpx.sln
25	@true
26
27PROJECTS-yes += vpx.sln vpx.sln.mk
28-include vpx.sln.mk
29
30# Always install this file, as it is an unconditional post-build rule.
31INSTALL_MAPS += src/%     $(SRC_PATH_BARE)/%
32INSTALL-SRCS-yes            += $(target).mk
33