-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkpkg
211 lines (203 loc) · 5.48 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# keck$mkpkg / GDW / 2002-Aug-05
#
# Purpose: Make the Keck astronomy packages
$ifeq (hostid, unix) !(clear;date) $endif
$call update
$ifeq (hostid, unix) !(date) $endif
$exit
update:
$call deimos
$call lris
$call lris2
$call lred
$call lws
$call nirspec
$ifeq (HOSTID, vms) $purge [...] $endif
$purge keckbin$
;
deimos:
$echo "--------------------- DEIMOS ---------------------"
$call update@deimos
;
lris:
$echo "--------------------- LRIS ---------------------"
$call update@lris
;
lris2:
$echo "--------------------- LRIS2 ---------------------"
$call update@lris2
;
lred:
$echo "--------------------- LRED ---------------------"
$call update@lred
;
lws:
$echo "--------------------- LWS ---------------------"
$call update@lws
;
nirspec:
$echo "--------------------- NIRSPEC ---------------------"
$call update@nirspec
;
# 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
;
# SUN/IRAF multiple architecture support.
# ----------------------------------------
arch:
showfloat: # show current float option
$verbose off
!$(hlib)/mkfloat.csh
;
generic: # make architecture indep. (no bins)
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh generic -d $(DIRS)
;
sparc: # install sparc binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh sparc -d $(DIRS)
;
ssun: # install ssun binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh ssun -d $(DIRS)
;
sf2c: # install sf2c binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh sf2c -d $(DIRS)
;
i386: # install i386 binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh i386 -d $(DIRS)
;
f68881: # install f68881 binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh f68881 -d $(DIRS)
;
ffpa: # install ffpa binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh ffpa -d $(DIRS)
;
fswitch: # install fswitch binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh fswitch -d $(DIRS)
;
fsoft: # install fsoft binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh fsoft -d $(DIRS)
;
pg: # install -pg -f68881 binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh pg -d $(DIRS)
;
f2c: # install Macintosh A/UX f2c binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh f2c -d $(DIRS)
;
alpha: # install DEC Alpha/OSF binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh alpha -d $(DIRS)
;
ddec: # install DECstation DEC-Fortran bins
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh ddec -d $(DIRS)
;
dmip: # install DECstation MIPS-Fortran bins
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh dmip -d $(DIRS)
;
irix: # install SGI IRIX binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh irix -d $(DIRS)
;
rs6000: # install IBM AIX binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh rs6000 -d $(DIRS)
;
mips: # install MIPS workstation binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh mips -d $(DIRS)
;
hp300: # install HPUX series 300 binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh hp300 -d $(DIRS)
;
hp700: # install HPUX series 700 binaries
hp800: # install HPUX series 800/700 binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh hp700 -d $(DIRS)
;
freebsd: # install FREEBSD binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh freebsd -d $(DIRS)
;
macosx: # install MACOSX binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh macosx -d $(DIRS)
;
linux: # install Slackwkare Linux binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh linux -d $(DIRS)
;
linux64: # install Slackwkare Linux binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh linux64 -d $(DIRS)
;
redhat: # install Redhat Linux binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh redhat -d $(DIRS)
;
suse: # install SUSE Linux binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh suse -d $(DIRS)
;
linuz: # install LINUZ binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh linuz -d $(DIRS)
;
sunos: # install SUNOS (Solaris x86) binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh sunos -d $(DIRS)
;
macintel: # install SUNOS (Solaris x86) binaries
$verbose off
$set DIRS = "deimos lris lris2 lws nirspec"
!$(hlib)/mkfloat.csh macintel -d $(DIRS)
;