File: mkpkg

package info (click to toggle)
iraf-sptable 1.0~pre20180612-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 9,628 kB
  • sloc: ansic: 2,026; fortran: 813; lisp: 749; makefile: 27
file content (108 lines) | stat: -rw-r--r-- 2,722 bytes parent folder | download | duplicates (2)
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
# Make the SPTABLE package.

update:
	$call update@src/
	;



# IRAF multiple architecture support.
# ----------------------------------------

arch:					# show current float option
showfloat:
	$verbose off
	!$(hlib)/mkfloat.csh
	;
generic:				# generic installation (no bin)
	$ifnfile (bin.generic)
	    !mkdir bin.generic
	$endif
	$verbose off
	$set DIRS = "lib src"
	!$(hlib)/mkfloat.csh generic -d $(DIRS)
	;

freebsd:                                # install FreeBSD binaries
	$ifnfile (bin.freebsd)
	    !mkdir bin.freebsd
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh freebsd -d $(DIRS)
        ;
linux:                                  # install Linux 32-bit binaries
	$ifnfile (bin.linux)
	    !mkdir bin.linux
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh linux -d $(DIRS)
        ;
linux64:                                # install x86_64 binaries
	$ifnfile (bin.linux64)
	    !mkdir bin.linux64
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh linux64 -d $(DIRS)
        ;
macosx:                                 # install Mac OS X (PPC) binaries
	$ifnfile (bin.macosx)
	    !mkdir bin.macosx
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh macosx -d $(DIRS)
        ;
macintel:                               # install Mac OS X (Intel) binaries
	$ifnfile (bin.macintel)
	    !mkdir bin.macintel
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh macintel -d $(DIRS)
        ;
cygwin:                                 # install Cygwin binaries
	$ifnfile (bin.cygwin)
	    !mkdir bin.cygwin
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh cygwin -d $(DIRS)
        ;
redhat:                                 # install Redhat Linux binaries
	$ifnfile (bin.redhat)
	    !mkdir bin.redhat
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh redhat -d $(DIRS)
        ;
sparc:					# install sparc binaries
	$ifnfile (bin.sparc)
	    !mkdir bin.sparc
	$endif
	$verbose off
	$set DIRS = "lib src"
	!$(hlib)/mkfloat.csh sparc -d $(DIRS)
	;
ssun:					# install Sun/Solaris binaries
	$ifnfile (bin.ssun)
	    !mkdir bin.ssun
	$endif
	$verbose off
	$set DIRS = "lib src"
	!$(hlib)/mkfloat.csh ssun -d $(DIRS)
	;
sunos:                                  # install SunOS (Solaris x86) binaries
	$ifnfile (bin.sunos)
	    !mkdir bin.sunos
	$endif
        $verbose off
        $set DIRS = "lib src"
        !$(hlib)/mkfloat.csh sunos -d $(DIRS)
        ;
noP2R:
	!find . -type f -name '*[xh]' -exec grep -q P2R {} \; -exec sed -i -e 's+P2R++g' {} \;
	;