Makefile (270168) | Makefile (288477) |
---|---|
1# $FreeBSD: head/sbin/ipf/ipftest/Makefile 270168 2014-08-19 15:04:32Z bdrewery $ | 1# $FreeBSD: head/sbin/ipf/ipftest/Makefile 288477 2015-10-02 07:00:43Z bdrewery $ |
2 3PROG= ipftest 4SRCS= ${GENHDRS} ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \ 5 ip_nat6.c \ 6 ip_proxy.c ip_auth.c ip_htable.c ip_lookup.c \ 7 ip_pool.c ip_scan.c ip_sync.c ip_rules.c \ 8 ip_fil.c ip_log.c ippool_y.c ippool_l.c ipf_y.c \ 9 ipf_l.c ipnat_y.c ipnat_l.c md5.c radix_ipf.c ip_dstlist.c --- 17 unchanged lines hidden (view full) --- 27CLEANFILES+= ${GENHDRS} 28CLEANFILES+= ipf_y.c ipf_l.c 29CLEANFILES+= ipf.tab.c ipf.tab.h 30CLEANFILES+= ipnat_y.c ipnat_l.c 31CLEANFILES+= ipnat.tab.c ipnat.tab.h 32CLEANFILES+= ippool_y.c ippool_l.c 33CLEANFILES+= ippool.tab.c ippool.tab.h 34 | 2 3PROG= ipftest 4SRCS= ${GENHDRS} ipftest.c fil.c ip_frag.c ip_state.c ip_nat.c \ 5 ip_nat6.c \ 6 ip_proxy.c ip_auth.c ip_htable.c ip_lookup.c \ 7 ip_pool.c ip_scan.c ip_sync.c ip_rules.c \ 8 ip_fil.c ip_log.c ippool_y.c ippool_l.c ipf_y.c \ 9 ipf_l.c ipnat_y.c ipnat_l.c md5.c radix_ipf.c ip_dstlist.c --- 17 unchanged lines hidden (view full) --- 27CLEANFILES+= ${GENHDRS} 28CLEANFILES+= ipf_y.c ipf_l.c 29CLEANFILES+= ipf.tab.c ipf.tab.h 30CLEANFILES+= ipnat_y.c ipnat_l.c 31CLEANFILES+= ipnat.tab.c ipnat.tab.h 32CLEANFILES+= ippool_y.c ippool_l.c 33CLEANFILES+= ippool.tab.c ippool.tab.h 34 |
35ipnat_y.c: ipnat_y.y | 35ipnat.tab.c ipnat.tab.h: ipnat_y.y |
36 ${YACC} -b ipnat -d ${.ALLSRC} | 36 ${YACC} -b ipnat -d ${.ALLSRC} |
37 38ipnat_y.c: ipnat.tab.c |
|
37 sed -e 's/yy/ipnat_yy/g' \ 38 -e 's/y.tab.c/ipnat_y.c/' \ 39 -e s/\"ipnat_y.y\"/\"..\\/tools\\/ipnat_y.y\"/ \ 40 ipnat.tab.c > ${.TARGET} | 39 sed -e 's/yy/ipnat_yy/g' \ 40 -e 's/y.tab.c/ipnat_y.c/' \ 41 -e s/\"ipnat_y.y\"/\"..\\/tools\\/ipnat_y.y\"/ \ 42 ipnat.tab.c > ${.TARGET} |
43 44ipnat_y.h: ipnat.tab.h |
|
41 sed -e 's/yy/ipnat_yy/g' \ 42 -e 's/y.tab.h/ipnat_y.h/' \ | 45 sed -e 's/yy/ipnat_yy/g' \ 46 -e 's/y.tab.h/ipnat_y.h/' \ |
43 ipnat.tab.h > ${.TARGET:.c=.h} | 47 ipnat.tab.h > ${.TARGET} |
44 45ipnat_y.h: ipnat_y.c 46 47ipnat_l.c: lexer.c 48 sed -e 's/yy/ipnat_yy/g' \ 49 -e 's/y.tab.h/ipnat_y.h/' \ 50 -e 's/lexer.h/ipnat_l.h/' \ 51 ${.ALLSRC} > ${.TARGET} 52 53ipnat_l.h: lexer.h 54 sed -e 's/yy/ipnat_yy/g' \ 55 ${.ALLSRC} > ${.TARGET} 56 | 48 49ipnat_y.h: ipnat_y.c 50 51ipnat_l.c: lexer.c 52 sed -e 's/yy/ipnat_yy/g' \ 53 -e 's/y.tab.h/ipnat_y.h/' \ 54 -e 's/lexer.h/ipnat_l.h/' \ 55 ${.ALLSRC} > ${.TARGET} 56 57ipnat_l.h: lexer.h 58 sed -e 's/yy/ipnat_yy/g' \ 59 ${.ALLSRC} > ${.TARGET} 60 |
57ippool_y.c: ippool_y.y | 61ippool.tab.c ippool.tab.h: ippool_y.y |
58 ${YACC} -b ippool -d ${.ALLSRC} | 62 ${YACC} -b ippool -d ${.ALLSRC} |
63 64ippool_y.c: ippool.tab.c |
|
59 sed -e 's/yy/ippool_yy/g' \ 60 -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \ 61 ippool.tab.c > ${.TARGET} | 65 sed -e 's/yy/ippool_yy/g' \ 66 -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/' \ 67 ippool.tab.c > ${.TARGET} |
68 69ippool_y.h: ippool.tab.h |
|
62 sed -e 's/yy/ippool_yy/g' \ | 70 sed -e 's/yy/ippool_yy/g' \ |
63 ippool.tab.h > ${.TARGET:.c=.h} | 71 ippool.tab.h > ${.TARGET} |
64 65ippool_y.h: ippool_y.c 66 67ippool_l.c: lexer.c 68 sed -e 's/yy/ippool_yy/g' \ 69 -e 's/y.tab.h/ippool_y.h/' \ 70 -e 's/lexer.h/ippool_l.h/' \ 71 ${.ALLSRC} > ${.TARGET} 72 73ippool_l.h: lexer.h 74 sed -e 's/yy/ippool_yy/g' \ 75 ${.ALLSRC} > ${.TARGET} 76 | 72 73ippool_y.h: ippool_y.c 74 75ippool_l.c: lexer.c 76 sed -e 's/yy/ippool_yy/g' \ 77 -e 's/y.tab.h/ippool_y.h/' \ 78 -e 's/lexer.h/ippool_l.h/' \ 79 ${.ALLSRC} > ${.TARGET} 80 81ippool_l.h: lexer.h 82 sed -e 's/yy/ippool_yy/g' \ 83 ${.ALLSRC} > ${.TARGET} 84 |
77ipf_y.c: ipf_y.y | 85ipf.tab.c ipf.tab.h: ipf_y.y |
78 ${YACC} -b ipf -d ${.ALLSRC} | 86 ${YACC} -b ipf -d ${.ALLSRC} |
87 88ipf_y.c: ipf.tab.c |
|
79 sed -e 's/yy/ipf_yy/g' \ 80 -e 's/"ipf_y.y"/"..\/tools\/ipf_y.y"/' \ 81 ipf.tab.c > ${.TARGET} | 89 sed -e 's/yy/ipf_yy/g' \ 90 -e 's/"ipf_y.y"/"..\/tools\/ipf_y.y"/' \ 91 ipf.tab.c > ${.TARGET} |
92 93ipf_y.h: ipf.tab.h |
|
82 sed -e 's/yy/ipf_yy/g' \ | 94 sed -e 's/yy/ipf_yy/g' \ |
83 ipf.tab.h > ${.TARGET:.c=.h} | 95 ipf.tab.h > ${.TARGET} |
84 85ipf_y.h: ipf_y.c 86 87ipf_l.c: lexer.c 88 sed -e 's/yy/ipf_yy/g' \ 89 -e 's/y.tab.h/ipf_y.h/' \ 90 -e 's/lexer.h/ipf_l.h/' \ 91 ${.ALLSRC} > ${.TARGET} 92 93ipf_l.h: lexer.h 94 sed -e 's/yy/ipf_yy/g' \ 95 ${.ALLSRC} > ${.TARGET} 96 97.include <bsd.prog.mk> | 96 97ipf_y.h: ipf_y.c 98 99ipf_l.c: lexer.c 100 sed -e 's/yy/ipf_yy/g' \ 101 -e 's/y.tab.h/ipf_y.h/' \ 102 -e 's/lexer.h/ipf_l.h/' \ 103 ${.ALLSRC} > ${.TARGET} 104 105ipf_l.h: lexer.h 106 sed -e 's/yy/ipf_yy/g' \ 107 ${.ALLSRC} > ${.TARGET} 108 109.include <bsd.prog.mk> |