No empty .Rs/.Re
[netbsd-mini2440.git] / sys / dev / microcode / aic7xxx / Makefile
blob2be9b0f00659b38ef2ffe2cb5bb8da44b990f24f
1 # $NetBSD$
3 7XXX_SEQ= aic7xxx.seq
4 7XXX_SEQHDR= aic7xxx_seq.h
5 7XXX_REGHDR= aic7xxx_reg.h
7 79XX_SEQ= aic79xx.seq
8 79XX_SEQHDR= aic79xx_seq.h
9 79XX_REGHDR= aic79xx_reg.h
11 AICASMINCS=-I/usr/include -I${.CURDIR}/../../.. -I.
13 PROG= aicasm
15 SRCS= aicasm.c aicasm_symbol.c aicasm_scan.l aicasm_macro_scan.l \
16 aicasm_gram.y aicasm_macro_gram.y
18 YHEADER=1
20 DPADD+= ${LIBL} ${LIBY}
21 LDADD+= -ll -ly
23 NOSHARE=# defined
25 .include <bsd.prog.mk>
28 # XXXfvdl must come after the .include. Yes, it's ugly.
30 LFLAGS+= ${.TARGET:M*macro*:S/$(.TARGET)/-Pmm/}
31 YFLAGS+= ${.TARGET:M*macro*:S/$(.TARGET)/-p mm/}
33 regen: 7xxx_headers 79xx_headers
35 7xxx_headers: ${PROG} ${7XXX_SEQ}
36 ./${PROG} ${AICASMINCS} -o ${7XXX_SEQHDR} -r ${7XXX_REGHDR} ${7XXX_SEQ}
38 79xx_headers: ${PROG} ${79XX_SEQ}
39 ./${PROG} ${AICASMINCS} -o ${79XX_SEQHDR} -r ${79XX_REGHDR} ${79XX_SEQ}