File: mkpkg

package info (click to toggle)
iraf-rvsao 2.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 16,456 kB
  • sloc: ansic: 963; lisp: 651; fortran: 397; makefile: 27
file content (90 lines) | stat: -rw-r--r-- 1,103 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
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
# Make RVSAO package tasks
 
$call	relink
$exit
;
 
update:
	$call	relink
	$call	install
	;
 
install:
	$move	xx_rvsao.e bin/x_rvsao.e
	;

relink:
	!mkpkg -p noao -p rvsao nrelink
	;
 
nrelink:
	$set LIBS = "librv.a -lsmw -lxtools -lcurfit -liminterp -lllsq"
	$checkout librv.a bin
	$update librv.a
	$checkin librv.a bin
	$omake	x_rvsao.x
	$move bin/librv.a librv.a
#	$link	x_rvsao.o $(LIBS) -o xx_rvsao.e
	$link	-z x_rvsao.o $(LIBS) -o xx_rvsao.e
	$move librv.a bin/librv.a
	$delete x_rvsao.o
	;

librv.a:
	@Util
	@Xcsao
	@Emsao
	@Linespec
	@Sumspec
	@Eqwidth
	;

generic:
        $delete bin
        !ln -s ./bin.generic ./bin
        ;

ssun:
	$delete bin
	!ln -s ./bin.ssun ./bin
	;

redhat:
	$delete bin
	!ln -s ./bin.redhat ./bin
	;

macosx:
	$delete bin
	!ln -s ./bin.macosx ./bin
	;

macintel:
	$delete bin
	!ln -s ./bin.macintel ./bin
	;

cygwin:
	$delete bin
	!ln -s ./bin.cygwin ./bin
	;

alpha:
	$delete bin
	!ln -s ./bin.alpha ./bin
	;

sparc:
	$delete bin
	!ln -s ./bin.sparc ./bin
	;

linux:
	$delete bin
	!ln -s ./bin.linux ./bin
	;

linux64:
	$delete bin
	!ln -s ./bin.linux64 ./bin
	;