aboutsummaryrefslogtreecommitdiff
path: root/pkg/obsolete/mkpkg
blob: a321582e3bfd6eeaadb4a817da6bb5f8a9f1279b (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
# Make the OBSOLETE package.

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
	$update	libpkg.a
	$omake	x_obsolete.x
	$link	x_obsolete.o libpkg.a -lxtools -o xx_obsolete.e
	;

install:
	$move	xx_obsolete.e bin$x_obsolete.e
	;

generic:
	$set	GEN = "$$generic -k"

        $ifolder (generic/fixcol.x,  fixcol.gx)
	    $(GEN) fixcol.gx  -o generic/fixcol.x  $endif
        $ifolder (generic/fixline.x, fixline.gx)
	    $(GEN) fixline.gx -o generic/fixline.x $endif
        ;

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

	t_fixpix.x	<fset.h> <imhdr.h>
	t_imtitle.x	<imhdr.h>
	t_mkhgm.x	<gset.h> <mach.h>
	t_oimstat.x	<mach.h> <imhdr.h> "oimstat.h"
	t_radplt.x	<imhdr.h> <error.h> <mach.h> <gset.h>
	;