equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2002 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 "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # Makefile for building bif resource and bitmaps. |
|
16 # |
|
17 |
|
18 PROJECT=nsmlsync |
|
19 SOURCEDIR= . |
|
20 LANGUAGE=sc |
|
21 |
|
22 ifeq (WINS,$(findstring WINS, $(PLATFORM))) |
|
23 TARGETDIR=\Epoc32\Release\$(PLATFORM)\$(CFG)\Z\resource\messaging\bif |
|
24 else |
|
25 TARGETDIR=\Epoc32\data\Z\resource\messaging\bif |
|
26 endif |
|
27 |
|
28 $(TARGETDIR) : |
|
29 @perl \epoc32\tools\emkdir.pl $(TARGETDIR) |
|
30 |
|
31 SOURCERESOURCE=nsmlsp_sms_no.rss |
|
32 TEMPRESOURCE=$(TARGETDIR)\nsmlsp_sms_no.rss |
|
33 TARGETRESOURCE=$(TARGETDIR)\nsmlsp_sms_no.r$(LANGUAGE) |
|
34 |
|
35 $(TARGETRESOURCE) : $(TARGETDIR) $(SOURCERESOURCE) |
|
36 @copy $(SOURCERESOURCE) $(TEMPRESOURCE) |
|
37 @epocrc.bat -u -I. -I..\loc -I\epoc32\include $(TEMPRESOURCE) -o$(TARGETRESOURCE) |
|
38 @del $(TEMPRESOURCE) |
|
39 |
|
40 do_nothing: |
|
41 rem do nothing |
|
42 |
|
43 MAKMAKE : do_nothing |
|
44 |
|
45 RESOURCE : $(TARGETRESOURCE) $(TARGETRESOURCE2) |
|
46 |
|
47 SAVESPACE : BLD |
|
48 |
|
49 BLD : do_nothing |
|
50 |
|
51 FREEZE : do_nothing |
|
52 |
|
53 LIB : do_nothing |
|
54 |
|
55 CLEANLIB : do_nothing |
|
56 |
|
57 FINAL : do_nothing |
|
58 |
|
59 clear_ro: |
|
60 if exist $(TARGETRESOURCE) attrib -r $(TARGETRESOURCE) |
|
61 |
|
62 |
|
63 CLEAN : clear_ro |
|
64 if exist $(TARGETRESOURCE) erase $(TARGETRESOURCE) |
|
65 |
|
66 RELEASABLES : |
|
67 @echo $(TARGETRESOURCE) |
|
68 |
|
69 |