This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkpkg
192 lines (181 loc) · 4.07 KB
/
mkpkg
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# Make the package.
$call update@src
$exit
update:
$call update@src
;
# STRIP -- Strip the package directories of all sources and other files
# not required to run the system, or for user programming.
strip:
!rmfiles -f lib/strip
;
# SUMMARY -- [UNIX] mkpkg summary: output a summary of the spooled mkpkg
# output, omitting most of the mundane chatter. Used to scan large spool
# files for errors.
summary:
$ifeq (HOSTID, unix)
$ifndef (spool)
$set spool = spool
$endif
! grep -v ':$$' spool | grep -v '^xc' | grep -v '^ar'\
| grep -v '^check file'
$else
$echo "mkpkg summary only available on a UNIX system"
$endif
;
# IRAF multiple architecture support.
# ----------------------------------------
arch: # show current float option
showfloat:
$verbose off
!$(hlib)/mkfloat.csh
;
generic: # generic installation (no bin)
$ifnfile (bin.generic)
!mkdir bin.generic
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh generic -d $(DIRS)
;
f68881: # install f68881 binaries
$ifnfile (bin.f68881)
!mkdir bin.f68881
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh f68881 -d $(DIRS)
;
ffpa: # install ffpa binaries
$ifnfile (bin.ffpa)
!mkdir bin.ffpa
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh ffpa -d $(DIRS)
;
fswitch: # install fswitch binaries
$ifnfile (bin.fswitch)
!mkdir bin.fswitch
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh fswitch -d $(DIRS)
;
fsoft: # install fsoft binaries
$ifnfile (bin.fsoft)
!mkdir bin.fsoft
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh fsoft -d $(DIRS)
;
i386: # install i386 binaries
$ifnfile (bin.i386)
!mkdir bin.i386
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh i386 -d $(DIRS)
;
sparc: # install sparc binaries
$ifnfile (bin.sparc)
!mkdir bin.sparc
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh sparc -d $(DIRS)
;
ssun: # install Solaris binaries
$ifnfile (bin.ssun)
!mkdir bin.ssun
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh ssun -d $(DIRS)
;
pg: # install -pg -f68881 binaries
$ifnfile (bin.pg)
!mkdir bin.pg
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh pg -d $(DIRS)
;
ddec: # install DECstation/Ultrix binaries
$ifnfile (bin.ddec)
!mkdir bin.ddec
$endif
$verbose off # using DEC Fortran compiler
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh ddec -d $(DIRS)
;
dmip: # install DECstation/Ultrix binaries
$ifnfile (bin.dmip)
!mkdir bin.dmip
$endif
$verbose off # using MIPS RISC Fortran compiler
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh dmip -d $(DIRS)
;
mips: # install mips binaries
$ifnfile (bin.mips)
!mkdir bin.mips
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh mips -d $(DIRS)
;
irix: # install SGI IRIX binaries
$ifnfile (bin.irix)
!mkdir bin.irix
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh irix -d $(DIRS)
;
aix: # install IBM AIX binaries
$ifnfile (bin.aix)
!mkdir bin.aix
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh aix -d $(DIRS)
;
hpux: # install HP/UX binaries
$ifnfile (bin.hpux)
!mkdir bin.hpux
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh hpux -d $(DIRS)
;
aux: # install A/UX binaries
$ifnfile (bin.aux)
!mkdir bin.aux
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh aux -d $(DIRS)
;
vax: # install VAX binaries
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh vax -d $(DIRS)
;
alpha: # install DEC Alpha binaries
$ifnfile (bin.alpha)
!mkdir bin.alpha
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh alpha -d $(DIRS)
;
linux: # install LINUX binaries
$ifnfile (bin.linux)
!mkdir bin.linux
$endif
$verbose off
$set DIRS = "lib src"
!$(hlib)/mkfloat.csh linux -d $(DIRS)
;