1 # $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/aicasm/Makefile#2 $
3 # $FreeBSD: src/sys/dev/aic7xxx/aicasm/Makefile,v 1.8.2.5 2002/09/27 15:46:28 gibbs Exp $
7 CSRCS= aicasm.c aicasm_symbol.c
8 YSRCS= aicasm_gram.y aicasm_macro_gram.y
9 LSRCS= aicasm_scan.l aicasm_macro_scan.l
11 GENHDRS= aicasm_gram.h aicasm_macro_gram.h
13 SRCS= ${GENHDRS} ${CSRCS} ${YSRCS} ${LSRCS}
14 CLEANFILES+= ${GENHDRS} ${YSRCS:R:C/(.*)/\1.output/g}
18 # Correct path for kernel builds
19 # Don't rely on the kernel's .depend file
25 CFLAGS+= -nostdinc -I/usr/include -I.
27 CFLAGS+= -I${MAKESRCPATH}
30 YFLAGS= -b ${.TARGET:R} ${.TARGET:M*macro*:S/$(.TARGET)/-p mm/} -d
31 LFLAGS+= ${.TARGET:M*macro*:S/$(.TARGET)/-Pmm/}
39 .include <bsd.prog.mk>