aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/mkpkg
blob: 9d0a7517984be813d48477058b8eca2820a12326 (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
# Make the UTILITIES package

$call	relink
$exit

update:
	@nttools

	$call	relink
	$call	install
	;

relink:
	@nttools

	$set	LIBS = "-lxtools -lcurfit -lbev -lgsurfit"

	$update	libpkg.a
	$omake	x_utilities.x
	$link	x_utilities.o libpkg.a $(LIBS) -o xx_utilities.e
	;

install:
	$move	xx_utilities.e bin$x_utilities.e
	;

generic:
	$set	GEN = "$$generic -k"
	$ifolder (curfit.x, curfit.gx) $(GEN) curfit.gx -o curfit.x $endif
	;

libpkg.a:
	$ifeq (USE_GENERIC, yes) $call generic $endif

	curfit.x	curfit.h <fset.h> <imhdr.h> <pkg/gtools.h>\
			<math/curfit.h>
	decod_tablst.x	<ctype.h>
	t_lcase.x	
	pfregres.f
	pffctn.x
	t_split.x	<mach.h>
	t_curfit.x	<ctype.h> <error.h> <fset.h> <imhdr.h> <pkg/gtools.h>\
			<pkg/xtanswer.h>
	t_detab.x	
	t_entab.x	
	t_polyfit.x	<fset.h>
	t_surfit.x	<imhdr.h> <error.h> <math/gsurfit.h>
	t_translit.x	<chars.h> <ctype.h> <pattern.h> <fset.h>
	t_ucase.x	
	t_urand.x	
	;