File: mkpkg

package info (click to toggle)
iraf-st4gem 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,316 kB
  • sloc: fortran: 4,161; ansic: 2,564; pascal: 1,092; lisp: 1,046; yacc: 969; makefile: 89; python: 18; sh: 7
file content (52 lines) | stat: -rw-r--r-- 1,172 bytes parent folder | download
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
# Make the ST4GEM syslib libraries
#
#   Special keywords recognized by IRAF mkpkg files:
#
#	mkpkg relink		update object library and link
#	mkpkg linkonly		skip object library updates and just link
#	mkpkg install		move executable to lib$
#	mkpkg update		update object library, link, and move to lib$

relink:
update:

$ifeq (hostid, unix)  !(date)  $endif

$echo "------------------------  GFLIB    --------------------------"
$update libgflib.a
$echo "------------------------  GILIB    --------------------------"
$update libgilib.a
$echo "------------------------  IRAF77 ----------------------------"
$update libiraf77.a
$echo "------------------------  SYNPHOT ---------------------------"
$update libsynphot.a
$echo "------------------------  UTTABLES    --------------------------"
$update libuttables.a

# For the TBTABLES and STXTOOLS libraries we'll use the version in the core
# system to avoid possibly divergent code.

libstxtools.a:
	;
libtbtables.a:
	;

libgflib.a:
	@gflib
	;
libgilib.a:
	@gilib
	;
libiraf77.a:
        @iraf77
        ;
libsynphot.a:
        @synphot
        ;
libuttables.a:
	@uttables
	;

$ifeq (hostid, unix)  !(date)  $endif
$exit