Index: head/sys/dev/aic7xxx/Makefile =================================================================== --- head/sys/dev/aic7xxx/Makefile (revision 60982) +++ head/sys/dev/aic7xxx/Makefile (revision 60983) @@ -1,31 +1,31 @@ # $FreeBSD$ PROG= aicasm CSRCS= aicasm.c aicasm_symbol.c GENSRCS= aicasm_gram.c aicasm_scan.c GENHDRS= y.tab.h SRCS= ${GENSRCS} ${CSRCS} CLEANFILES+= ${GENSRCS} ${GENHDRS} y.output DPADD+= ${LIBL} LDADD+= -ll # Correct path for kernel builds # Don't rely on the kernel's .depend file .ifdef MAKESRCPATH .PATH: ${MAKESRCPATH} DEPENDFILE= .endif -CFLAGS+= -I/usr/include -I. +CFLAGS+= -nostdinc -I${.CURDIR}/../.. -I. -I/usr/include NOMAN= noman .ifdef DEBUG CFLAGS+= -DDEBUG -g YFLAGS+= -t LFLAGS+= -d .endif .include Index: head/sys/dev/aic7xxx/aicasm/Makefile =================================================================== --- head/sys/dev/aic7xxx/aicasm/Makefile (revision 60982) +++ head/sys/dev/aic7xxx/aicasm/Makefile (revision 60983) @@ -1,31 +1,31 @@ # $FreeBSD$ PROG= aicasm CSRCS= aicasm.c aicasm_symbol.c GENSRCS= aicasm_gram.c aicasm_scan.c GENHDRS= y.tab.h SRCS= ${GENSRCS} ${CSRCS} CLEANFILES+= ${GENSRCS} ${GENHDRS} y.output DPADD+= ${LIBL} LDADD+= -ll # Correct path for kernel builds # Don't rely on the kernel's .depend file .ifdef MAKESRCPATH .PATH: ${MAKESRCPATH} DEPENDFILE= .endif -CFLAGS+= -I/usr/include -I. +CFLAGS+= -nostdinc -I${.CURDIR}/../.. -I. -I/usr/include NOMAN= noman .ifdef DEBUG CFLAGS+= -DDEBUG -g YFLAGS+= -t LFLAGS+= -d .endif .include