Makefile (cf4ee2c93375233319f03138af1a68340ab1380b) Makefile (f8c9c51988e57dae4e5df8781961261184815fe6)
1# $FreeBSD$
2
3PROG= ippool
1# $FreeBSD$
2
3PROG= ippool
4SRCS= ippool_y.c ippool_l.c kmem.c ippool.c
4SRCS= ${GENHDRS} ippool_y.c ippool_l.c kmem.c ippool.c
5MAN= ippool.5 ippool.8
6CFLAGS+= -I.
7
5MAN= ippool.5 ippool.8
6CFLAGS+= -I.
7
8DPSRCS+= ippool_l.h ippool_y.h
8GENHDRS= ippool_l.h ippool_y.h
9DPSRCS+= ${GENHDRS}
9
10
10CLEANFILES+= ippool_y.c ippool_y.h
11CLEANFILES+= ippool_l.c ippool_l.h
11CLEANFILES+= ${GENHDRS} ippool_y.c ippool_l.c
12
13ippool_y.c: ippool_y.y
14 ${YACC} -d ${.ALLSRC}
15 sed -e 's/yy/ippool_yy/g' \
16 -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
17 y.tab.c > ${.TARGET}
18 sed -e 's/yy/ippool_yy/g' \
19 y.tab.h > ${.TARGET:.c=.h}

--- 14 unchanged lines hidden ---
12
13ippool_y.c: ippool_y.y
14 ${YACC} -d ${.ALLSRC}
15 sed -e 's/yy/ippool_yy/g' \
16 -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \
17 y.tab.c > ${.TARGET}
18 sed -e 's/yy/ippool_yy/g' \
19 y.tab.h > ${.TARGET:.c=.h}

--- 14 unchanged lines hidden ---