aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/nttools/mkpkg
blob: abd34f798553520c179a191bfad5b94f70610f23 (plain) (blame)
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
#   Make the nttools package
#   Author: CDBS, 23-NOV-1987
#	to include copyone,keyselect,lib,tcalc,tchsize,tcopy,tcreate,tedit,
#	tinfo,tjoin,tmerge,tprint,tproduct,tproject,tselect,tsort,tupar, 
#	tintegrate application(s)
#   03-Jun-97  3-D table translators (I. Busko)
#
#   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$

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

debug:
        $set XFLAGS = "-fgq $(XFLAGS)"
        $call relink
        ;

relink:
	$update	libpkg.a
	$call	nttools
	;

install:
	$move	xx_nttools.e bin$x_nttools.e
	;

nttools:
linkonly:
	$omake	x_nttools.x
	$link	x_nttools.o libpkg.a -lxtools -ltbtables -o xx_nttools.e
	;

libpkg.a:
	@threed
	@stxtools

	@atools
	@copyone
	@gtedit
	@imtab
	@keyselect
	@lib
	@tcalc
	@tchcol
	@tchsize
	@tcheck
	@tcopy
	@tcreate
	@tdiffer
	@tedit
	@texpand
	@thedit
	@tinfo
	@tintegrate
	@tjoin
        @tlinear
	@tmatch
	@tmerge
	@tprint
	@tproduct
	@tproject
	@tquery
	@trebin
	@tselect
	@tsort
	@tstat
	@ttranspose
	@tunits
	@tupar
	;