Fix harmless off-by-1 error.
[libvpx.git] / solution.mk
blob3b6e50eb173f85027876c8a6eab014d4af8c4a7e
1 ##
2 ## Copyright (c) 2010 The VP8 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 ##
12 ifeq ($(ARCH_ARM),yes)
13 ARM_DEVELOP=no
14 ARM_DEVELOP:=$(if $(filter %vpx.vcproj,$(wildcard *.vcproj)),yes)
16 ifeq ($(ARM_DEVELOP),yes)
17 vpx.sln:
18 @echo " [COPY] $@"
19 @cp $(SRC_PATH_BARE)/build/arm-wince-vs8/vpx.sln .
20 PROJECTS-yes += vpx.sln
21 else
22 vpx.sln: $(wildcard *.vcproj)
23 @echo " [CREATE] $@"
24 $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
25 $(if $(filter %vpx.vcproj,$^),--dep=ivfdec:vpx) \
26 $(if $(filter %vpx.vcproj,$^),--dep=xma:vpx) \
27 --ver=$(CONFIG_VS_VERSION)\
28 --target=$(TOOLCHAIN)\
29 --out=$@ $^
30 vpx.sln.mk: vpx.sln
31 @true
33 PROJECTS-yes += vpx.sln vpx.sln.mk
34 -include vpx.sln.mk
35 endif
37 else
38 vpx.sln: $(wildcard *.vcproj)
39 @echo " [CREATE] $@"
40 $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
41 $(if $(filter %vpx.vcproj,$^),\
42 $(foreach vcp,$(filter-out %vpx.vcproj,$^),\
43 --dep=$(vcp:.vcproj=):vpx)) \
44 --ver=$(CONFIG_VS_VERSION)\
45 --out=$@ $^
46 vpx.sln.mk: vpx.sln
47 @true
49 PROJECTS-yes += vpx.sln vpx.sln.mk
50 -include vpx.sln.mk
51 endif
53 # Always install this file, as it is an unconditional post-build rule.
54 INSTALL_MAPS += src/% $(SRC_PATH_BARE)/%
55 INSTALL-SRCS-yes += $(target).mk