misc/libfreetype/builds/amiga/makefile
author nemo
Sun, 24 Jul 2011 16:58:40 -0400
changeset 5449 a03d0acd7f06
parent 5172 88f2e05288ba
permissions -rw-r--r--
raise AI to hard
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 ppc-morphos-gcc-2.95.3-bin.tgz
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     3
# (gcc 2.95.3 hosted on 68k-Amiga producing MorphOS-PPC-binaries from
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     4
# http://www.morphos.de)
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
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     8
# Copyright 2005, 2006, 2007, 2009 by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     9
# Werner Lemberg and Detlef Würkner.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    10
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    11
# 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
    12
# 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
    13
# 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
    14
# 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
    15
# fully.
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
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
# 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
    20
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
#  make assign
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
#  make
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
# 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
    25
# (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
    26
# ---8<---
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
#define FT_USE_AUTOFIT // autofitter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
#define FT_USE_RASTER  // monochrome rasterizer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
#define FT_USE_SMOOTH  // anti-aliasing rasterizer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
#define FT_USE_TT      // truetype font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
#define FT_USE_T1      // type1 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
#define FT_USE_T42     // type42 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
#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
    34
#define FT_USE_CFF     // opentype font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
#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
    36
#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
    37
#define FT_USE_PFR     // pfr font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
#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
    39
#define FT_USE_OTV     // opentype validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
#define FT_USE_GXV     // truetype gx validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
#include "FT:src/base/ftinit.c"
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    42
# ---8<---
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
# 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
    45
# (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
    46
# 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
    47
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
all:	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
    49
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
assign:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
	assign FT: //
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
FTSRC = /FT/src
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    54
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    55
CC =     ppc-morphos-gcc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
AR =     ppc-morphos-ar rc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
RANLIB = ppc-morphos-ranlib
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
LD =     ppc-morphos-ld
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    59
CFLAGS = -DFT2_BUILD_LIBRARY -O2 -I/emu/emulinclude/includegcc -I/emu/include -Iinclude -I$(FTSRC) -I/FT/include
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    60
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
# FreeType2 library base
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
ftbase.ppc.o: $(FTSRC)/base/ftbase.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    65
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftinit.ppc.o: $(FTSRC)/base/ftinit.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftsystem.ppc.o: $(FTSRC)/base/ftsystem.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
	$(CC) -c $(CFLAGS) -o $@ $<
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
# 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
    74
ftsystempure.ppc.o: src/base/ftsystem.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    77
ftdebug.ppc.o: $(FTSRC)/base/ftdebug.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    78
	$(CC) -c $(CFLAGS) -o $@ $<
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
# 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
    81
