2017-09-08 05:36:02 +03:00
|
|
|
$! make FreeType 2 under OpenVMS
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
2021-01-17 09:18:48 +03:00
|
|
|
$! Copyright (C) 2003-2021 by
|
2005-06-05 03:04:30 +04:00
|
|
|
$! David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
$!
|
|
|
|
$! This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
$! and distributed under the terms of the FreeType project license,
|
|
|
|
$! LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
$! indicate that you have read the license and understand and accept it
|
|
|
|
$! fully.
|
|
|
|
$!
|
|
|
|
$!
|
2017-09-08 05:36:02 +03:00
|
|
|
$! External libraries (like FreeType, XPM, etc.) are supported via the
|
2004-11-17 11:19:27 +03:00
|
|
|
$! config file VMSLIB.DAT. Please check the sample file, which is part of this
|
|
|
|
$! distribution, for the information you need to provide
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
|
|
|
$! This procedure currently does support the following commandline options
|
2006-09-27 11:58:43 +04:00
|
|
|
$! in arbitrary order
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
2006-09-27 11:58:43 +04:00
|
|
|
$! * DEBUG - Compile modules with /noopt/debug and link shareable image
|
2003-05-21 11:39:42 +04:00
|
|
|
$! with /debug
|
|
|
|
$! * LOPTS - Options to be passed to the link command
|
|
|
|
$! * CCOPT - Options to be passed to the C compiler
|
2004-11-17 11:19:27 +03:00
|
|
|
$!
|
|
|
|
$! In case of problems with the install you might contact me at
|
2015-03-11 09:14:15 +03:00
|
|
|
$! zinser@zinser.no-ip.info (preferred) or
|
2004-11-17 11:19:27 +03:00
|
|
|
$! zinser@sysdev.deutsche-boerse.com (work)
|
|
|
|
$!
|
2017-09-08 05:36:02 +03:00
|
|
|
$! Make procedure history for FreeType 2
|
2006-09-27 11:58:43 +04:00
|
|
|
$!
|
2003-05-21 11:39:42 +04:00
|
|
|
$!------------------------------------------------------------------------------
|
2004-11-17 11:19:27 +03:00
|
|
|
$! Version history
|
|
|
|
$! 0.01 20040401 First version to receive a number
|
2017-09-08 05:36:02 +03:00
|
|
|
$! 0.02 20041030 Add error handling, FreeType 2.1.9
|
2006-09-27 11:58:43 +04:00
|
|
|
$!
|
2004-11-17 11:19:27 +03:00
|
|
|
$ on error then goto err_exit
|
|
|
|
$ true = 1
|
|
|
|
$ false = 0
|
|
|
|
$ tmpnam = "temp_" + f$getjpi("","pid")
|
|
|
|
$ tt = tmpnam + ".txt"
|
|
|
|
$ tc = tmpnam + ".c"
|
|
|
|
$ th = tmpnam + ".h"
|
|
|
|
$ its_decc = false
|
|
|
|
$ its_vaxc = false
|
|
|
|
$ its_gnuc = false
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
|
|
|
$! Setup variables holding "config" information
|
|
|
|
$!
|
2004-11-17 11:19:27 +03:00
|
|
|
$ Make = ""
|
2019-05-13 23:22:57 +03:00
|
|
|
$ ccopt = "/name=(as_is,short)/float=ieee"
|
2004-11-17 11:19:27 +03:00
|
|
|
$ lopts = ""
|
|
|
|
$ dnsrl = ""
|
|
|
|
$ aconf_in_file = "config.hin"
|
2003-05-21 11:39:42 +04:00
|
|
|
$ name = "Freetype2"
|
2019-05-02 08:21:34 +03:00
|
|
|
$ mapfile = name + ".map"
|
|
|
|
$ optfile = name + ".opt"
|
2003-05-21 11:39:42 +04:00
|
|
|
$ s_case = false
|
|
|
|
$ liblist = ""
|
2004-11-17 11:19:27 +03:00
|
|
|
$!
|
2007-02-12 17:35:15 +03:00
|
|
|
$ whoami = f$parse(f$environment("Procedure"),,,,"NO_CONCEAL")
|
2004-11-17 11:19:27 +03:00
|
|
|
$ mydef = F$parse(whoami,,,"DEVICE")
|
|
|
|
$ mydir = f$parse(whoami,,,"DIRECTORY") - "]["
|
|
|
|
$ myproc = f$parse(whoami,,,"Name") + f$parse(whoami,,,"type")
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
|
|
|
$! Check for MMK/MMS
|
|
|
|
$!
|
|
|
|
$ If F$Search ("Sys$System:MMS.EXE") .nes. "" Then Make = "MMS"
|
|
|
|
$ If F$Type (MMK) .eqs. "STRING" Then Make = "MMK"
|
|
|
|
$!
|
|
|
|
$! Which command parameters were given
|
|
|
|
$!
|
|
|
|
$ gosub check_opts
|
|
|
|
$!
|
|
|
|
$! Create option file
|
|
|
|
$!
|
|
|
|
$ open/write optf 'optfile'
|
|
|
|
$!
|
|
|
|
$! Pull in external libraries
|
|
|
|
$!
|
2003-05-28 10:27:26 +04:00
|
|
|
$ create libs.opt
|
2004-11-27 11:18:10 +03:00
|
|
|
$ open/write libsf libs.opt
|
2003-05-21 11:39:42 +04:00
|
|
|
$ gosub check_create_vmslib
|
|
|
|
$!
|
|
|
|
$! Create objects
|
|
|
|
$!
|
2006-09-27 11:58:43 +04:00
|
|
|
$ if libdefs .nes. ""
|
|
|
|
$ then
|
2004-11-17 11:19:27 +03:00
|
|
|
$ ccopt = ccopt + "/define=(" + f$extract(0,f$length(libdefs)-1,libdefs) + ")"
|
|
|
|
$ endif
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
2006-09-27 11:58:43 +04:00
|
|
|
$ if f$locate("AS_IS",f$edit(ccopt,"UPCASE")) .lt. f$length(ccopt) -
|
2003-05-21 11:39:42 +04:00
|
|
|
then s_case = true
|
|
|
|
$ gosub crea_mms
|
|
|
|
$!
|
|
|
|
$ 'Make' /macro=(comp_flags="''ccopt'")
|
|
|
|
$ purge/nolog [...]descrip.mms
|
|
|
|
$!
|
|
|
|
$! Add them to options
|
|
|
|
$!
|
|
|
|
$FLOOP:
|
|
|
|
$ file = f$edit(f$search("[...]*.obj"),"UPCASE")
|
|
|
|
$ if (file .nes. "")
|
|
|
|
$ then
|
|
|
|
$ if f$locate("DEMOS",file) .eqs. f$length(file) then write optf file
|
|
|
|
$ goto floop
|
2006-09-27 11:58:43 +04:00
|
|
|
$ endif
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
|
|
|
$ close optf
|
|
|
|
$!
|
|
|
|
$!
|
|
|
|
$! Alpha gets a shareable image
|
|
|
|
$!
|
|
|
|
$ If f$getsyi("HW_MODEL") .gt. 1024
|
|
|
|
$ Then
|
2003-05-28 10:27:26 +04:00
|
|
|
$ write sys$output "Creating freetype2shr.exe"
|
2019-05-13 23:22:57 +03:00
|
|
|
$ If f$getsyi("HW_MODEL") .le. 2048
|
|
|
|
$ Then
|
|
|
|
$ call anal_obj_axp 'optfile' _link.opt
|
|
|
|
$ Else
|
|
|
|
$ copy _link.opt_ia64 _link.opt
|
|
|
|
$ close libsf
|
|
|
|
$ copy libs.opt_ia64 libs.opt
|
|
|
|
$ endif
|
2003-05-28 10:27:26 +04:00
|
|
|
$ open/append optf 'optfile'
|
|
|
|
$ if s_case then WRITE optf "case_sensitive=YES"
|
|
|
|
$ close optf
|
2006-09-27 11:58:43 +04:00
|
|
|
$ LINK_/NODEB/SHARE=[.lib]freetype2shr.exe -
|
2003-05-28 10:27:26 +04:00
|
|
|
'optfile'/opt,libs.opt/opt,_link.opt/opt
|
2003-05-21 11:39:42 +04:00
|
|
|
$ endif
|
|
|
|
$!
|
|
|
|
$ exit
|
|
|
|
$!
|
2004-11-17 11:19:27 +03:00
|
|
|
$
|
|
|
|
$ERR_LIB:
|
|
|
|
$ write sys$output "Error reading config file vmslib.dat"
|
|
|
|
$ goto err_exit
|
|
|
|
$FT2_ERR:
|
2017-09-08 05:36:02 +03:00
|
|
|
$ write sys$output "Could not locate FreeType 2 include files"
|
2004-11-17 11:19:27 +03:00
|
|
|
$ goto err_exit
|
|
|
|
$ERR_EXIT:
|
|
|
|
$ set message/facil/ident/sever/text
|
|
|
|
$ close/nolog optf
|
|
|
|
$ close/nolog out
|
|
|
|
$ close/nolog libdata
|
|
|
|
$ close/nolog in
|
|
|
|
$ close/nolog atmp
|
|
|
|
$ close/nolog xtmp
|
|
|
|
$ write sys$output "Exiting..."
|
|
|
|
$ exit 2
|
|
|
|
$!
|
2003-05-21 11:39:42 +04:00
|
|
|
$!------------------------------------------------------------------------------
|
|
|
|
$!
|
2006-09-27 11:58:43 +04:00
|
|
|
$! If MMS/MMK are available dump out the descrip.mms if required
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
|
|
|
$CREA_MMS:
|
|
|
|
$ write sys$output "Creating descrip.mms files ..."
|
|
|
|
$ write sys$output "... Main directory"
|
2003-05-28 10:27:26 +04:00
|
|
|
$ create descrip.mms
|
|
|
|
$ open/append out descrip.mms
|
|
|
|
$ copy sys$input: out
|
2003-05-21 11:39:42 +04:00
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 build system -- top-level Makefile for OpenVMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2003-05-21 11:39:42 +04:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
2003-05-28 10:27:26 +04:00
|
|
|
$ EOD
|
|
|
|
$ write out "CFLAGS = ", ccopt
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
2006-09-27 11:58:43 +04:00
|
|
|
|
2003-05-21 11:39:42 +04:00
|
|
|
|
|
|
|
all :
|
2019-05-13 23:22:57 +03:00
|
|
|
define config [--.include.freetype.config]
|
|
|
|
define internal [--.include.freetype.internal]
|
2006-09-27 11:58:43 +04:00
|
|
|
define autofit [-.autofit]
|
|
|
|
define base [-.base]
|
|
|
|
define cache [-.cache]
|
|
|
|
define cff [-.cff]
|
|
|
|
define cid [-.cid]
|
2019-05-13 23:22:57 +03:00
|
|
|
define freetype [--.include.freetype]
|
2006-09-27 11:58:43 +04:00
|
|
|
define pcf [-.pcf]
|
2019-05-02 08:21:34 +03:00
|
|
|
define psaux [-.psaux]
|
2006-09-27 11:58:43 +04:00
|
|
|
define psnames [-.psnames]
|
|
|
|
define raster [-.raster]
|
|
|
|
define sfnt [-.sfnt]
|
|
|
|
define smooth [-.smooth]
|
|
|
|
define truetype [-.truetype]
|
|
|
|
define type1 [-.type1]
|
|
|
|
define winfonts [-.winfonts]
|
2003-05-21 11:39:42 +04:00
|
|
|
if f$search("lib.dir") .eqs. "" then create/directory [.lib]
|
|
|
|
set default [.builds.vms]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
2019-05-13 23:22:57 +03:00
|
|
|
set default [--.src.autofit]
|
2003-05-21 11:39:42 +04:00
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.base]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.bdf]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.cache]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.cff]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.cid]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
2019-05-02 08:21:34 +03:00
|
|
|
set default [-.gxvalid]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
2003-05-21 11:39:42 +04:00
|
|
|
set default [-.gzip]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
2019-05-13 23:22:57 +03:00
|
|
|
set default [-.bzip2]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
2004-03-05 12:26:24 +03:00
|
|
|
set default [-.lzw]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
2004-11-27 11:18:10 +03:00
|
|
|
set default [-.otvalid]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
2003-05-21 11:39:42 +04:00
|
|
|
set default [-.pcf]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.pfr]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.psaux]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.pshinter]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.psnames]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.raster]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.sfnt]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.smooth]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.truetype]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.type1]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.type42]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [-.winfonts]
|
|
|
|
$(MMS)$(MMSQUALIFIERS)
|
|
|
|
set default [--]
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
2003-05-28 10:27:26 +04:00
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.builds.vms] directory"
|
|
|
|
$ create [.builds.vms]descrip.mms
|
|
|
|
$ open/append out [.builds.vms]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 system rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2003-05-28 10:27:26 +04:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
2019-05-13 23:22:57 +03:00
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/list/show=all/include=([],[--.include],[--.src.base])
|
2003-05-28 10:27:26 +04:00
|
|
|
|
|
|
|
OBJS=ftsystem.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library/create [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
ftsystem.obj : ftsystem.c ftconfig.h
|
|
|
|
|
2004-11-17 11:19:27 +03:00
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.autofit] directory"
|
|
|
|
$ create [.src.autofit]descrip.mms
|
|
|
|
$ open/append out [.src.autofit]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 auto-fit module compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2002-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.autofit])
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
OBJS=autofit.obj
|
2003-05-28 10:27:26 +04:00
|
|
|
|
2004-11-17 11:19:27 +03:00
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.base] directory"
|
|
|
|
$ create [.src.base]descrip.mms
|
|
|
|
$ open/append out [.src.base]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 base layer compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.builds.vms],[--.include],[--.src.base])
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
OBJS=ftbase.obj,\
|
|
|
|
ftbbox.obj,\
|
|
|
|
ftbdf.obj,\
|
|
|
|
ftbitmap.obj,\
|
|
|
|
ftcid.obj,\
|
|
|
|
ftdebug.obj,\
|
|
|
|
ftfstype.obj,\
|
|
|
|
ftgasp.obj,\
|
|
|
|
ftglyph.obj,\
|
|
|
|
ftinit.obj,\
|
|
|
|
ftmm.obj,\
|
|
|
|
ftpfr.obj,\
|
|
|
|
ftstroke.obj,\
|
|
|
|
ftsynth.obj,\
|
|
|
|
fttype1.obj,\
|
|
|
|
ftwinfnt.obj
|
2004-11-17 11:19:27 +03:00
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.bdf] directory"
|
|
|
|
$ create [.src.bdf]descrip.mms
|
|
|
|
$ open/append out [.src.bdf]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 BDF driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2002-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.bdf])
|
|
|
|
|
|
|
|
OBJS=bdf.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.cache] directory"
|
|
|
|
$ create [.src.cache]descrip.mms
|
|
|
|
$ open/append out [.src.cache]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 Cache compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
2019-05-13 23:22:57 +03:00
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.cache])/nowarn
|
2004-11-17 11:19:27 +03:00
|
|
|
|
|
|
|
OBJS=ftcache.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.cff] directory"
|
|
|
|
$ create [.src.cff]descrip.mms
|
|
|
|
$ open/append out [.src.cff]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 OpenType/CFF driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.cff])
|
|
|
|
|
|
|
|
OBJS=cff.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.cid] directory"
|
|
|
|
$ create [.src.cid]descrip.mms
|
|
|
|
$ open/append out [.src.cid]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 CID driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.cid])
|
|
|
|
|
|
|
|
OBJS=type1cid.obj
|
|
|
|
|
2003-05-28 10:27:26 +04:00
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
2019-05-02 08:21:34 +03:00
|
|
|
$ write sys$output "... [.src.gxvalid] directory"
|
|
|
|
$ create [.src.gxvalid]descrip.mms
|
|
|
|
$ open/append out [.src.gxvalid]descrip.mms
|
2003-05-28 10:27:26 +04:00
|
|
|
$ copy sys$input: out
|
2003-05-21 11:39:42 +04:00
|
|
|
$ deck
|
|
|
|
#
|
2019-05-02 08:21:34 +03:00
|
|
|
# FreeType 2 TrueTypeGX/AAT validation driver configuration rules for VMS
|
2003-05-21 11:39:42 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2004-2019 by
|
2003-05-21 11:39:42 +04:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.gxvalid])
|
|
|
|
|
|
|
|
OBJS=gxvalid.obj
|
2003-05-21 11:39:42 +04:00
|
|
|
|
2004-03-05 12:26:24 +03:00
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
2019-05-02 08:21:34 +03:00
|
|
|
$ write sys$output "... [.src.gzip] directory"
|
|
|
|
$ create [.src.gzip]descrip.mms
|
|
|
|
$ open/append out [.src.gzip]descrip.mms
|
2004-03-05 12:26:24 +03:00
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
2019-05-02 08:21:34 +03:00
|
|
|
# FreeType 2 GZip support compilation rules for VMS
|
2004-03-05 12:26:24 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2002-2019 by
|
2004-03-05 12:26:24 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
$EOD
|
2004-11-17 11:19:27 +03:00
|
|
|
$ if libincs .nes. "" then write out "LIBINCS = ", libincs - ",", ","
|
|
|
|
$ write out "COMP_FLAGS = ", ccopt
|
2004-03-05 12:26:24 +03:00
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=($(LIBINCS)[--.include],[--.src.gzip])
|
2004-03-05 12:26:24 +03:00
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
OBJS=ftgzip.obj
|
2004-03-05 12:26:24 +03:00
|
|
|
|
2019-05-13 23:22:57 +03:00
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.bzip2] directory"
|
|
|
|
$ create [.src.bzip2]descrip.mms
|
|
|
|
$ open/append out [.src.bzip2]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 BZIP2 support compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# Copyright 2010-2019 by
|
|
|
|
# Joel Klinghed.
|
|
|
|
#
|
|
|
|
# based on `src/lzw/rules.mk'
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
$EOD
|
|
|
|
$ if libincs .nes. "" then write out "LIBINCS = ", libincs - ",", ","
|
|
|
|
$ write out "COMP_FLAGS = ", ccopt
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.bzip2])
|
|
|
|
|
|
|
|
OBJS=ftbzip2.obj
|
|
|
|
|
2004-11-17 11:19:27 +03:00
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
2019-05-02 08:21:34 +03:00
|
|
|
$ write sys$output "... [.src.lzw] directory"
|
|
|
|
$ create [.src.lzw]descrip.mms
|
|
|
|
$ open/append out [.src.lzw]descrip.mms
|
2004-11-17 11:19:27 +03:00
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
2019-05-02 08:21:34 +03:00
|
|
|
# FreeType 2 LZW support compilation rules for VMS
|
2004-11-17 11:19:27 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2004-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
2019-05-02 08:21:34 +03:00
|
|
|
$EOD
|
|
|
|
$ if libincs .nes. "" then write out "LIBINCS = ", libincs - ",", ","
|
|
|
|
$ write out "COMP_FLAGS = ", ccopt
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
2004-11-17 11:19:27 +03:00
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=($(LIBINCS)[--.include],[--.src.lzw])
|
2004-11-17 11:19:27 +03:00
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
OBJS=ftlzw.obj
|
2004-11-17 11:19:27 +03:00
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
2004-11-27 11:18:10 +03:00
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.otvalid] directory"
|
|
|
|
$ create [.src.otvalid]descrip.mms
|
|
|
|
$ open/append out [.src.otvalid]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 OpenType validation module compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2004-2019 by
|
2004-11-27 11:18:10 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.otvalid])
|
|
|
|
|
|
|
|
OBJS=otvalid.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
2004-11-17 11:19:27 +03:00
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.pcf] directory"
|
|
|
|
$ create [.src.pcf]descrip.mms
|
|
|
|
$ open/append out [.src.pcf]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 pcf driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# Copyright (C) 2001, 2002 by
|
|
|
|
# Francesco Zappa Nardelli
|
|
|
|
#
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
|
|
# in the Software without restriction, including without limitation the rights
|
|
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
#
|
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
|
|
# all copies or substantial portions of the Software.
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
# THE SOFTWARE.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.pcf])
|
|
|
|
|
|
|
|
OBJS=pcf.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.pfr] directory"
|
|
|
|
$ create [.src.pfr]descrip.mms
|
|
|
|
$ open/append out [.src.pfr]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 PFR driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2002-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.pfr])
|
|
|
|
|
|
|
|
OBJS=pfr.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.psaux] directory"
|
|
|
|
$ create [.src.psaux]descrip.mms
|
|
|
|
$ open/append out [.src.psaux]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 PSaux driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.psaux])
|
|
|
|
|
|
|
|
OBJS=psaux.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.pshinter] directory"
|
|
|
|
$ create [.src.pshinter]descrip.mms
|
|
|
|
$ open/append out [.src.pshinter]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 PSHinter driver compilation rules for OpenVMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.psnames])
|
|
|
|
|
|
|
|
OBJS=pshinter.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.psnames] directory"
|
|
|
|
$ create [.src.psnames]descrip.mms
|
|
|
|
$ open/append out [.src.psnames]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
2018-09-03 10:08:47 +03:00
|
|
|
# FreeType 2 psnames driver compilation rules for VMS
|
2004-11-17 11:19:27 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.psnames])
|
|
|
|
|
|
|
|
OBJS=psnames.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.raster] directory"
|
|
|
|
$ create [.src.raster]descrip.mms
|
|
|
|
$ open/append out [.src.raster]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 renderer module compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.raster])
|
|
|
|
|
|
|
|
OBJS=raster.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.sfnt] directory"
|
|
|
|
$ create [.src.sfnt]descrip.mms
|
|
|
|
$ open/append out [.src.sfnt]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 SFNT driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.sfnt])
|
|
|
|
|
|
|
|
OBJS=sfnt.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.smooth] directory"
|
|
|
|
$ create [.src.smooth]descrip.mms
|
|
|
|
$ open/append out [.src.smooth]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 smooth renderer module compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.smooth])
|
|
|
|
|
|
|
|
OBJS=smooth.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.truetype] directory"
|
|
|
|
$ create [.src.truetype]descrip.mms
|
|
|
|
$ open/append out [.src.truetype]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 TrueType driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.truetype])
|
|
|
|
|
|
|
|
OBJS=truetype.obj
|
|
|
|
|
2003-05-21 11:39:42 +04:00
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
2003-05-28 10:27:26 +04:00
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.type1] directory"
|
|
|
|
$ create [.src.type1]descrip.mms
|
|
|
|
$ open/append out [.src.type1]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 Type1 driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 1996-2019 by
|
2003-05-28 10:27:26 +04:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.type1])
|
|
|
|
|
|
|
|
OBJS=type1.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
2004-11-17 11:19:27 +03:00
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.type42] directory"
|
|
|
|
$ create [.src.type42]descrip.mms
|
|
|
|
$ open/append out [.src.type42]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 Type 42 driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2002-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.type42])
|
|
|
|
|
|
|
|
OBJS=type42.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
|
|
|
$ write sys$output "... [.src.winfonts] directory"
|
|
|
|
$ create [.src.winfonts]descrip.mms
|
|
|
|
$ open/append out [.src.winfonts]descrip.mms
|
|
|
|
$ copy sys$input: out
|
|
|
|
$ deck
|
|
|
|
#
|
|
|
|
# FreeType 2 Windows FNT/FON driver compilation rules for VMS
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-05-02 08:21:34 +03:00
|
|
|
# Copyright 2001-2019 by
|
2004-11-17 11:19:27 +03:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS=$(COMP_FLAGS)$(DEBUG)/include=([--.include],[--.src.winfonts])
|
|
|
|
|
|
|
|
OBJS=winfnt.obj
|
|
|
|
|
|
|
|
all : $(OBJS)
|
|
|
|
library [--.lib]freetype.olb $(OBJS)
|
|
|
|
|
2003-05-28 10:27:26 +04:00
|
|
|
# EOF
|
|
|
|
$ eod
|
|
|
|
$ close out
|
2003-05-21 11:39:42 +04:00
|
|
|
$ return
|
|
|
|
$!------------------------------------------------------------------------------
|
|
|
|
$!
|
|
|
|
$! Check command line options and set symbols accordingly
|
|
|
|
$!
|
|
|
|
$ CHECK_OPTS:
|
|
|
|
$ i = 1
|
|
|
|
$ OPT_LOOP:
|
|
|
|
$ if i .lt. 9
|
|
|
|
$ then
|
|
|
|
$ cparm = f$edit(p'i',"upcase")
|
|
|
|
$ if cparm .eqs. "DEBUG"
|
|
|
|
$ then
|
|
|
|
$ ccopt = ccopt + "/noopt/deb"
|
|
|
|
$ lopts = lopts + "/deb"
|
|
|
|
$ endif
|
2004-11-17 11:19:27 +03:00
|
|
|
$ if f$locate("CCOPT=",cparm) .lt. f$length(cparm)
|
2003-05-21 11:39:42 +04:00
|
|
|
$ then
|
|
|
|
$ start = f$locate("=",cparm) + 1
|
|
|
|
$ len = f$length(cparm) - start
|
2004-11-17 11:19:27 +03:00
|
|
|
$ ccopt = ccopt + f$extract(start,len,cparm)
|
2003-05-21 11:39:42 +04:00
|
|
|
$ endif
|
2004-11-17 11:19:27 +03:00
|
|
|
$ if cparm .eqs. "LINK" then linkonly = true
|
2006-09-27 11:58:43 +04:00
|
|
|
$ if f$locate("LOPTS=",cparm) .lt. f$length(cparm)
|
2003-05-21 11:39:42 +04:00
|
|
|
$ then
|
|
|
|
$ start = f$locate("=",cparm) + 1
|
|
|
|
$ len = f$length(cparm) - start
|
2004-11-17 11:19:27 +03:00
|
|
|
$ lopts = lopts + f$extract(start,len,cparm)
|
|
|
|
$ endif
|
2006-09-27 11:58:43 +04:00
|
|
|
$ if f$locate("CC=",cparm) .lt. f$length(cparm)
|
2004-11-17 11:19:27 +03:00
|
|
|
$ then
|
|
|
|
$ start = f$locate("=",cparm) + 1
|
|
|
|
$ len = f$length(cparm) - start
|
|
|
|
$ cc_com = f$extract(start,len,cparm)
|
2006-09-27 11:58:43 +04:00
|
|
|
if (cc_com .nes. "DECC") .and. -
|
|
|
|
(cc_com .nes. "VAXC") .and. -
|
2004-11-17 11:19:27 +03:00
|
|
|
(cc_com .nes. "GNUC")
|
|
|
|
$ then
|
|
|
|
$ write sys$output "Unsupported compiler choice ''cc_com' ignored"
|
|
|
|
$ write sys$output "Use DECC, VAXC, or GNUC instead"
|
2006-09-27 11:58:43 +04:00
|
|
|
$ else
|
|
|
|
$ if cc_com .eqs. "DECC" then its_decc = true
|
|
|
|
$ if cc_com .eqs. "VAXC" then its_vaxc = true
|
|
|
|
$ if cc_com .eqs. "GNUC" then its_gnuc = true
|
|
|
|
$ endif
|
2004-11-17 11:19:27 +03:00
|
|
|
$ endif
|
2006-09-27 11:58:43 +04:00
|
|
|
$ if f$locate("MAKE=",cparm) .lt. f$length(cparm)
|
2004-11-17 11:19:27 +03:00
|
|
|
$ then
|
|
|
|
$ start = f$locate("=",cparm) + 1
|
|
|
|
$ len = f$length(cparm) - start
|
|
|
|
$ mmks = f$extract(start,len,cparm)
|
2006-09-27 11:58:43 +04:00
|
|
|
$ if (mmks .eqs. "MMK") .or. (mmks .eqs. "MMS")
|
2004-11-17 11:19:27 +03:00
|
|
|
$ then
|
|
|
|
$ make = mmks
|
2006-09-27 11:58:43 +04:00
|
|
|
$ else
|
2004-11-17 11:19:27 +03:00
|
|
|
$ write sys$output "Unsupported make choice ''mmks' ignored"
|
|
|
|
$ write sys$output "Use MMK or MMS instead"
|
2006-09-27 11:58:43 +04:00
|
|
|
$ endif
|
2003-05-21 11:39:42 +04:00
|
|
|
$ endif
|
|
|
|
$ i = i + 1
|
|
|
|
$ goto opt_loop
|
|
|
|
$ endif
|
|
|
|
$ return
|
|
|
|
$!------------------------------------------------------------------------------
|
|
|
|
$!
|
|
|
|
$! Take care of driver file with information about external libraries
|
|
|
|
$!
|
2004-11-17 11:19:27 +03:00
|
|
|
$! Version history
|
|
|
|
$! 0.01 20040220 First version to receive a number
|
|
|
|
$! 0.02 20040229 Echo current procedure name; use general error exit handler
|
2006-09-27 11:58:43 +04:00
|
|
|
$! Remove xpm hack -> Replaced by more general dnsrl handling
|
2003-05-21 11:39:42 +04:00
|
|
|
$CHECK_CREATE_VMSLIB:
|
|
|
|
$!
|
|
|
|
$ if f$search("VMSLIB.DAT") .eqs. ""
|
|
|
|
$ then
|
|
|
|
$ type/out=vmslib.dat sys$input
|
|
|
|
!
|
2004-11-17 11:19:27 +03:00
|
|
|
! This is a simple driver file with information used by vms_make.com to
|
2017-09-08 05:36:02 +03:00
|
|
|
! check if external libraries (like t1lib and FreeType) are available on
|
2003-05-21 11:39:42 +04:00
|
|
|
! the system.
|
|
|
|
!
|
|
|
|
! Layout of the file:
|
|
|
|
!
|
|
|
|
! - Lines starting with ! are treated as comments
|
|
|
|
! - Elements in a data line are separated by # signs
|
|
|
|
! - The elements need to be listed in the following order
|
2006-09-27 11:58:43 +04:00
|
|
|
! 1.) Name of the Library (only used for informative messages
|
2004-11-17 11:19:27 +03:00
|
|
|
! from vms_make.com)
|
2003-05-21 11:39:42 +04:00
|
|
|
! 2.) Location where the object library can be found
|
|
|
|
! 3.) Location where the include files for the library can be found
|
|
|
|
! 4.) Include file used to verify library location
|
2006-09-27 11:58:43 +04:00
|
|
|
! 5.) CPP define to pass to the build to indicate availability of
|
2003-05-21 11:39:42 +04:00
|
|
|
! the library
|
|
|
|
!
|
2006-09-27 11:58:43 +04:00
|
|
|
! Example: The following lines show how definitions
|
|
|
|
! might look like. They are site specific and the locations of the
|
2003-05-21 11:39:42 +04:00
|
|
|
! library and include files need almost certainly to be changed.
|
2006-09-27 11:58:43 +04:00
|
|
|
!
|
2016-04-07 08:29:44 +03:00
|
|
|
! Location: All of the libraries can be found at the following addresses
|
2003-05-21 11:39:42 +04:00
|
|
|
!
|
2004-11-17 11:19:27 +03:00
|
|
|
! ZLIB: http://zinser.no-ip.info/vms/sw/zlib.htmlx
|
2003-05-21 11:39:42 +04:00
|
|
|
!
|
2004-11-27 11:18:10 +03:00
|
|
|
ZLIB # sys$library:libz.olb # sys$library: # zlib.h # FT_CONFIG_OPTION_SYSTEM_ZLIB
|
2003-05-21 11:39:42 +04:00
|
|
|
$ write sys$output "New driver file vmslib.dat created."
|
2016-04-09 06:21:34 +03:00
|
|
|
$ write sys$output "Please customize library locations for your site"
|
2004-11-17 11:19:27 +03:00
|
|
|
$ write sys$output "and afterwards re-execute ''myproc'"
|
|
|
|
$ goto err_exit
|
2003-05-21 11:39:42 +04:00
|
|
|
$ endif
|
|
|
|
$!
|
2007-02-01 10:58:02 +03:00
|
|
|
$! Init symbols used to hold CPP definitions and include path
|
2004-11-17 11:19:27 +03:00
|
|
|
$!
|
2019-05-13 23:22:57 +03:00
|
|
|
$ libdefs = "FT2_BUILD_LIBRARY,FT_CONFIG_OPTION_OLD_INTERNALS,"
|
2004-11-17 11:19:27 +03:00
|
|
|
$ libincs = ""
|
|
|
|
$!
|
2003-05-21 11:39:42 +04:00
|
|
|
$! Open data file with location of libraries
|
|
|
|
$!
|
2004-11-17 11:19:27 +03:00
|
|
|
$ open/read/end=end_lib/err=err_lib libdata VMSLIB.DAT
|
2003-05-21 11:39:42 +04:00
|
|
|
$LIB_LOOP:
|
|
|
|
$ read/end=end_lib libdata libline
|
|
|
|
$ libline = f$edit(libline, "UNCOMMENT,COLLAPSE")
|
|
|
|
$ if libline .eqs. "" then goto LIB_LOOP ! Comment line
|
|
|
|
$ libname = f$edit(f$element(0,"#",libline),"UPCASE")
|
|
|
|
$ write sys$output "Processing ''libname' setup ..."
|
|
|
|
$ libloc = f$element(1,"#",libline)
|
|
|
|
$ libsrc = f$element(2,"#",libline)
|
|
|
|
$ testinc = f$element(3,"#",libline)
|
|
|
|
$ cppdef = f$element(4,"#",libline)
|
|
|
|
$ old_cpp = f$locate("=1",cppdef)
|
|
|
|
$ if old_cpp.lt.f$length(cppdef) then cppdef = f$extract(0,old_cpp,cppdef)
|
|
|
|
$ if f$search("''libloc'").eqs. ""
|
|
|
|
$ then
|
|
|
|
$ write sys$output "Can not find library ''libloc' - Skipping ''libname'"
|
|
|
|
$ goto LIB_LOOP
|
|
|
|
$ endif
|
|
|
|
$ libsrc_elem = 0
|
|
|
|
$ libsrc_found = false
|
|
|
|
$LIBSRC_LOOP:
|
|
|
|
$ libsrcdir = f$element(libsrc_elem,",",libsrc)
|
|
|
|
$ if (libsrcdir .eqs. ",") then goto END_LIBSRC
|
|
|
|
$ if f$search("''libsrcdir'''testinc'") .nes. "" then libsrc_found = true
|
|
|
|
$ libsrc_elem = libsrc_elem + 1
|
|
|
|
$ goto LIBSRC_LOOP
|
|
|
|
$END_LIBSRC:
|
|
|
|
$ if .not. libsrc_found
|
|
|
|
$ then
|
|
|
|
$ write sys$output "Can not find includes at ''libsrc' - Skipping ''libname'"
|
|
|
|
$ goto LIB_LOOP
|
|
|
|
$ endif
|
2004-11-17 11:19:27 +03:00
|
|
|
$ if (cppdef .nes. "") then libdefs = libdefs + cppdef + ","
|
2003-05-21 11:39:42 +04:00
|
|
|
$ libincs = libincs + "," + libsrc
|
|
|
|
$ lqual = "/lib"
|
2004-11-17 11:19:27 +03:00
|
|
|
$ libtype = f$edit(f$parse(libloc,,,"TYPE"),"UPCASE")
|
2003-05-21 11:39:42 +04:00
|
|
|
$ if f$locate("EXE",libtype) .lt. f$length(libtype) then lqual = "/share"
|
2004-11-17 11:19:27 +03:00
|
|
|
$ write optf libloc , lqual
|
|
|
|
$ if (f$trnlnm("topt") .nes. "") then write topt libloc , lqual
|
|
|
|
$!
|
2017-09-08 05:36:02 +03:00
|
|
|
$! Nasty hack to get the FreeType includes to work
|
2004-11-17 11:19:27 +03:00
|
|
|
$!
|
|
|
|
$ ft2def = false
|
|
|
|
$ if ((libname .eqs. "FREETYPE") .and. -
|
|
|
|
(f$locate("FREETYPE2",cppdef) .lt. f$length(cppdef)))
|
|
|
|
$ then
|
|
|
|
$ if ((f$search("freetype:freetype.h") .nes. "") .and. -
|
|
|
|
(f$search("freetype:[internal]ftobjs.h") .nes. ""))
|
|
|
|
$ then
|
|
|
|
$ write sys$output "Will use local definition of freetype logical"
|
|
|
|
$ else
|
2006-09-27 11:58:43 +04:00
|
|
|
$ ft2elem = 0
|
2004-11-17 11:19:27 +03:00
|
|
|
$FT2_LOOP:
|
|
|
|
$ ft2srcdir = f$element(ft2elem,",",libsrc)
|
|
|
|
$ if f$search("''ft2srcdir'''testinc'") .nes. ""
|
|
|
|
$ then
|
|
|
|
$ if f$search("''ft2srcdir'internal.dir") .nes. ""
|
|
|
|
$ then
|
|
|
|
$ ft2dev = f$parse("''ft2srcdir'",,,"device","no_conceal")
|
|
|
|
$ ft2dir = f$parse("''ft2srcdir'",,,"directory","no_conceal")
|
|
|
|
$ ft2conc = f$locate("][",ft2dir)
|
|
|
|
$ ft2len = f$length(ft2dir)
|
|
|
|
$ if ft2conc .lt. ft2len
|
|
|
|
$ then
|
|
|
|
$ ft2dir = f$extract(0,ft2conc,ft2dir) + -
|
|
|
|
f$extract(ft2conc+2,ft2len-2,ft2dir)
|
|
|
|
$ endif
|
|
|
|
$ ft2dir = ft2dir - "]" + ".]"
|
|
|
|
$ define freetype 'ft2dev''ft2dir','ft2srcdir'
|
|
|
|
$ ft2def = true
|
|
|
|
$ else
|
|
|
|
$ goto ft2_err
|
|
|
|
$ endif
|
|
|
|
$ else
|
|
|
|
$ ft2elem = ft2elem + 1
|
|
|
|
$ goto ft2_loop
|
|
|
|
$ endif
|
2006-09-27 11:58:43 +04:00
|
|
|
$ endif
|
2004-11-17 11:19:27 +03:00
|
|
|
$ endif
|
2003-05-21 11:39:42 +04:00
|
|
|
$ goto LIB_LOOP
|
|
|
|
$END_LIB:
|
|
|
|
$ close libdata
|
|
|
|
$ return
|
2003-05-28 10:27:26 +04:00
|
|
|
$!------------------------------------------------------------------------------
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
2006-09-27 11:58:43 +04:00
|
|
|
$! Analyze Object files for OpenVMS AXP to extract Procedure and Data
|
2003-05-28 10:27:26 +04:00
|
|
|
$! information to build a symbol vector for a shareable image
|
|
|
|
$! All the "brains" of this logic was suggested by Hartmut Becker
|
|
|
|
$! (Hartmut.Becker@compaq.com). All the bugs were introduced by me
|
2015-03-11 09:14:15 +03:00
|
|
|
$! (zinser@zinser.no-ip.info), so if you do have problem reports please do not
|
2003-05-28 10:27:26 +04:00
|
|
|
$! bother Hartmut/HP, but get in touch with me
|
2003-05-21 11:39:42 +04:00
|
|
|
$!
|
2004-11-17 11:19:27 +03:00
|
|
|
$! Version history
|
|
|
|
$! 0.01 20040006 Skip over shareable images in option file
|
|
|
|
$!
|
2006-09-27 11:58:43 +04:00
|
|
|
$ ANAL_OBJ_AXP: Subroutine
|
2003-05-21 11:39:42 +04:00
|
|
|
$ V = 'F$Verify(0)
|
|
|
|
$ SAY := "WRITE_ SYS$OUTPUT"
|
2006-09-27 11:58:43 +04:00
|
|
|
$
|
2003-05-21 11:39:42 +04:00
|
|
|
$ IF F$SEARCH("''P1'") .EQS. ""
|
|
|
|
$ THEN
|
2003-05-28 10:27:26 +04:00
|
|
|
$ SAY "ANAL_OBJ_AXP-E-NOSUCHFILE: Error, inputfile ''p1' not available"
|
2003-05-21 11:39:42 +04:00
|
|
|
$ goto exit_aa
|
|
|
|
$ ENDIF
|
|
|
|
$ IF "''P2'" .EQS. ""
|
|
|
|
$ THEN
|
2003-05-28 10:27:26 +04:00
|
|
|
$ SAY "ANAL_OBJ_AXP: Error, no output file provided"
|
2003-05-21 11:39:42 +04:00
|
|
|
$ goto exit_aa
|
|
|
|
$ ENDIF
|
|
|
|
$
|
2003-05-28 10:27:26 +04:00
|
|
|
$ open/read in 'p1
|
|
|
|
$ create a.tmp
|
|
|
|
$ open/append atmp a.tmp
|
|
|
|
$ loop:
|
|
|
|
$ read/end=end_loop in line
|
2004-11-17 11:19:27 +03:00
|
|
|
$ if f$locate("/SHARE",f$edit(line,"upcase")) .lt. f$length(line)
|
|
|
|
$ then
|
|
|
|
$ write sys$output "ANAL_SKP_SHR-i-skipshare, ''line'"
|
|
|
|
$ goto loop
|
|
|
|
$ endif
|
2004-11-27 11:18:10 +03:00
|
|
|
$ if f$locate("/LIB",f$edit(line,"upcase")) .lt. f$length(line)
|
|
|
|
$ then
|
|
|
|
$ write libsf line
|
|
|
|
$ write sys$output "ANAL_SKP_LIB-i-skiplib, ''line'"
|
|
|
|
$ goto loop
|
|
|
|
$ endif
|
2003-05-28 10:27:26 +04:00
|
|
|
$ f= f$search(line)
|
|
|
|
$ if f .eqs. ""
|
|
|
|
$ then
|
|
|
|
$ write sys$output "ANAL_OBJ_AXP-w-nosuchfile, ''line'"
|
|
|
|
$ goto loop
|
|
|
|
$ endif
|
|
|
|
$ def/user sys$output nl:
|
|
|
|
$ def/user sys$error nl:
|
|
|
|
$ anal/obj/gsd 'f /out=x.tmp
|
|
|
|
$ open/read xtmp x.tmp
|
|
|
|
$ XLOOP:
|
|
|
|
$ read/end=end_xloop xtmp xline
|
|
|
|
$ xline = f$edit(xline,"compress")
|
|
|
|
$ write atmp xline
|
|
|
|
$ goto xloop
|
|
|
|
$ END_XLOOP:
|
|
|
|
$ close xtmp
|
|
|
|
$ goto loop
|
|
|
|
$ end_loop:
|
|
|
|
$ close in
|
|
|
|
$ close atmp
|
|
|
|
$ if f$search("a.tmp") .eqs. "" -
|
|
|
|
then $ exit
|
|
|
|
$ ! all global definitions
|
|
|
|
$ search a.tmp "symbol:","EGSY$V_DEF 1","EGSY$V_NORM 1"/out=b.tmp
|
|
|
|
$ ! all procedures
|
|
|
|
$ search b.tmp "EGSY$V_NORM 1"/wind=(0,1) /out=c.tmp
|
|
|
|
$ search c.tmp "symbol:"/out=d.tmp
|
|
|
|
$ def/user sys$output nl:
|
|
|
|
$ edito/edt/command=sys$input d.tmp
|
|
|
|
sub/symbol: "/symbol_vector=(/whole
|
2004-11-27 11:18:10 +03:00
|
|
|
sub/"/=PROCEDURE)/whole
|
2003-05-28 10:27:26 +04:00
|
|
|
exit
|
|
|
|
$ ! all data
|
|
|
|
$ search b.tmp "EGSY$V_DEF 1"/wind=(0,1) /out=e.tmp
|
|
|
|
$ search e.tmp "symbol:"/out=f.tmp
|
|
|
|
$ def/user sys$output nl:
|
|
|
|
$ edito/edt/command=sys$input f.tmp
|
|
|
|
sub/symbol: "/symbol_vector=(/whole
|
2004-11-27 11:18:10 +03:00
|
|
|
sub/"/=DATA)/whole
|
2003-05-28 10:27:26 +04:00
|
|
|
exit
|
|
|
|
$ sort/nodupl d.tmp,f.tmp 'p2'
|
|
|
|
$ delete a.tmp;*,b.tmp;*,c.tmp;*,d.tmp;*,e.tmp;*,f.tmp;*
|
|
|
|
$ if f$search("x.tmp") .nes. "" -
|
|
|
|
then $ delete x.tmp;*
|
|
|
|
$!
|
2004-11-27 11:18:10 +03:00
|
|
|
$ close libsf
|
2003-05-21 11:39:42 +04:00
|
|
|
$ EXIT_AA:
|
|
|
|
$ if V then set verify
|
2006-09-27 11:58:43 +04:00
|
|
|
$ endsubroutine
|