Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame] | 1 | # ============================================================================ |
| 2 | # Name : Icons_aif_scalable_dc.mk |
| 3 | # Part of : pjsua |
| 4 | # |
| 5 | # Description: |
| 6 | # |
| 7 | # ============================================================================ |
| 8 | |
| 9 | |
| 10 | ifeq (WINS,$(findstring WINS, $(PLATFORM))) |
| 11 | ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z |
| 12 | else |
| 13 | ZDIR=$(EPOCROOT)epoc32\data\z |
| 14 | endif |
| 15 | |
| 16 | |
| 17 | # ---------------------------------------------------------------------------- |
| 18 | # TODO: Configure these |
| 19 | # ---------------------------------------------------------------------------- |
| 20 | |
| 21 | TARGETDIR=$(ZDIR)\resource\apps |
| 22 | ICONTARGETFILENAME=$(TARGETDIR)\pjsua_aif.mif |
| 23 | HEADERDIR=$(EPOCROOT)epoc32\include |
| 24 | HEADERFILENAME=$(HEADERDIR)\pjsua_aif.mbg |
| 25 | |
| 26 | ICONDIR=..\gfx |
| 27 | |
| 28 | do_nothing : |
| 29 | @rem do_nothing |
| 30 | |
| 31 | MAKMAKE : do_nothing |
| 32 | |
| 33 | BLD : do_nothing |
| 34 | |
| 35 | CLEAN : |
| 36 | @echo ...Deleting $(ICONTARGETFILENAME) |
| 37 | del /q /f $(ICONTARGETFILENAME) |
| 38 | |
| 39 | LIB : do_nothing |
| 40 | |
| 41 | CLEANLIB : do_nothing |
| 42 | |
| 43 | # ---------------------------------------------------------------------------- |
| 44 | # TODO: Configure these. |
| 45 | # |
| 46 | # NOTE 1: DO NOT DEFINE MASK FILE NAMES! They are included automatically by |
| 47 | # MifConv if the mask detph is defined. |
| 48 | # |
| 49 | # NOTE 2: Usually, source paths should not be included in the bitmap |
| 50 | # definitions. MifConv searches for the icons in all icon directories in a |
| 51 | # predefined order, which is currently \s60\icons, \s60\bitmaps2. |
| 52 | # The directory \s60\icons is included in the search only if the feature flag |
| 53 | # __SCALABLE_ICONS is defined. |
| 54 | # ---------------------------------------------------------------------------- |
| 55 | # NOTE: if you have JUSTINTIME enabled for your S60 3rd FP1 or newer SDK |
| 56 | # and this command crashes, consider adding "/X" to the command line. |
| 57 | # See <http://forum.nokia.com/document/Forum_Nokia_Technical_Library_v1_35/contents/FNTL/Build_process_fails_at_mif_file_creation_in_S60_3rd_Ed_FP1_SDK.htm> |
| 58 | # ---------------------------------------------------------------------------- |
| 59 | |
| 60 | RESOURCE : $(ICONTARGETFILENAME) |
| 61 | |
| 62 | $(ICONTARGETFILENAME) : $(ICONDIR)\qgn_menu_pjsua.svg |
| 63 | mifconv $(ICONTARGETFILENAME) \ |
| 64 | /H$(HEADERFILENAME) \ |
| 65 | /c32,8 $(ICONDIR)\qgn_menu_pjsua.svg |
| 66 | |
| 67 | FREEZE : do_nothing |
| 68 | |
| 69 | SAVESPACE : do_nothing |
| 70 | |
| 71 | RELEASABLES : |
| 72 | @echo $(ICONTARGETFILENAME) |
| 73 | |
| 74 | FINAL : do_nothing |
| 75 | |