1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
# This file is part of the FreeType project.
#
# DESCRIP.MMS: Make file for VMS using MMS or MMK
# Created by Jouk Jansen (joukj@hrem.stm.tudelft.nl)
ARCH = arch.unix
CC = cc
############### PORTABILITY COMPONENTS ########################
# location of memory component
MEMSRC = ttmemory.c
# location of file component
FILESRC = ttfile.c
# location of mutex component
MUTEXSRC = ttmutex.c
# location of default extensions
FTEXTDIR = [.lib.extend]
# default extensions sources
EXTSRC = $(FTEXTDIR)ftxkern.c \
$(FTEXTDIR)ftxgasp.c \
$(FTEXTDIR)ftxpost.c \
$(FTEXTDIR)ftxcmap.c \
$(FTEXTDIR)ftxsbit.c \
$(FTEXTDIR)ftxwidth.c \
$(FTEXTDIR)ftxerr18.c \
$(FTEXTDIR)ftxgsub.c \
$(FTEXTDIR)ftxgpos.c \
$(FTEXTDIR)ftxopen.c \
$(FTEXTDIR)ftxgdef.c
EXTOBJ = [.lib]ftxkern.obj, \
[.lib]ftxgasp.obj, \
[.lib]ftxpost.obj, \
[.lib]ftxcmap.obj, \
[.lib]ftxsbit.obj, \
[.lib]ftxwidth.obj, \
[.lib]ftxerr18.obj, \
[.lib]ftxgsub.obj, \
[.lib]ftxgpos.obj, \
[.lib]ftxopen.obj, \
[.lib]ftxgdef.obj
# all engine sources
SRC_M = [.lib]ttapi.c \
[.lib]ttcache.c \
[.lib]ttcalc.c \
[.lib]ttcmap.c \
[.lib]ttdebug.c \
[.lib]ttextend.c \
[.lib]ttgload.c \
[.lib]ttinterp.c \
[.lib]ttload.c \
[.lib]ttobjs.c \
[.lib]ttraster.c \
[.lib]$(FILESRC) \
[.lib]$(MEMSRC) \
[.lib]$(MUTEXSRC)
SRC_S = [.lib.$(ARCH)]freetype.c
# all header files with path
HEADERS = [.lib]freetype.h \
[.lib]fterrid.h \
[.lib]ftnameid.h \
$(FTEXTDIR)ftxkern.h \
$(FTEXTDIR)ftxgasp.h \
$(FTEXTDIR)ftxcmap.h \
$(FTEXTDIR)ftxsbit.h \
$(FTEXTDIR)ftxpost.h \
$(FTEXTDIR)ftxwidth.h \
$(FTEXTDIR)ftxerr18.h \
$(FTEXTDIR)ftxgsub.h \
$(FTEXTDIR)ftxgpos.h \
$(FTEXTDIR)ftxgdef.h \
$(FTEXTDIR)ftxopen.h
# all engine objects
OBJ_M = [.lib]ttapi.obj, \
[.lib]ttcache.obj, \
[.lib]ttcalc.obj, \
[.lib]ttcmap.obj, \
[.lib]ttdebug.obj, \
[.lib]ttextend.obj, \
[.lib]ttgload.obj, \
[.lib]ttinterp.obj, \
[.lib]ttload.obj, \
[.lib]ttobjs.obj, \
[.lib]ttraster.obj, \
[.lib]file.obj, \
[.lib]memory.obj, \
[.lib]mutex.obj, \
$(EXTOBJ)
OBJ_S = [.lib]freetype.obj
# include paths
INCLUDES = /include=([.lib],[],$(FTEXTDIR))
# C flags
CFLAGS = $(INCLUDES)/obj=[.lib]
all : do_link [.lib]libttf.olb
library/compress [.lib]libttf.olb
do_link :
if f$search( "[.lib]memory.c" ) .nes. "" then set file/remove [.lib]memory.c;
if f$search( "[.lib]file.c" ) .nes. "" then set file/remove [.lib]file.c;
if f$search( "[.lib]mutex.c" ) .nes. "" then set file/remove [.lib]mutex.c;
if f$search( "[.lib]ft_conf.h" ) .nes. "" then set file/remove [.lib]ft_conf.h;
set file/enter=[.lib]memory.c [.lib]$(MEMSRC)
set file/enter=[.lib]file.c [.lib]$(FILESRC)
set file/enter=[.lib]mutex.c [.lib]$(MUTEXSRC)
set file/enter=[.lib]ft_conf.h [.lib.arch.vms]ft_conf.h
[.lib]ftxkern.obj : $(FTEXTDIR)ftxkern.c
[.lib]ftxgasp.obj : $(FTEXTDIR)ftxgasp.c
[.lib]ftxpost.obj : $(FTEXTDIR)ftxpost.c
[.lib]ftxcmap.obj : $(FTEXTDIR)ftxcmap.c
[.lib]ftxsbit.obj : $(FTEXTDIR)ftxsbit.c
[.lib]ftxwidth.obj : $(FTEXTDIR)ftxwidth.c
[.lib]ftxerr18.obj : $(FTEXTDIR)ftxerr18.c
[.lib]ftxgsub.obj : $(FTEXTDIR)ftxgsub.c
[.lib]ftxgpos.obj : $(FTEXTDIR)ftxgpos.c
[.lib]ftxgdef.obj : $(FTEXTDIR)ftxgdef.c
[.lib]ftxopen.obj : $(FTEXTDIR)ftxopen.c
[.lib]freetype.obj : $(SRC_S) $(SRC_M)
[.lib]libttf.olb : $(OBJ_M)
library/create [.lib]libttf.olb $(OBJ_M)
clean :
delete [.lib]*.obj;*
delete [.lib]*.olb;*
if f$search( "[.lib]memory.c" ) .nes. "" then set file/remove [.lib]memory.c;
if f$search( "[.lib]file.c" ) .nes. "" then set file/remove [.lib]file.c;
if f$search( "[.lib]mutex.c" ) .nes. "" then set file/remove [.lib]mutex.c;
if f$search( "[.lib]ft_conf.h" ) .nes. "" then set file/remove [.lib]ft_conf.h;
|