[Midnightbsd-cvs] src [6510] trunk/apache/usr.sbin/dnsextd/Makefile: fix build by forcing move of generated header.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Dec 20 08:44:10 EST 2013


Revision: 6510
          http://svnweb.midnightbsd.org/src/?rev=6510
Author:   laffer1
Date:     2013-12-20 08:44:09 -0500 (Fri, 20 Dec 2013)
Log Message:
-----------
fix build by forcing move of generated header. bsd.dep.mk should be doing this for us

Modified Paths:
--------------
    trunk/apache/usr.sbin/dnsextd/Makefile

Modified: trunk/apache/usr.sbin/dnsextd/Makefile
===================================================================
--- trunk/apache/usr.sbin/dnsextd/Makefile	2013-12-20 02:27:42 UTC (rev 6509)
+++ trunk/apache/usr.sbin/dnsextd/Makefile	2013-12-20 13:44:09 UTC (rev 6510)
@@ -12,9 +12,8 @@
 SRCS+=	DNSDigest.c DNSCommon.c
 .PATH: ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
 SRCS+=	dnsextd.c mDNSDebug.c GenLinkedList.c \
-	PlatformCommon.c dnsextd_parser.y dnsextd_lexer.l \
-	CryptoAlg.c \
-	y.tab.h
+	PlatformCommon.c dnsextd_parser.y y.tab.h dnsextd_parser.h dnsextd_lexer.l \
+	CryptoAlg.c
 
 SRCDIRS= ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared \
 	${.CURDIR}/../../../contrib/mDNSResponder/mDNSPosix \
@@ -33,10 +32,14 @@
 .endif
 
 YFLAGS+=-v
-CLEANFILES= y.output
+CLEANFILES= y.output dnsextd_parser.h
 
 DPADD=	${LIBL} ${LIBPTHREAD}
 LDADD=	-ll -lpthread
 
+dnsextd_parser.h:
+	mv y.tab.h ${.TARGET}
+
+
 .include <bsd.prog.mk>
 



More information about the Midnightbsd-cvs mailing list