equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of the License "Symbian Foundation License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # environent specific variable settings |
|
16 # |
|
17 |
|
18 CPP ?= cpp |
|
19 PERL ?= perl |
|
20 BPLATWIN := $(call iif,$(findstring cmd.exe,$(call lcase,$(SHELL))),1,$(findstring mingw,$(call lcase,$(MAKE)))) |
|
21 EXCLCYGWIN := $(BPLATWIN) |
|
22 NULL := $(call iif,$(BPLATWIN),nul,/dev/null) |
|
23 DONOTHING := @$(call iif,$(BPLATWIN),rem,\#) |
|
24 |
|
25 # Set shell; cmd.exe for Windows, otherwise use /bin/sh |
|
26 SHELL := $(call iif,$(BPLATWIN),cmd.exe,/bin/sh) |
|
27 COPY := copy |
|
28 ERASE := del |
|
29 PRINT := @echo |
|
30 SHELL := cmd.exe |
|
31 RMDIR := rmdir /S /Q |
|
32 |
|
33 # returns the filename specific to this environment |
|
34 # Replaces / \\ if needed :) |
|
35 define getFile |
|
36 $(subst /,\\,$1) |
|
37 endef |
|
38 |