Merge "Fix SSSE3 partial_idct_test detection"
[platform/upstream/libvpx.git] / solution.mk
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)
12 VPX_NONDEPS=$(addsuffix .$(VCPROJ_SFX),vpx gtest)
13 VPX_RDEPS=$(foreach vcp,\
14               $(filter-out $(VPX_NONDEPS),$^), --dep=$(vcp:.$(VCPROJ_SFX)=):vpx)
15
16 vpx.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=test_libvpx:gtest \
21             --ver=$(CONFIG_VS_VERSION)\
22             --out=$@ $^
23 vpx.sln.mk: vpx.sln
24         @true
25
26 PROJECTS-yes += vpx.sln vpx.sln.mk
27 -include vpx.sln.mk
28
29 # Always install this file, as it is an unconditional post-build rule.
30 INSTALL_MAPS += src/%     $(SRC_PATH_BARE)/%
31 INSTALL-SRCS-yes            += $(target).mk