ftdebugpure.ppc.o: src/base/ftdebug.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    84
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    85
# FreeType2 library base extensions
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
ftbbox.ppc.o: $(FTSRC)/base/ftbbox.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    88
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
ftbdf.ppc.o: $(FTSRC)/base/ftbdf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    93
ftbitmap.ppc.o: $(FTSRC)/base/ftbitmap.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    94
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    95
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    96
ftcid.ppc.o: $(FTSRC)/base/ftcid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    97
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    98
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    99
ftfstype.ppc.o: $(FTSRC)/base/ftfstype.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   100
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftgasp.ppc.o: $(FTSRC)/base/ftgasp.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   103
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftglyph.ppc.o: $(FTSRC)/base/ftglyph.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   106
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftgxval.ppc.o: $(FTSRC)/base/ftgxval.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   109
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftlcdfil.ppc.o: $(FTSRC)/base/ftlcdfil.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   112
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftmm.ppc.o: $(FTSRC)/base/ftmm.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   115
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftotval.ppc.o: $(FTSRC)/base/ftotval.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   118
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftpatent.ppc.o: $(FTSRC)/base/ftpatent.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   121
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftpfr.ppc.o: $(FTSRC)/base/ftpfr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   124
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftstroke.ppc.o: $(FTSRC)/base/ftstroke.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   127
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftsynth.ppc.o: $(FTSRC)/base/ftsynth.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   130
	$(CC) -c $(CFLAGS) -o $@ $<
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
fttype1.ppc.o: $(FTSRC)/base/fttype1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   133
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftwinfnt.ppc.o: $(FTSRC)/base/ftwinfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   136
	$(CC) -c $(CFLAGS) -o $@ $<
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
ftxf86.ppc.o: $(FTSRC)/base/ftxf86.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   139
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   142
# FreeType2 library autofitting module
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
autofit.ppc.o: $(FTSRC)/autofit/autofit.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   145
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   148
# FreeType2 library postscript hinting module
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
pshinter.ppc.o: $(FTSRC)/pshinter/pshinter.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   151
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   154
# FreeType2 library PS support module
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
psaux.ppc.o: $(FTSRC)/psaux/psaux.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   157
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   160
# FreeType2 library PS glyph names module
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
psnames.ppc.o: $(FTSRC)/psnames/psnames.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   163
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   166
# FreeType2 library monochrome raster module
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
raster.ppc.o: $(FTSRC)/raster/raster.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   169
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   172
# FreeType2 library anti-aliasing raster module
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
smooth.ppc.o: $(FTSRC)/smooth/smooth.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   175
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   178
# FreeType2 library 'sfnt' module
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
sfnt.ppc.o: $(FTSRC)/sfnt/sfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   181
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   184
# FreeType2 library glyph and image caching system
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
ftcache.ppc.o: $(FTSRC)/cache/ftcache.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   187
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   190
# FreeType2 library OpenType font driver
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
cff.ppc.o: $(FTSRC)/cff/cff.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   193
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   196
# FreeType2 library TrueType font driver
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
truetype.ppc.o: $(FTSRC)/truetype/truetype.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   199
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   202
# FreeType2 library Type1 font driver
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
type1.ppc.o: $(FTSRC)/type1/type1.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   205
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   208
# FreeType2 library Type42 font driver
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
type42.ppc.o: $(FTSRC)/type42/type42.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   211
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   214
# FreeType2 library CID-keyed Type1 font driver
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
type1cid.ppc.o: $(FTSRC)/cid/type1cid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   217
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   220
# FreeType2 library BDF bitmap font driver
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
bdf.ppc.o: $(FTSRC)/bdf/bdf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   223
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   226
# FreeType2 library PCF bitmap font driver
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
pcf.ppc.o: $(FTSRC)/pcf/pcf.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   229
	$(CC) -c $(CFLAGS) -o $@ $<
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
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   232
# 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
   233
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   234
gzip.ppc.o: $(FTSRC)/gzip/ftgzip.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   235
	$(CC) -c $(CFLAGS) -o $@ $<
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
# 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
   238
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   239
bzip2.ppc.o: $(FTSRC)/bzip2/ftbzip2.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   240
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   241
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
# 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
   244
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   245
lzw.ppc.o: $(FTSRC)/lzw/ftlzw.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   246
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   247
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
# FreeType2 library PFR font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   250
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   251
pfr.ppc.o: $(FTSRC)/pfr/pfr.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   252
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   253
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
# 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
   256
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   257
winfnt.ppc.o: $(FTSRC)/winfonts/winfnt.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   258
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   259
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
# FreeType2 library TrueTypeGX Validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   262
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   263
gxvalid.ppc.o: $(FTSRC)/gxvalid/gxvalid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   264
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   265
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
# FreeType2 library OpenType validator
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   268
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   269
otvalid.ppc.o: $(FTSRC)/otvalid/otvalid.c
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   270
	$(CC) -c $(CFLAGS) -o $@ $<
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   271
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   272
BASEPPC = 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
   273
	  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
   274
	  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
   275
	  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
   276
	  ftxf86.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   277
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   278
DEBUGPPC = ftdebug.ppc.o ftdebugpure.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   279
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   280
AFITPPC = autofit.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
GXVPPC = gxvalid.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
OTVPPC = otvalid.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
PSPPC = 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
   287
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   288
RASTERPPC = raster.ppc.o smooth.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
FONTDPPC = 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
   291
	   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
   292
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   293
libft2_ppc.a:    $(BASEPPC) $(AFITPPC) $(GXVPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) gzip.ppc.o bzip2.ppc.o lzw.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   294
	$(AR) $@ $(BASEPPC) $(AFITPPC) $(GXVPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) gzip.ppc.o bzip2.ppc.o lzw.ppc.o
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   295
	-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
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
#Local Variables:
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   298
#coding: latin-1
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   299
#End: