FreeCalypso > hg > tcs211-c139
comparison g23m/condat/ms/src/bmi/Icons/icn.mak @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 # | |
2 # Setting Directory for Layer4 Objects | |
3 # | |
4 TARID := bmi | |
5 OBJ := $(CONDAT_DIR)/obj/obj_$(TARID) | |
6 | |
7 INCLAYER4 = -I$(SRCMFW) | |
8 SRCOBJ = $(ICNOBJ) | |
9 | |
10 COLOUR_MMI = 0 | |
11 # | |
12 # Sim application setting | |
13 # | |
14 | |
15 ifeq ($(TK),1) | |
16 COPT1 += -dSIM_TOOLKIT | |
17 else | |
18 COPT1 += -uSIM_TOOLKIT | |
19 endif | |
20 | |
21 ifeq ($(WAP),1) | |
22 COPT1 += -dMMI_WAP_ENABLED | |
23 else | |
24 COPT1 += -uMMI_WAP_ENABLED | |
25 endif | |
26 | |
27 | |
28 # | |
29 # Support for Colour display | |
30 # | |
31 ifeq ($(BOARD),41) | |
32 COLOUR_MMI = 1 | |
33 endif | |
34 | |
35 ifeq ($(BOARD),40) | |
36 COLOUR_MMI = 1 | |
37 endif | |
38 | |
39 ifeq ($(COLOUR_MMI),1) | |
40 COPT1 += -dCOLOURDISPLAY | |
41 else | |
42 COPT1 += -uCOLOURDISPLAY | |
43 endif | |
44 | |
45 ICNOBJ = $(OBJ)/IcnDefs.$(OBJ_TAIL) | |
46 ifeq ($(COLOUR_MMI),1) | |
47 ICNOBJ += $(OBJ)/IcnNetBouygues.$(OBJ_TAIL) \ | |
48 $(OBJ)/IcnNetChinamobile.$(OBJ_TAIL) \ | |
49 $(OBJ)/IcnNetFareast.$(OBJ_TAIL) \ | |
50 $(OBJ)/IcnNetorange.$(OBJ_TAIL) \ | |
51 $(OBJ)/IcnNetSFR.$(OBJ_TAIL) \ | |
52 $(OBJ)/IcnNetsonofon.$(OBJ_TAIL) \ | |
53 $(OBJ)/IcnNetVodafone.$(OBJ_TAIL) \ | |
54 $(OBJ)/IcnNetVodafoneD2.$(OBJ_TAIL) \ | |
55 $(OBJ)/IcnNetTmobile.$(OBJ_TAIL) \ | |
56 $(OBJ)/IcnBattery.$(OBJ_TAIL) \ | |
57 $(OBJ)/IcnCipher.$(OBJ_TAIL) \ | |
58 $(OBJ)/IcnForward.$(OBJ_TAIL) \ | |
59 $(OBJ)/IcnKeylock.$(OBJ_TAIL) \ | |
60 $(OBJ)/IcnSignal.$(OBJ_TAIL) \ | |
61 $(OBJ)/IcnMessage.$(OBJ_TAIL) \ | |
62 $(OBJ)/IcnGprs.$(OBJ_TAIL) \ | |
63 $(OBJ)/IcnHomezone.$(OBJ_TAIL) \ | |
64 $(OBJ)/IcnVoicemail.$(OBJ_TAIL) \ | |
65 $(OBJ)/IcnBgdSquares.$(OBJ_TAIL) \ | |
66 $(OBJ)/icnBgdTI.$(OBJ_TAIL) \ | |
67 $(OBJ)/icnAniPhone.$(OBJ_TAIL) \ | |
68 $(OBJ)/IcnPopupBgd.$(OBJ_TAIL) \ | |
69 $(OBJ)/IcnLogoTI.$(OBJ_TAIL) \ | |
70 $(OBJ)/IcnMainApp.$(OBJ_TAIL) \ | |
71 $(OBJ)/IcnMainSet.$(OBJ_TAIL) \ | |
72 $(OBJ)/IcnMainPhb.$(OBJ_TAIL) \ | |
73 $(OBJ)/IcnMainMsg.$(OBJ_TAIL) \ | |
74 $(OBJ)/IcnMainDiv.$(OBJ_TAIL) \ | |
75 $(OBJ)/IcnMainRcl.$(OBJ_TAIL) \ | |
76 $(OBJ)/IcnMainSec.$(OBJ_TAIL) \ | |
77 $(OBJ)/IcnMainStk.$(OBJ_TAIL) \ | |
78 $(OBJ)/IcnMainWap.$(OBJ_TAIL) \ | |
79 $(OBJ)/IcnCallBackGround.$(OBJ_TAIL) | |
80 endif | |
81 | |
82 | |
83 # | |
84 # Creating icn.lib | |
85 # | |
86 | |
87 | |
88 $(TOP_DIR)/$(ICN_LIB) : $(OBJ) $(SRCOBJ) | |
89 -$(PERL) $(CONDAT_DIR)/int/bin/make_ver.pl | |
90 $(AR) r $(TOP_DIR)/$(ICN_LIB) $(SRCOBJ) ver.$(OBJ_TAIL) | |
91 | |
92 $(OBJ): | |
93 mkdir $(subst /,$(SLASH),$(OBJ)) | |
94 | |
95 clean: | |
96 $(REMOVE) $(subst /,$(SLASH),$(OBJ)) | |
97 | |
98 $(ICNOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCICN)/%.c | |
99 echo -D$(NCONFIG) > cmd | |
100 echo -D$(NTRACE) >> cmd | |
101 echo -D$(NWARN) >> cmd | |
102 echo -DTRGT_G23 >> cmd | |
103 echo -DAUS_CONDAT_TYPE_PORTING >> cmd | |
104 echo -DUSE_WIP_MALLOC >> cmd | |
105 echo $(COPT) >> cmd | |
106 echo $(COPT1) >> cmd | |
107 echo $(COTAR) >> cmd | |
108 echo $(FDOPT) >> cmd | |
109 echo $(INCDRV1) >> cmd | |
110 echo $(INCDRV2) >> cmd | |
111 echo -I$(ICOM) >> cmd | |
112 echo -I$(ICDG) >> cmd | |
113 echo -I$(IAUS) >> cmd | |
114 echo -I$(IGLE) >> cmd | |
115 echo -I$(IAUSC) >> cmd | |
116 echo -I$(SRCWAP) >> cmd | |
117 echo $(INCLAYER4) >> cmd | |
118 echo -fr$(OBJ) >> cmd | |
119 $(CC_PRE) $^ -@cmd | |
120 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
121 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd | |
122 |