1 # This file is part of the FreeType project.
3 # It builds the library for Turbo C for MS-DOS, large model.
4 # Due to size constraints, it does not try to pack all modules into one.
6 # You will need Borland MAKE.
7 # Tested with Turbo C v.1.5, v.2.0, Turbo C++ v.1.0
8 # Turbo C v.1.0 (May '87) is too old (lack of structure assignment)
9 # to compile FreeType. Update your compiler. ;-)
11 # Use this file while in the lib directory with the following statement:
13 # make -farch/msdos/Makefile.TC
16 # A debug version can be obtained (except for TC1.5) with
18 # make -DDEBUG -farch/msdos/Makefile.TC
21 FT_MAKEFILE = $(ARCH)\Makefile.TC
27 CFLAGS = -ml -A -a -G -w-par -w-use -w-aus -w-stu -w-stv -w-cln -w-sig -I$(ARCH);.;extend
29 # For Turbo C v.1.5, replace the -v option below by -y.
30 CFLAGS = -v -N -ml -A -w-par -w-use -w-aus -w-stu -w-stv -w-cln -w-sig -I$(ARCH);.;extend
35 TTMEMORY = .\ttmemory.obj
36 TTMUTEX = .\ttmutex.obj
38 PORT = $(TTFILE) $(TTMEMORY) $(TTMUTEX)
40 OBJS_X = extend\ftxgasp.obj extend\ftxkern.obj extend\ftxpost.obj \
41 extend\ftxcmap.obj extend\ftxwidth.obj extend\ftxerr18.obj \
42 extend\ftxsbit.obj extend\ftxopen.obj extend\ftxgsub.obj \
43 extend\ftxgpos.obj extend\ftxgdef.obj
44 # the line below does not work with these old versions of make...
45 # OBJS_X = $(SRC_X:.c=.obj)
47 OBJS_M = ttapi.obj ttcache.obj ttcalc.obj ttcmap.obj ttdebug.obj \
48 ttgload.obj ttinterp.obj ttload.obj ttobjs.obj \
49 ttraster.obj ttextend.obj $(PORT) $(OBJS_X)
50 # OBJS_M = $(SRC_M:.c=.obj) $(OBJS_X)
52 # Not used here because the compiler runs out of memory...
53 OBJ_S = $(ARCH)\freetype.obj
54 OBJS_S = $(OBJ_S) $(OBJS_X)
57 # Since Borland's make is very primitive, we include each .obj
58 # in the library as soon as it is compiled.
61 $(CC) $(CFLAGS) -c -o$* $<
62 $(LIB) libttf +-$*.obj
66 # Skipped if DEBUG build
67 # (but it changes nothing, since we always build in multiple parts).
84 !include "$(ARCH)\depend.dos"