File: mkpkg

package info (click to toggle)
iraf 2.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,000 kB
  • sloc: ansic: 115,890; fortran: 74,576; lisp: 18,888; yacc: 5,642; sh: 961; lex: 596; makefile: 509; asm: 159; csh: 54; xml: 33; sed: 4
file content (36 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (4)
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
# MKPKG file for the EXPORT task

$call update
$exit

update:
	$checkout libpkg.a ../
	$update   libpkg.a
	$checkin  libpkg.a ../
	;

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

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

	@generic			# compile the generic format code
	@bltins				# compile the builtin format code
	
	exbltins.x	exbltins.h export.h <mach.h>
	excmap.x	cmaps.inc export.h <lexnum.h>
	exhdr.x		export.h <error.h> <fset.h> <imhdr.h> \
				<imio.h> <mach.h> <time.h>
	expreproc.x	exfcn.h cmaps.inc export.h <ctype.h> <error.h>
	exrgb8.x	export.h <imhdr.h>
	exzscale.x	export.h <error.h> <evvexpr.h>
	t_export.x	export.h <ctype.h> <error.h> <evvexpr.h> \
				<fset.h> <imhdr.h> <mach.h>
	zzedbg.x	exbltins.h export.h <evvexpr.h>
	;