1
# This file is part of the FreeType project.
3
# It builds the library and test programs for Microsoft Visual C++ 1.x
4
# and Microsoft C/C++ v.7.0 16-bit compilers for MS-DOS, large model.
9
# Use this file while in the 'test' directory with the following statement:
11
# nmake /f arch\msdos\Makefile.VC
14
# Debug versions can be obtained with
16
# nmake DEBUG=1 /f arch\msdos\Makefile.VC
18
# A special version enabled to handle big fonts (with more than 16,384
19
# glyphs) can be obtained with
21
# nmake BIGFONTS=1 /f arch\msdos\Makefile.VC
24
FT_MAKEFILE = $(ARCH)\Makefile.VC
25
FT_MAKE = $(MAKE) /nologo
30
INCDIRS = -I$(LIBDIR) -I$(LIBDIR)\$(ARCH) -I. -I$(LIBDIR)\extend
32
# One can also consider using "set MSC_CMD_FLAGS=/Gr /Op- /Gy /YX".
33
# With Microsoft C/C++ 7.0, use /G2 instead of /G3.
35
CFLAGS = /Ox /AL /Za /W2 /G3 $(INCDIRS)
38
CFLAGS = /Zi /Ge /AL /Za /W2 /G3 $(INCDIRS)
43
# full-screen MSDOS driver
44
GDRIVER = $(ARCH)\gfs_dos.c
46
GSRC = display.c gmain.c blitter.c $(GDRIVER)
48
GOBJ = $(GSRC:.c=.obj)
73
EXEFILES = ftdump.exe \
86
# Skiped if DEBUG build
87
all: freetype $(EXEFILES)
91
debug: freetype_debug $(EXEFILES)
99
$(FT_MAKE) /f $(FT_MAKEFILE) $(MAKEBIG) all
104
$(FT_MAKE) /f $(FT_MAKEFILE) DEBUG=1 $(MAKEBIG) debug
112
ftzoom.exe: $(GOBJ) ftzoom.obj common.obj $(LIBDIR)\libttf.lib
113
ftview.exe: $(GOBJ) ftview.obj common.obj $(LIBDIR)\libttf.lib
114
ftstring.exe: $(GOBJ) ftstring.obj common.obj $(LIBDIR)\libttf.lib
115
ftstrtto.exe: $(GOBJ) ftstrtto.obj common.obj arabic.obj $(LIBDIR)\libttf.lib
116
fttimer.exe: $(GOBJ) fttimer.obj common.obj $(LIBDIR)\libttf.lib
117
ftlint.exe: ftlint.obj common.obj $(LIBDIR)\libttf.lib
118
ftdump.exe: ftdump.obj common.obj $(LIBDIR)\libttf.lib
119
ftstrpnm.exe: ftstrpnm.obj common.obj $(LIBDIR)\libttf.lib
120
ftsbit.exe: ftsbit.obj common.obj $(LIBDIR)\libttf.lib
121
ftmetric.exe: ftmetric.obj common.obj $(LIBDIR)\libttf.lib
122
fterror.exe: fterror.obj common.obj $(LIBDIR)\libttf.lib
127
$(FT_MAKE) /f $(FT_MAKEFILE) clean
132
$(FT_MAKE) /f $(FT_MAKEFILE) distclean
141
!include "$(ARCH)\depend.dos"