misc/libfreetype/builds/amiga/makefile.os4
author koda
Thu, 28 Feb 2013 23:14:11 +0100
changeset 8612 f7c194533d45
parent 5172 88f2e05288ba
permissions -rw-r--r--
mysterious merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     1
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     2
# Makefile for FreeType2 link library using gcc 4.0.3 from the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     3
# AmigaOS4 SDK
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     4
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     5
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     6
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     7
# Copyright 2005, 2006, 2007, 2009 by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     8
# Werner Lemberg and Detlef Würkner.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     9
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    10
# This file is part of the FreeType project, and may only be used, modified,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    11
# and distributed under the terms of the FreeType project license,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    12
# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    13
# indicate that you have read the license and understand and accept it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    14
# fully.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    15
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    16
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    17
# to build from the builds/amiga directory call
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    18
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    19
#  make -f makefile.os4
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
# Your programs source code should start with this
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
# (uncomment the parts you do not need to keep the program small):
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
# ---8<---
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
#define FT_USE_AUTOFIT // autofitter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
#define FT_USE_RASTER  // monochrome rasterizer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
#define FT_USE_SMOOTH  // anti-aliasing rasterizer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
#define FT_USE_TT      // truetype font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
#define FT_USE_T1      // type1 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
#define FT_USE_T42     // type42 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
#define FT_USE_T1CID   // cid-keyed type1 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
#define FT_USE_CFF     // opentype font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
#define FT_USE_BDF     // bdf bitmap font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
#define FT_USE_PCF     // pcf bitmap font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
#define FT_USE_PFR     // pfr font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
#define FT_USE_WINFNT  // windows .fnt|.fon bitmap font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
#define FT_USE_OTV     // opentype validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    37
#define FT_USE_GXV     // truetype gx validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
#include "FT:src/base/ftinit.c"
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
# ---8<---
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
# link your programs with libft2_ppc.a and either ftsystem.ppc.o or ftsystempure.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    42
# (and either ftdebug.ppc.o or ftdebugpure.ppc.o if you enabled FT_DEBUG_LEVEL_ERROR or
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
# FT_DEBUG_LEVEL_TRACE in include/freetype/config/ftoption.h).
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
all:	assign libft2_ppc.a ftsystem.ppc.o ftsystempure.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    47
assign:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
	assign FT: //
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
CC =     ppc-amigaos-gcc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
AR =     ppc-amigaos-ar
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
RANLIB = ppc-amigaos-ranlib
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    54
DIRFLAGS  = -Iinclude -I/FT/src -I/FT/include -I/SDK/include
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    55
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
WARNINGS = -Wall -W -Wundef -Wpointer-arith -Wbad-function-cast \
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
	   -Waggregate-return -Wwrite-strings -Wshadow
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    59
OPTIONS  = -DFT2_BUILD_LIBRARY -DNDEBUG -fno-builtin
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    60
OPTIMIZE = -O2 -fomit-frame-pointer -fstrength-reduce -finline-functions
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    61
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    62
CFLAGS   = -mcrt=clib2 $(DIRFLAGS) $(WARNINGS) $(FT2FLAGS) $(OPTIONS) $(OPTIMIZE)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    63
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    64
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    65
# FreeType2 library base
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    66
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    67
ftbase.ppc.o: FT:src/base/ftbase.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftbase.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    69
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    70
ftinit.ppc.o: FT:src/base/ftinit.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftinit.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    72
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    73
ftsystem.ppc.o: FT:src/base/ftsystem.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    74
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftsystem.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
# pure version for use in run-time library etc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    77
ftsystempure.ppc.o: src/base/ftsystem.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    78
	$(CC) -c $(CFLAGS) -o $@ src/base/ftsystem.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    79
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    80
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    81
# FreeType2 library base extensions
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
ftbbox.ppc.o: FT:src/base/ftbbox.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    84
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftbbox.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    85
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
ftbdf.ppc.o: FT:src/base/ftbdf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftbdf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    88
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
ftbitmap.ppc.o: FT:src/base/ftbitmap.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftbitmap.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
ftcid.ppc.o: FT:src/base/ftcid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    93
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftcid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    94
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    95
ftdebug.ppc.o: FT:src/base/ftdebug.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    96
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftdebug.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    97
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    98
# pure version for use in run-time library etc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    99
ftdebugpure.ppc.o: src/base/ftdebug.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   100
	$(CC) -c $(CFLAGS) -o $@ src/base/ftdebug.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   101
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   102
ftfstype.ppc.o: FT:src/base/ftfstype.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   103
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftfstype.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   104
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   105
ftgasp.ppc.o: FT:src/base/ftgasp.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   106
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftgasp.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   107
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   108
ftglyph.ppc.o: FT:src/base/ftglyph.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   109
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftglyph.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   110
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   111
ftgxval.ppc.o: FT:src/base/ftgxval.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   112
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftgxval.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   113
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   114
ftlcdfil.ppc.o: FT:src/base/ftlcdfil.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   115
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftlcdfil.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   116
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   117
ftmm.ppc.o: FT:src/base/ftmm.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   118
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftmm.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   119
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   120
ftotval.ppc.o: FT:src/base/ftotval.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   121
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftotval.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   122
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   123
ftpatent.ppc.o: FT:src/base/ftpatent.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   124
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftpatent.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   125
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   126
ftpfr.ppc.o: FT:src/base/ftpfr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   127
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftpfr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   128
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   129
ftstroke.ppc.o: FT:src/base/ftstroke.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   130
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftstroke.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   131
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   132
ftsynth.ppc.o: FT:src/base/ftsynth.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   133
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftsynth.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   134
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   135
fttype1.ppc.o: FT:src/base/fttype1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   136
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/fttype1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   137
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   138
ftwinfnt.ppc.o: FT:src/base/ftwinfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   139
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftwinfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   140
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   141
ftxf86.ppc.o: FT:src/base/ftxf86.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   142
	$(CC) -c $(CFLAGS) -o $@ /FT/src/base/ftxf86.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   143
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   144
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   145
# FreeType2 library autofitting module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   146
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   147
autofit.ppc.o: FT:src/autofit/autofit.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   148
	$(CC) -c $(CFLAGS) -o $@ /FT/src/autofit/autofit.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   149
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   150
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   151
# FreeType2 library postscript hinting module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   152
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   153
pshinter.ppc.o: FT:src/pshinter/pshinter.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   154
	$(CC) -c $(CFLAGS) -o $@ /FT/src/pshinter/pshinter.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   155
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   156
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   157
# FreeType2 library PS support module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   158
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   159
psaux.ppc.o: FT:src/psaux/psaux.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   160
	$(CC) -c $(CFLAGS) -o $@ /FT/src/psaux/psaux.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   161
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   162
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   163
# FreeType2 library PS glyph names module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   164
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   165
psnames.ppc.o: FT:src/psnames/psnames.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   166
	$(CC) -c $(CFLAGS) -o $@ /FT/src/psnames/psnames.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   167
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   168
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   169
# FreeType2 library monochrome raster module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   170
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   171
raster.ppc.o: FT:src/raster/raster.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   172
	$(CC) -c $(CFLAGS) -o $@ /FT/src/raster/raster.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   173
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   174
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   175
# FreeType2 library anti-aliasing raster module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   176
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   177
smooth.ppc.o: FT:src/smooth/smooth.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   178
	$(CC) -c $(CFLAGS) -o $@ /FT/src/smooth/smooth.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   179
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   180
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   181
# FreeType2 library 'sfnt' module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   182
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   183
sfnt.ppc.o: FT:src/sfnt/sfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   184
	$(CC) -c $(CFLAGS) -o $@ /FT/src/sfnt/sfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   185
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   186
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   187
# FreeType2 library glyph and image caching system
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   188
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   189
ftcache.ppc.o: FT:src/cache/ftcache.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   190
	$(CC) -c $(CFLAGS) -o $@ /FT/src/cache/ftcache.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   191
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   192
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   193
# FreeType2 library OpenType font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   194
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   195
cff.ppc.o: FT:src/cff/cff.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   196
	$(CC) -c $(CFLAGS) -o $@ /FT/src/cff/cff.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   197
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   198
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   199
# FreeType2 library TrueType font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   200
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   201
truetype.ppc.o: FT:src/truetype/truetype.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   202
	$(CC) -c $(CFLAGS) -o $@ /FT/src/truetype/truetype.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   204
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   205
# FreeType2 library Type1 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   206
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   207
type1.ppc.o: FT:src/type1/type1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   208
	$(CC) -c $(CFLAGS) -o $@ /FT/src/type1/type1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   209
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   210
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   211
# FreeType2 library Type42 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   212
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   213
type42.ppc.o: FT:src/type42/type42.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   214
	$(CC) -c $(CFLAGS) -o $@ /FT/src/type42/type42.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   215
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   216
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   217
# FreeType2 library CID-keyed Type1 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   218
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   219
type1cid.ppc.o: FT:src/cid/type1cid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   220
	$(CC) -c $(CFLAGS) -o $@ /FT/src/cid/type1cid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   221
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   222
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   223
# FreeType2 library BDF bitmap font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   224
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   225
bdf.ppc.o: FT:src/bdf/bdf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   226
	$(CC) -c $(CFLAGS) -o $@ /FT/src/bdf/bdf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   227
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   228
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   229
# FreeType2 library PCF bitmap font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   230
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   231
pcf.ppc.o: FT:src/pcf/pcf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   232
	$(CC) -c $(CFLAGS) -o $@ /FT/src/pcf/pcf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   233
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   234
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   235
# FreeType2 library gzip support for compressed PCF bitmap fonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   236
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   237
gzip.ppc.o: FT:src/gzip/ftgzip.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   238
	$(CC) -c $(CFLAGS) -o $@ /FT/src/gzip/ftgzip.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   239
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   240
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   241
# FreeType2 library bzip2 support for compressed PCF bitmap fonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   242
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   243
bzip2.ppc.o: FT:src/bzip2/ftbzip2.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   244
	$(CC) -c $(CFLAGS) -o $@ /FT/src/bzip2/ftbzip2.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   245
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   246
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   247
# FreeType2 library compress support for compressed PCF bitmap fonts
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   248
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   249
lzw.ppc.o: FT:src/lzw/ftlzw.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   250
	$(CC) -c $(CFLAGS) -o $@ /FT/src/lzw/ftlzw.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   251
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   252
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   253
# FreeType2 library PFR font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   254
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   255
pfr.ppc.o: FT:src/pfr/pfr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   256
	$(CC) -c $(CFLAGS) -o $@ /FT/src/pfr/pfr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   257
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   258
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   259
# FreeType2 library Windows FNT/FON bitmap font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   260
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   261
winfnt.ppc.o: FT:src/winfonts/winfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   262
	$(CC) -c $(CFLAGS) -o $@ /FT/src/winfonts/winfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   263
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   264
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   265
# FreeType2 library TrueTypeGX Validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   266
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   267
gxvalid.ppc.o: FT:src/gxvalid/gxvalid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   268
	$(CC) -c $(CFLAGS) -Wno-aggregate-return -o $@ /FT/src/gxvalid/gxvalid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   269
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   270
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   271
# FreeType2 library OpenType validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   272
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   273
otvalid.ppc.o: FT:src/otvalid/otvalid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   274
	$(CC) -c $(CFLAGS) -o $@ /FT/src/otvalid/otvalid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   275
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   276
BASE = ftbase.ppc.o ftbbox.ppc.o ftbdf.ppc.o ftbitmap.ppc.o ftcid.ppc.o   \
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   277
       ftfstype.ppc.o ftgasp.ppc.o ftglyph.ppc.o ftgxval.ppc.o            \
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   278
       ftlcdfil.ppc.o ftmm.ppc.o ftotval.ppc.o ftpatent.ppc.o ftpfr.ppc.o \
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   279
       ftstroke.ppc.o ftsynth.ppc.o fttype1.ppc.o ftwinfnt.ppc.o          \
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   280
       ftxf86.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   281
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   282
DEBUG = ftdebug.ppc.o ftdebugpure.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   283
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   284
AFIT = autofit.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   285
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   286
GXV = gxvalid.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   287
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   288
OTV = otvalid.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   289
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   290
PS = psaux.ppc.o psnames.ppc.o pshinter.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   291
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   292
RASTER = raster.ppc.o smooth.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   293
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   294
FONTD = cff.ppc.o type1.ppc.o type42.ppc.o type1cid.ppc.o truetype.ppc.o\
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   295
	bdf.ppc.o pcf.ppc.o pfr.ppc.o winfnt.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   296
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   297
libft2_ppc.a:      $(BASE) $(AFIT) $(GXV) $(OTV) $(PS) $(RASTER) sfnt.ppc.o ftcache.ppc.o $(FONTD) gzip.ppc.o lzw.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   298
	$(AR) r $@ $(BASE) $(AFIT) $(GXV) $(OTV) $(PS) $(RASTER) sfnt.ppc.o ftcache.ppc.o $(FONTD) gzip.ppc.o lzw.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   299
	$(RANLIB) $@
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   300
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   301
#Local Variables:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   302
#coding: latin-1
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   303
#End: