|
Last change
on this file since 43 was
2,
checked in by phkim, 11 years ago
|
|
1.phkim
- revision copy newcon3sk r27
|
-
Property svn:executable set to
*
|
|
File size:
3.0 KB
|
| Line | |
|---|
| 1 | # |
|---|
| 2 | # resources makefile |
|---|
| 3 | # |
|---|
| 4 | ifeq ($(MAKELEVEL),1) |
|---|
| 5 | # Base flags and variables for all modules |
|---|
| 6 | include platform.inc |
|---|
| 7 | endif |
|---|
| 8 | |
|---|
| 9 | ifndef TOPDIR |
|---|
| 10 | LIBDIR := $(shell cd ../lib ; /bin/pwd) |
|---|
| 11 | DTADIR := $(shell cd ../src ; /bin/pwd) |
|---|
| 12 | else |
|---|
| 13 | LIBDIR := $(TOPDIR)/dta/lib |
|---|
| 14 | DTADIR := $(TOPDIR)/dta/src |
|---|
| 15 | endif |
|---|
| 16 | |
|---|
| 17 | RESLIBNAME := res |
|---|
| 18 | ifeq (${APP_TYPE},dta) |
|---|
| 19 | RESMODPATH := $(DTADIR)/app/dta |
|---|
| 20 | else |
|---|
| 21 | ifeq (${APP_TYPE},ntia) |
|---|
| 22 | RESMODPATH := $(DTADIR)/app/ntia |
|---|
| 23 | else |
|---|
| 24 | RESMODPATH := $(DTADIR)/app/nanotv |
|---|
| 25 | endif |
|---|
| 26 | endif |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | |
|---|
| 30 | RES_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 | |
|---|
| 118 | FONT_SRC := FrancophilB_20_aa.c \ |
|---|
| 119 | FrancophilB_22_aa.c \ |
|---|
| 120 | FrancophilB_28_aa.c |
|---|
| 121 | |
|---|
| 122 | # |
|---|
| 123 | # Support for OSI D08 |
|---|
| 124 | # |
|---|
| 125 | |
|---|
| 126 | ifeq (${APP_TYPE},dta) |
|---|
| 127 | FONT_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 | |
|---|
| 135 | else |
|---|
| 136 | |
|---|
| 137 | FONT_SRC += \ |
|---|
| 138 | FrancophilB_40_aa.c |
|---|
| 139 | |
|---|
| 140 | |
|---|
| 141 | endif |
|---|
| 142 | |
|---|
| 143 | MONO_FONT_SRC := FrancophilB2_22_mono.c \ |
|---|
| 144 | FrancophilB2_28_mono.c |
|---|
| 145 | |
|---|
| 146 | |
|---|
| 147 | |
|---|
| 148 | |
|---|
| 149 | RESLIB_SRCS := $(addprefix $(RESMODPATH)/, $(FONT_SRC)) |
|---|
| 150 | |
|---|
| 151 | ifeq (${APP_TYPE},dta) |
|---|
| 152 | RESLIB_SRCS += $(addprefix $(RESMODPATH)/images/, $(RES_SRC)) |
|---|
| 153 | endif |
|---|
| 154 | |
|---|
| 155 | |
|---|
| 156 | |
|---|
| 157 | RESLIB_OBJECTS := $(patsubst %.c,%.o,$(filter %.c,$(RESLIB_SRCS))) $(patsubst %.S,%.o,$(filter %.S,$(RESLIB_SRCS))) |
|---|
| 158 | |
|---|
| 159 | RESLIB_DEPENDS := $(RESLIB_OBJECTS:%.o=%.d) |
|---|
| 160 | |
|---|
| 161 | all : $(LIBDIR)/lib$(RESLIBNAME).a |
|---|
| 162 | |
|---|
| 163 | $(LIBDIR)/lib$(RESLIBNAME).a : $(RESLIB_OBJECTS) |
|---|
| 164 | $(AR) $(ARFLAGS) $@ $? |
|---|
| 165 | |
|---|
| 166 | # clean : clean_res |
|---|
| 167 | |
|---|
| 168 | clean_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.