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

LIB=libmach.a

OFILES=\
	$SYSNAME.$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\
	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\

HFILES=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

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