Icons_scalable_dc.mk 2.5 KB

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