fontservices/referencefonts/group/fonts2.mk
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 #
       
     2 # Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #
       
    16 # Build font files
       
    17 #
       
    18 
       
    19 !if "$(PLATFORM)"=="WINS" || "$(PLATFORM)"=="WINSCW"
       
    20 TARGETDIR=$(EPOCROOT)EPOC32\RELEASE\$(PLATFORM)\$(CFG)\Z\Resource\Fonts
       
    21 !else
       
    22 TARGETDIR=$(EPOCROOT)EPOC32\DATA\Z\Resource\Fonts
       
    23 !endif
       
    24 
       
    25 $(TARGETDIR) :
       
    26 	@perl -S emkdir.pl "$(TARGETDIR)"
       
    27 
       
    28 FONTS=\
       
    29 	$(TARGETDIR)\EON14.GDR \
       
    30 	$(TARGETDIR)\DejaVuSans.ttf \
       
    31 	$(TARGETDIR)\DejaVuSans-Bold.ttf \
       
    32 	$(TARGETDIR)\DejaVuSans-Oblique.ttf \
       
    33 	$(TARGETDIR)\DejaVuSans-BoldOblique.ttf \
       
    34 	$(TARGETDIR)\DejaVuSans-ExtraLight.ttf \
       
    35 	$(TARGETDIR)\DejaVuSansCondensed.ttf \
       
    36 	$(TARGETDIR)\DejaVuSansCondensed-Bold.ttf \
       
    37 	$(TARGETDIR)\DejaVuSansCondensed-Oblique.ttf \
       
    38 	$(TARGETDIR)\DejaVuSansCondensed-BoldOblique.ttf \
       
    39 	$(TARGETDIR)\DejaVuSansMono.ttf \
       
    40 	$(TARGETDIR)\DejaVuSansMono-Bold.ttf \
       
    41 	$(TARGETDIR)\DejaVuSansMono-Oblique.ttf \
       
    42 	$(TARGETDIR)\DejaVuSansMono-BoldOblique.ttf \
       
    43 	$(TARGETDIR)\DejaVuSerif.ttf \
       
    44 	$(TARGETDIR)\DejaVuSerif-Bold.ttf \
       
    45 	$(TARGETDIR)\DejaVuSerif-Italic.ttf \
       
    46 	$(TARGETDIR)\DejaVuSerif-BoldItalic.ttf \
       
    47 	$(TARGETDIR)\DejaVuSerifCondensed.ttf \
       
    48 	$(TARGETDIR)\DejaVuSerifCondensed-Bold.ttf \
       
    49 	$(TARGETDIR)\DejaVuSerifCondensed-Italic.ttf \
       
    50 	$(TARGETDIR)\DejaVuSerifCondensed-BoldItalic.ttf
       
    51 
       
    52 FONTSRC=..\bitmap
       
    53 EON14SRCS=\
       
    54 	$(FONTSRC)\squashed.bdf \
       
    55 	$(FONTSRC)\calc35.bdf \
       
    56 	$(FONTSRC)\calc13.bdf \
       
    57 	$(FONTSRC)\calc18.bdf \
       
    58 	$(FONTSRC)\calcinv.bdf \
       
    59 	$(FONTSRC)\digit35.bdf \
       
    60 	$(FONTSRC)\agnsym11.bdf \
       
    61 	$(FONTSRC)\agnsym16.bdf \
       
    62 	$(FONTSRC)\eiksym15.bdf \
       
    63 	$(FONTSRC)\base.gd
       
    64 
       
    65 $(TARGETDIR)\EON14.GDR : $(EON14SRCS)
       
    66 	fnttran $(EON14SRCS) $@
       
    67 
       
    68 $(TARGETDIR)\DejaVuSans.ttf : ..\truetype\DejaVuSans.ttf
       
    69 	copy ..\truetype\DejaVuSans.ttf $@
       
    70 
       
    71 $(TARGETDIR)\DejaVuSans-Bold.ttf : ..\truetype\DejaVuSans-Bold.ttf
       
    72 	copy ..\truetype\DejaVuSans-Bold.ttf $@
       
    73 
       
    74 $(TARGETDIR)\DejaVuSans-Oblique.ttf : ..\truetype\DejaVuSans-Oblique.ttf
       
    75 	copy ..\truetype\DejaVuSans-Oblique.ttf $@
       
    76 
       
    77 $(TARGETDIR)\DejaVuSans-BoldOblique.ttf : ..\truetype\DejaVuSans-BoldOblique.ttf
       
    78 	copy ..\truetype\DejaVuSans-BoldOblique.ttf $@
       
    79 
       
    80 $(TARGETDIR)\DejaVuSans-ExtraLight.ttf : ..\truetype\DejaVuSans-ExtraLight.ttf
       
    81 	copy ..\truetype\DejaVuSans-ExtraLight.ttf $@
       
    82 
       
    83 $(TARGETDIR)\DejaVuSansCondensed.ttf : ..\truetype\DejaVuSansCondensed.ttf
       
    84 	copy ..\truetype\DejaVuSansCondensed.ttf $@
       
    85 
       
    86 $(TARGETDIR)\DejaVuSansCondensed-Bold.ttf : ..\truetype\DejaVuSansCondensed-Bold.ttf
       
    87 	copy ..\truetype\DejaVuSansCondensed-Bold.ttf $@
       
    88 
       
    89 $(TARGETDIR)\DejaVuSansCondensed-Oblique.ttf : ..\truetype\DejaVuSansCondensed-Oblique.ttf
       
    90 	copy ..\truetype\DejaVuSansCondensed-Oblique.ttf $@
       
    91 
       
    92 $(TARGETDIR)\DejaVuSansCondensed-BoldOblique.ttf : ..\truetype\DejaVuSansCondensed-BoldOblique.ttf
       
    93 	copy ..\truetype\DejaVuSansCondensed-BoldOblique.ttf $@
       
    94 
       
    95 $(TARGETDIR)\DejaVuSansMono.ttf : ..\truetype\DejaVuSansMono.ttf
       
    96 	copy ..\truetype\DejaVuSansMono.ttf $@
       
    97 
       
    98 $(TARGETDIR)\DejaVuSansMono-Bold.ttf : ..\truetype\DejaVuSansMono-Bold.ttf
       
    99 	copy ..\truetype\DejaVuSansMono-Bold.ttf $@
       
   100 
       
   101 $(TARGETDIR)\DejaVuSansMono-Oblique.ttf : ..\truetype\DejaVuSansMono-Oblique.ttf
       
   102 	copy ..\truetype\DejaVuSansMono-Oblique.ttf $@
       
   103 
       
   104 $(TARGETDIR)\DejaVuSansMono-BoldOblique.ttf : ..\truetype\DejaVuSansMono-BoldOblique.ttf
       
   105 	copy ..\truetype\DejaVuSansMono-BoldOblique.ttf $@
       
   106 
       
   107 $(TARGETDIR)\DejaVuSerif.ttf : ..\truetype\DejaVuSerif.ttf
       
   108 	copy ..\truetype\DejaVuSerif.ttf $@
       
   109 
       
   110 $(TARGETDIR)\DejaVuSerif-Bold.ttf : ..\truetype\DejaVuSerif-Bold.ttf
       
   111 	copy ..\truetype\DejaVuSerif-Bold.ttf $@
       
   112 
       
   113 $(TARGETDIR)\DejaVuSerif-Italic.ttf : ..\truetype\DejaVuSerif-Italic.ttf
       
   114 	copy ..\truetype\DejaVuSerif-Italic.ttf $@
       
   115 
       
   116 $(TARGETDIR)\DejaVuSerif-BoldItalic.ttf : ..\truetype\DejaVuSerif-BoldItalic.ttf
       
   117 	copy ..\truetype\DejaVuSerif-BoldItalic.ttf $@
       
   118 
       
   119 $(TARGETDIR)\DejaVuSerifCondensed.ttf : ..\truetype\DejaVuSerifCondensed.ttf
       
   120 	copy ..\truetype\DejaVuSerifCondensed.ttf $@
       
   121 
       
   122 $(TARGETDIR)\DejaVuSerifCondensed-Bold.ttf : ..\truetype\DejaVuSerifCondensed-Bold.ttf
       
   123 	copy ..\truetype\DejaVuSerifCondensed-Bold.ttf $@
       
   124 
       
   125 $(TARGETDIR)\DejaVuSerifCondensed-Italic.ttf : ..\truetype\DejaVuSerifCondensed-Italic.ttf
       
   126 	copy ..\truetype\DejaVuSerifCondensed-Italic.ttf $@
       
   127 
       
   128 $(TARGETDIR)\DejaVuSerifCondensed-BoldItalic.ttf : ..\truetype\DejaVuSerifCondensed-BoldItalic.ttf
       
   129 	copy ..\truetype\DejaVuSerifCondensed-BoldItalic.ttf $@
       
   130 
       
   131 do_nothing :
       
   132 	rem do_nothing
       
   133 
       
   134 #
       
   135 # The targets invoked by bld...
       
   136 #
       
   137 
       
   138 MAKMAKE : do_nothing
       
   139 
       
   140 BLD : $(TARGETDIR) $(FONTS)
       
   141 
       
   142 SAVESPACE : BLD
       
   143 
       
   144 RESOURCE : BLD
       
   145 
       
   146 CLEAN : 
       
   147 	-erase $(FONTS)
       
   148 
       
   149 FREEZE : do_nothing
       
   150 
       
   151 LIB : do_nothing
       
   152 
       
   153 CLEANLIB : do_nothing
       
   154 
       
   155 FINAL : do_nothing
       
   156 
       
   157 RELEASABLES : 
       
   158 	@echo $(FONTS)
       
   159