summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/psutils-1.17/descrip.mms
blob: f3f98e5cdac636a501008e49897b61305b82f95a (plain)
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
#
#  VMS MMS build file for PS utilities
#
#  Hunter Goatley, 16-MAR-1993 14:47
#
CFLAGS = /NOLIST/OBJECT=$(MMS$TARGET)
LFLAGS = /NOTRACE/EXEC=$(MMS$TARGET)

.IFDEF __ALPHA__               #If building with Alpha cross-compilers, OBJ
OPTIONS_FILE =                  #... is defined already
LINKOPT =
CFLAGS = /NOLIST/OBJECT=$(MMS$TARGET)/STANDARD=VAXC
.ELSE
OBJ = .OBJ
EXE = .EXE
OPTIONS_FILE = ,VAXC.OPT
LINKOPT = $(options_file)/OPTIONS
.ENDIF

# epsffit fits an epsf file to a given bounding box
# psbook rearranges pages into signatures
# psselect selects page ranges
# pstops performs general page rearrangement and merging
# psnup puts multiple logical pages on one physical page

all : psbook$(exe), psselect$(exe), pstops$(exe), epsffit$(exe), psnup$(exe), psresize$(exe)
        @ write sys$output "PSUTILS build complete"

epsffit$(exe) : epsffit$(obj), pserror$(obj)
        $(LINK)$(LFLAGS) epsffit$(obj),pserror$(obj)$(linkopt)

psnup$(exe) :   psnup$(obj), psutil$(obj), psspec$(obj), pserror$(obj)
        $(LINK)$(LFLAGS) psnup$(obj),psutil$(obj),psspec$(obj),pserror$(obj)$(linkopt)

psresize$(exe) :   psresize$(obj), psutil$(obj), psspec$(obj), pserror$(obj)
        $(LINK)$(LFLAGS) psresize$(obj),psutil$(obj),psspec$(obj),pserror$(obj)$(linkopt)

psbook$(exe) :  psbook$(obj), psutil$(obj)$(options_file), pserror$(obj)
        $(LINK)$(LFLAGS) psbook$(obj),psutil$(obj),pserror$(obj)$(linkopt)

psselect$(exe) :        psselect$(obj), psutil$(obj), pserror$(obj)
        $(LINK)$(LFLAGS) psselect$(obj),psutil$(obj),pserror$(obj)$(linkopt)

pstops$(exe) :  pstops$(obj), psutil$(obj), psspec$(obj), pserror$(obj)
        $(LINK)$(LFLAGS) pstops$(obj),psutil$(obj),psspec$(obj),pserror$(obj)$(linkopt)

psnup$(obj)  : psnup.c, psutil.h patchlev.h psspec.h pserror.h

psresize$(obj)  : psresize.c, psutil.h patchlev.h psspec.h pserror.h

psbook$(obj) : psbook.c, psutil.h patchlev.h pserror.h

pstops$(obj) : pstops.c, psutil.h patchlev.h psspec.h pserror.h

psutil$(obj) : psutil.c, psutil.h patchlev.h pserror.h

psselect$(obj) : psselect.c, psutil.h patchlev.h pserror.h

psspec$(obj) : psspec.c, psutil.h patchlev.h psspec.h pserror.h

clean :
        delete/log *$(obj);*,psnup$(exe);*,psresize$(exe);*,psbook$(exe);*,-
                psselect$(exe);*,pstops$(exe);*,epsffit$(exe);*