1 # $NetBSD: Makefile,v 1.9 2008/10/25 22:27:39 apb Exp $
4 SRCS
= ippool_y.c ippool_l.c kmem.c ippool.c
6 MLINKS
= ippool
.5 ippool.conf
.5
9 DPSRCS
+= ippool_l.h ippool_y.h
11 CLEANFILES
+= ippool_y.c ippool_y.h
12 CLEANFILES
+= ippool_l.c ippool_l.h
14 ippool_y.c
: ippool_y.y
17 ${TOOL_SED} -e
's/yy/ippool_yy/g' \
18 -e
's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
20 ${TOOL_SED} -e
's/yy/ippool_yy/g' \
21 y.tab.h
> ${.TARGET
:.c
=.h
}
23 ippool_y.h
: ippool_y.c
27 ${TOOL_SED} -e
's/yy/ippool_yy/g' \
28 -e
's/y.tab.h/ippool_y.h/' \
29 -e
's/lexer.h/ippool_l.h/' \
30 ${.ALLSRC
} > ${.TARGET
}
34 ${TOOL_SED} -e
's/yy/ippool_yy/g' \
35 ${.ALLSRC
} > ${.TARGET
}
37 .
include <bsd.prog.mk
>