33 lines
795 B
Makefile
33 lines
795 B
Makefile
# $Id: Makefile,v 1.1 1994/01/28 16:38:22 pk Exp $
|
|
|
|
# Paths to libraries
|
|
#
|
|
LIBBFD!=cd $(.CURDIR)/../bfd; \
|
|
printf "xxx:\n\techo \$${.OBJDIR}/libbfd.a\n" | make -r -s -f - xxx
|
|
|
|
LIBIBERTY!=cd $(.CURDIR)/../libiberty; \
|
|
printf "xxx:\n\techo \$${.OBJDIR}/libiberty.a\n" | make -r -s -f - xxx
|
|
|
|
|
|
PROG= objdump
|
|
|
|
CFLAGS+= -I$(.CURDIR)/arch/$(MACHINE_ARCH) -I$(.CURDIR)/../bfd \
|
|
-I$(.CURDIR)/../include \
|
|
-I$(.CURDIR)/../bfd/arch/$(MACHINE_ARCH) \
|
|
-I$(.CURDIR)
|
|
|
|
CFLAGS+= -DVERSION=\"2.0\"
|
|
|
|
.PATH: $(.CURDIR)/arch/$(MACHINE_ARCH) \
|
|
$(.CURDIR)/../gdb/arch/$(MACHINE_ARCH)
|
|
|
|
SRCS= objdump.c bucomm.c filemode.c version.c
|
|
|
|
LDADD= $(LIBBFD) $(LIBIBERTY)
|
|
DPADD= $(LIBBFD) $(LIBIBERTY)
|
|
|
|
.include "$(.CURDIR)/arch/$(MACHINE_ARCH)/Makefile.inc"
|
|
.include "../../Makefile.inc"
|
|
.include <bsd.prog.mk>
|
|
|