Makefile (9a4365d0e0833374e893c519639bde71756aa104) Makefile (434d523b2d63281f9daf43fddcb5f009ac54800c)
1# Copyright (c) 1996 WIDE Project. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modifications, are permitted provided that the above copyright notice
5# and this paragraph are duplicated in all such forms and that any
6# documentation, advertising materials, and other materials related to
7# such distribution and use acknowledge that the software was developed
8# by the WIDE Project, Japan. The name of the Project may not be used to
9# endorse or promote products derived from this software without
10# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
11# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13# A PARTICULAR PURPOSE.
14# $FreeBSD$
15
16PROG= rrenumd
17SRCS= rrenumd.c parser.y lexer.l
18YFLAGS+= -d
19
1# Copyright (c) 1996 WIDE Project. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modifications, are permitted provided that the above copyright notice
5# and this paragraph are duplicated in all such forms and that any
6# documentation, advertising materials, and other materials related to
7# such distribution and use acknowledge that the software was developed
8# by the WIDE Project, Japan. The name of the Project may not be used to
9# endorse or promote products derived from this software without
10# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
11# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13# A PARTICULAR PURPOSE.
14# $FreeBSD$
15
16PROG= rrenumd
17SRCS= rrenumd.c parser.y lexer.l
18YFLAGS+= -d
19
20CC= gcc
21
22CFLAGS+= -DINET6 -DIPSEC -I${.OBJDIR}
20CFLAGS+= -DINET6 -DIPSEC -I${.OBJDIR}
23LDADD+= -lipsec -lcompat
24DPADD+= ${LIBIPSEC} ${LIBCOMPAT}
25LDADD+= -ll -ly
26DPADD+= ${LIBL} ${LIBY}
21LDADD+= -lipsec -lcompat -ll -ly
22DPADD+= ${LIBIPSEC} ${LIBCOMPAT} ${LIBL} ${LIBY}
27
28MAN5= rrenumd.conf.5
29MAN8= rrenumd.8
30
31SRCS+=y.tab.h
32y.tab.h: parser.y
33
34.if defined(YACCDEBUG)
35CFLAGS+= -DYYDEBUG
36YFLAGS+= -t -v
37.endif
38
39.include <bsd.prog.mk>
40
41CLEANFILES+= y.tab.h
23
24MAN5= rrenumd.conf.5
25MAN8= rrenumd.8
26
27SRCS+=y.tab.h
28y.tab.h: parser.y
29
30.if defined(YACCDEBUG)
31CFLAGS+= -DYYDEBUG
32YFLAGS+= -t -v
33.endif
34
35.include <bsd.prog.mk>
36
37CLEANFILES+= y.tab.h