aboutsummaryrefslogtreecommitdiff
path: root/src/libmach/mkfile
blob: a6d6507e2ca4c6e73e26ebecbd6141558485793e (plain)
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
<$PLAN9/src/mkhdr

LIB=libmach.a

OFILES=\
	$SYSNAME.$O\
	cmdline.$O\
	crack.$O\
	crackelf.$O\
	crackmacho.$O\
	dwarf386.$O\
	dwarfabbrev.$O\
	dwarfaranges.$O\
	dwarfcfa.$O\
	dwarfget.$O\
	dwarfinfo.$O\
	dwarfopen.$O\
	dwarfpc.$O\
	dwarfpubnames.$O\
	elf.$O\
	elfdl386.$O\
	elfcorefreebsd386.$O\
	elfcorelinux386.$O\
	frame.$O\
	fpformat.$O\
	hexify.$O\
	ieee.$O\
	loc.$O\
	localaddr.$O\
	mach.$O\
	mach386.$O\
	macho.$O\
	machocorepower.$O\
	machpower.$O\
	map.$O\
	regs.$O\
	stabs.$O\
	swap.$O\
	sym.$O\
	symdwarf.$O\
	symelf.$O\
	symmacho.$O\
	symstabs.$O\
	ureg386.$O\

HFILES=$PLAN9/include/mach.h

<$PLAN9/src/mksyslib
CFLAGS=$CFLAGS -I.

elfdump: elfdump.o $LIBDIR/$LIB
	$LD -o $target $prereq -l9

machodump: machodump.o $LIBDIR/$LIB
	$LD -o $target $prereq -l9

dwarfdump: dwarfdump.o $LIBDIR/$LIB
	$LD -o $target $prereq -l9

nm: nm.o $LIBDIR/$LIB
	$LD -o $target $prereq -l9

t: t.o $LIBDIR/$LIB
	$LD -o $target $prereq -l9 -lthread_db

elfnm: elfnm.o $LIBDIR/$LIB
	$LD -o $target $prereq -l9


SunOS.$O: nosys.c
Darwin.$O: nosys.c
OpenBSD.$O: nosys.c
NetBSD.$O: nosys.c