1998-03-01 23:41:17 +00:00
|
|
|
#
|
1998-03-12 02:55:43 +00:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1998/03/01 23:41:05 jdp Exp $
|
1998-03-01 23:41:17 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
.include "../Makefile.inc0"
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}/binutils
|
|
|
|
|
|
|
|
LIB= binutils
|
1998-03-12 02:55:43 +00:00
|
|
|
SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
|
1998-03-01 23:41:17 +00:00
|
|
|
ieee.c rdcoff.c rddbg.c stabs.c wrstabs.c version.c
|
|
|
|
CFLAGS+= -DTARGET=\"${TARGET}\"
|
|
|
|
CFLAGS+= -DVERSION=\"${VERSION}\"
|
|
|
|
CFLAGS+= -I${SRCDIR}/binutils
|
|
|
|
CFLAGS+= -I${SRCDIR}/bfd
|
|
|
|
NOPROFILE= true
|
|
|
|
NOPIC= true
|
|
|
|
CLEANFILES+= arlex.c arparse.c arparse.h
|
|
|
|
|
|
|
|
beforedepend: arlex.c arparse.c arparse.h
|
|
|
|
|
|
|
|
arlex.o: arparse.h
|
|
|
|
|
|
|
|
arparse.c arparse.h: arparse.y
|
|
|
|
${YACC} -d -o arparse.c ${.IMPSRC}
|
|
|
|
|
|
|
|
# This rule is an attempt to cause "make -j" to work.
|
|
|
|
arparse.h: arparse.c
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|