diff options
author | rsc <devnull@localhost> | 2004-04-19 19:29:25 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-19 19:29:25 +0000 |
commit | a84cbb2a17c9d0b88c561d5b7cb50d79a19e7c46 (patch) | |
tree | 59a0e921597e5aa53e83d487c16727a7bf01547a /src/libmach/mkfile | |
parent | 0e3cc9f456ea49919459bf1164d0c8309a6134fa (diff) | |
download | plan9port-a84cbb2a17c9d0b88c561d5b7cb50d79a19e7c46.tar.gz plan9port-a84cbb2a17c9d0b88c561d5b7cb50d79a19e7c46.tar.bz2 plan9port-a84cbb2a17c9d0b88c561d5b7cb50d79a19e7c46.zip |
libmach
Diffstat (limited to 'src/libmach/mkfile')
-rw-r--r-- | src/libmach/mkfile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/libmach/mkfile b/src/libmach/mkfile new file mode 100644 index 00000000..a690a000 --- /dev/null +++ b/src/libmach/mkfile @@ -0,0 +1,58 @@ +<$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 |