blob: 6d2c08d060c6692a4adafc70531f1d7d5f5b325a [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
11
12ifeq ($(ARCH_ARM),yes)
13ARM_DEVELOP=no
14ARM_DEVELOP:=$(if $(filter %vpx.vcproj,$(wildcard *.vcproj)),yes)
15
16ifeq ($(ARM_DEVELOP),yes)
17vpx.sln:
18 @echo " [COPY] $@"
19 @cp $(SRC_PATH_BARE)/build/arm-wince-vs8/vpx.sln .
20PROJECTS-yes += vpx.sln
21else
22vpx.sln: $(wildcard *.vcproj)
23 @echo " [CREATE] $@"
24 $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \
John Koleszarea68ee02010-10-21 15:02:10 -040025 $(if $(filter %vpx.vcproj,$^),--dep=vpxdec:vpx) \
John Koleszar0ea50ce2010-05-18 11:58:33 -040026 $(if $(filter %vpx.vcproj,$^),--dep=xma:vpx) \
27 --ver=$(CONFIG_VS_VERSION)\
28 --target=$(TOOLCHAIN)\
29 --out=$@ $^
30vpx.sln.mk: vpx.sln
31 @true
32
33PROJECTS-yes += vpx.sln vpx.sln.mk
34-include vpx.sln.mk
35endif
36
37else
38vpx.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=$@ $^
46vpx.sln.mk: vpx.sln
47 @true
48
49PROJECTS-yes += vpx.sln vpx.sln.mk
50-include vpx.sln.mk
51endif
52
53# Always install this file, as it is an unconditional post-build rule.
54INSTALL_MAPS += src/% $(SRC_PATH_BARE)/%
55INSTALL-SRCS-yes += $(target).mk