1 # This file is part of the FreeType project.
3 # DESCRIP.MMS: Make file for VMS using MMS or MMK
4 # Created by Jouk Jansen (joukj@hrem.stm.tudelft.nl)
10 ############### PORTABILITY COMPONENTS ########################
12 # location of memory component
15 # location of file component
18 # location of mutex component
21 # location of default extensions
22 FTEXTDIR = [.lib.extend]
24 # default extensions sources
25 EXTSRC = $(FTEXTDIR)ftxkern.c \
26 $(FTEXTDIR)ftxgasp.c \
27 $(FTEXTDIR)ftxpost.c \
28 $(FTEXTDIR)ftxcmap.c \
29 $(FTEXTDIR)ftxsbit.c \
30 $(FTEXTDIR)ftxwidth.c \
31 $(FTEXTDIR)ftxerr18.c \
32 $(FTEXTDIR)ftxgsub.c \
33 $(FTEXTDIR)ftxgpos.c \
34 $(FTEXTDIR)ftxopen.c \
37 EXTOBJ = [.lib]ftxkern.obj, \
50 SRC_M = [.lib]ttapi.c \
64 SRC_S = [.lib.$(ARCH)]freetype.c
66 # all header files with path
67 HEADERS = [.lib]freetype.h \
70 $(FTEXTDIR)ftxkern.h \
71 $(FTEXTDIR)ftxgasp.h \
72 $(FTEXTDIR)ftxcmap.h \
73 $(FTEXTDIR)ftxsbit.h \
74 $(FTEXTDIR)ftxpost.h \
75 $(FTEXTDIR)ftxwidth.h \
76 $(FTEXTDIR)ftxerr18.h \
77 $(FTEXTDIR)ftxgsub.h \
78 $(FTEXTDIR)ftxgpos.h \
79 $(FTEXTDIR)ftxgdef.h \
83 OBJ_M = [.lib]ttapi.obj, \
98 OBJ_S = [.lib]freetype.obj
102 INCLUDES = /include=([.lib],[],$(FTEXTDIR))
105 CFLAGS = $(INCLUDES)/obj=[.lib]
107 all : do_link [.lib]libttf.olb
108 library/compress [.lib]libttf.olb
111 if f$search( "[.lib]memory.c" ) .nes. "" then set file/remove [.lib]memory.c;
112 if f$search( "[.lib]file.c" ) .nes. "" then set file/remove [.lib]file.c;
113 if f$search( "[.lib]mutex.c" ) .nes. "" then set file/remove [.lib]mutex.c;
114 if f$search( "[.lib]ft_conf.h" ) .nes. "" then set file/remove [.lib]ft_conf.h;
115 set file/enter=[.lib]memory.c [.lib]$(MEMSRC)
116 set file/enter=[.lib]file.c [.lib]$(FILESRC)
117 set file/enter=[.lib]mutex.c [.lib]$(MUTEXSRC)
118 set file/enter=[.lib]ft_conf.h [.lib.arch.vms]ft_conf.h
120 [.lib]ftxkern.obj : $(FTEXTDIR)ftxkern.c
122 [.lib]ftxgasp.obj : $(FTEXTDIR)ftxgasp.c
124 [.lib]ftxpost.obj : $(FTEXTDIR)ftxpost.c
126 [.lib]ftxcmap.obj : $(FTEXTDIR)ftxcmap.c
128 [.lib]ftxsbit.obj : $(FTEXTDIR)ftxsbit.c
130 [.lib]ftxwidth.obj : $(FTEXTDIR)ftxwidth.c
132 [.lib]ftxerr18.obj : $(FTEXTDIR)ftxerr18.c
134 [.lib]ftxgsub.obj : $(FTEXTDIR)ftxgsub.c
136 [.lib]ftxgpos.obj : $(FTEXTDIR)ftxgpos.c
138 [.lib]ftxgdef.obj : $(FTEXTDIR)ftxgdef.c
140 [.lib]ftxopen.obj : $(FTEXTDIR)ftxopen.c
142 [.lib]freetype.obj : $(SRC_S) $(SRC_M)
145 [.lib]libttf.olb : $(OBJ_M)
146 library/create [.lib]libttf.olb $(OBJ_M)
152 if f$search( "[.lib]memory.c" ) .nes. "" then set file/remove [.lib]memory.c;
153 if f$search( "[.lib]file.c" ) .nes. "" then set file/remove [.lib]file.c;
154 if f$search( "[.lib]mutex.c" ) .nes. "" then set file/remove [.lib]mutex.c;
155 if f$search( "[.lib]ft_conf.h" ) .nes. "" then set file/remove [.lib]ft_conf.h;