Module Name:    src
Committed By:   roy
Date:           Thu Apr 13 18:12:32 UTC 2017

Modified Files:
        src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile

Log Message:
Add dhcpcd-embedded.h to DPSRCS to ensure it exists when generating 
dependencies.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.37 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.38
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.37	Sun Apr  2 20:17:11 2017
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile	Thu Apr 13 18:12:32 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2017/04/02 20:17:11 roy Exp $
+# $NetBSD: Makefile,v 1.38 2017/04/13 18:12:32 roy Exp $
 #
 
 WARNS?=		6
@@ -13,6 +13,9 @@ SRCS+=		if.c if-options.c route.c sa.c s
 SRCS+=		dhcp-common.c dhcpcd-embedded.c
 SRCS+=		if-bsd.c
 
+# Need to generate this for dependencies
+DPSRCS+=	dhcpcd-embedded.h
+
 CPPFLAGS+=	-DHAVE_CONFIG_H -D_OPENBSD_SOURCE
 
 USE_INET?=	yes
@@ -64,8 +67,6 @@ dhcpcd-embedded.h:	genembedh ${DHCPCD_DE
 dhcpcd-embedded.c:	genembedc ${DHCPCD_DEFS} dhcpcd-embedded.c.in
 	${HOST_SH} ${.ALLSRC} $^ > $@
 
-if-options.c:		dhcpcd-embedded.h
-
 CLEANFILES+=		dhcpcd-embedded.c dhcpcd-embedded.h
 
 .for f in dhcpcd.conf.5 dhcpcd.8

Reply via email to