source: svn/trunk/newcon3bcm2_21bu/dst/build/res.mk @ 45

Last change on this file since 45 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 3.0 KB
RevLine 
[2]1#
2# resources makefile
3#
4ifeq ($(MAKELEVEL),1)
5# Base flags and variables for all modules
6include platform.inc
7endif
8
9ifndef TOPDIR
10LIBDIR := $(shell cd ../lib ; /bin/pwd)
11DTADIR := $(shell cd ../src ; /bin/pwd)
12else
13LIBDIR := $(TOPDIR)/dta/lib
14DTADIR := $(TOPDIR)/dta/src
15endif
16
17RESLIBNAME := res
18ifeq (${APP_TYPE},dta)
19RESMODPATH := $(DTADIR)/app/dta
20else
21ifeq (${APP_TYPE},ntia)
22RESMODPATH := $(DTADIR)/app/ntia
23else
24RESMODPATH := $(DTADIR)/app/nanotv
25endif
26endif
27
28
29
30RES_SRC := \
31        btnMenuHiRight.c \
32        btnOvHiRight.c \
33        bkgBottomGradient.c \
34        btnMenuHitCenter.c \
35        bkgChnEntryCap.c \
36        btnMenuHitLeft.c \
37        bkgGradient.c \
38        btnMenuHitRight.c \
39        bkgTopGradient.c \
40        btnMenuLeft.c \
41        btnMenuCenter.c \
42        btnMenuRight.c \
43        btnMenuHiCenter.c \
44        btnOvHiCenter.c \
45        btnMenuHiLeft.c \
46        btnOvHiLeft.c \
47        cellDisabled.c \
48        cellFadeCapSettings.c \
49        cellFadeCapDisabled.c \
50        cellSettings.c \
51        indLockCell.c \
52        indLockDashbrd.c \
53        indTVNRCell.c \
54        indTV14Cell.c \
55        indTVPGCell.c \
56        indTVY7Cell.c \
57        indDownArrow.c \
58        indTVYCell.c \
59        indPinCreatedDashbrd.c \
60        indUpArrow.c \
61        indLockOpenCellHi.c \
62        indLockCellHi.c \
63        indUpArrowHit.c \
64        indHiddenTitlesDashbrd.c \
65        indTVMACell.c \
66        indAlertDashbrd.c \
67        indLockOpenCell.c \
68        indDownArrowHit.c \
69        indTVGCell.c \
70        indLockOpenDashbrd.c \
71        msoXfinity.c \
72        Battery_100.c \
73        Battery_90.c \
74        Battery_30.c \
75        Battery_50.c \
76        Battery_5.c \
77        Battery_60.c \
78        Battery_80.c \
79        Battery_70.c \
80        Battery_20.c \
81        Battery_40.c \
82        Battery_10.c \
83        cellHit.c \
84        cellHi.c \
85        cellBack.c \
86        bkgCinemaBar.c \
87        ovVolPlusHit.c \
88        ovVolMinusHit.c \
89        ovVolFillVolume.c \
90        ovVolFillMute.c \
91        bkgVolBar.c \
92        btnOvCenter.c \
93        btnOvLeft.c \
94        btnOvRight.c \
95        btnRadioSelected.c \
96        btnRadioUnselected.c \
97        ovSmallTop.c \
98        ovSmallTextMiddle.c \
99        ovSmallTextBottom.c \
100        ovSmallContentTop.c \
101        ovSmallContentMiddle.c \
102        ovSmallContentBottom.c \
103        ovMedTop.c \
104        ovMedTextMiddle.c \
105        ovMedTextBottom.c \
106        ovMedContentTop.c \
107        ovMedContentMiddle.c \
108        ovMedContentBottom.c \
109        btnUnderscore.c \
110        btnCheckBox.c \
111        btnCheckBoxCheck.c \
112        btnAsterisk.c \
113        btnAsteriskDim.c \
114        LocksIcon.c \
115        logo.c
116
117
118FONT_SRC := FrancophilB_20_aa.c \
119                FrancophilB_22_aa.c \
120                FrancophilB_28_aa.c
121
122#
123# Support for OSI D08
124#
125
126ifeq (${APP_TYPE},dta)
127FONT_SRC += TBTestTTMedCond_16_aa.c \
128                TBTestTTBold_22_aa.c \
129                TBTestTTMedCond_18_aa.c \
130                TBTestTTBold_26_aa.c \
131                TBTestTTBold_20_aa.c \
132                TBTestTTBold_18_aa.c \
133                TBTestTTBoldCond_18_aa.c
134               
135else
136
137FONT_SRC += \
138                FrancophilB_40_aa.c
139
140               
141endif
142
143MONO_FONT_SRC := FrancophilB2_22_mono.c \
144                FrancophilB2_28_mono.c
145
146
147
148                       
149RESLIB_SRCS := $(addprefix $(RESMODPATH)/, $(FONT_SRC))
150
151ifeq (${APP_TYPE},dta)
152RESLIB_SRCS += $(addprefix $(RESMODPATH)/images/, $(RES_SRC))
153endif
154
155
156
157RESLIB_OBJECTS := $(patsubst %.c,%.o,$(filter %.c,$(RESLIB_SRCS))) $(patsubst %.S,%.o,$(filter %.S,$(RESLIB_SRCS)))
158
159RESLIB_DEPENDS := $(RESLIB_OBJECTS:%.o=%.d)
160
161all : $(LIBDIR)/lib$(RESLIBNAME).a
162
163$(LIBDIR)/lib$(RESLIBNAME).a : $(RESLIB_OBJECTS) 
164        $(AR) $(ARFLAGS) $@ $?
165
166# clean : clean_res
167
168clean_res :
169        $(RM) -f $(LIBDIR)/lib$(RESLIBNAME).a $(RESLIB_OBJECTS) $(RESLIB_DEPENDS)
170
171-include $(RESLIB_DEPENDS)
172
173
174
Note: See TracBrowser for help on using the repository browser.