22 lines
552 B
Makefile
22 lines
552 B
Makefile
# $NetBSD: Makefile.backend,v 1.3 2001/12/12 01:49:01 tv Exp $
|
|
|
|
NOMAN= # defined
|
|
BINDIR= /usr/libexec
|
|
|
|
CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} \
|
|
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIBIBERTYOBJ!= cd ${.CURDIR}/../../../lib/libiberty && ${PRINTOBJDIR}
|
|
BACKENDOBJ!= cd ${.CURDIR}/../backend && ${PRINTOBJDIR}
|
|
|
|
DPADD= ${BACKENDOBJ}/libbackend.a ${LIBIBERTYOBJ}/libiberty.a
|
|
LDADD= -L${BACKENDOBJ} -lbackend -L${LIBIBERTYOBJ} -liberty
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
# Don't auto-frob .y or .l files.
|
|
.l.c .y.c .y.h:
|
|
@true
|