Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcpcd/sbin/dhcpcd Add dhcpcd-embedded.h to DPS...



details:   https://anonhg.NetBSD.org/src/rev/c9d0b5c4b9b9
branches:  trunk
changeset: 823141:c9d0b5c4b9b9
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Apr 13 18:12:32 2017 +0000

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

diffstat:

 external/bsd/dhcpcd/sbin/dhcpcd/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r e5ae43723aa1 -r c9d0b5c4b9b9 external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Thu Apr 13 17:59:34 2017 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Thu Apr 13 18:12:32 2017 +0000
@@ -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+=         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.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



Home | Main Index | Thread Index | Old Index