[Midnightbsd-cvs] src [11405] trunk/libexec/Makefile: fix makefile for build

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jul 6 21:09:33 EDT 2018


Revision: 11405
          http://svnweb.midnightbsd.org/src/?rev=11405
Author:   laffer1
Date:     2018-07-06 21:09:32 -0400 (Fri, 06 Jul 2018)
Log Message:
-----------
fix makefile for build

Modified Paths:
--------------
    trunk/libexec/Makefile

Modified: trunk/libexec/Makefile
===================================================================
--- trunk/libexec/Makefile	2018-07-07 01:05:42 UTC (rev 11404)
+++ trunk/libexec/Makefile	2018-07-07 01:09:32 UTC (rev 11405)
@@ -4,12 +4,11 @@
 
 .include <bsd.own.mk>
 
-SUBDIR=	${_atrun} \
-	bootpd \
+SUBDIR=	${_atf} \
+	${_atrun} \
 	${_comsat} \
-	fingerd \
-	ftpd \
 	getty \
+	${_hyperv} \
 	${_mail.local} \
 	${_makewhatis.local} \
 	${_mknetid} \
@@ -29,7 +28,6 @@
 	mport.version_cmp \
 	msearch.index \
 	${_pppoed} \
-	rbootd \
 	revnetgroup \
 	${_rlogind} \
 	rpc.rquotad \
@@ -41,10 +39,8 @@
 	${_rtld-elf} \
 	save-entropy \
 	${_smrsh} \
-	talkd \
-	tcpd \
 	${_telnetd} \
-	tftpd \
+	${_tests} \
 	${_tftp-proxy} \
 	ulog-helper \
 	${_ypxfr}
@@ -53,10 +49,30 @@
 _atrun=		atrun
 .endif
 
+.if ${MK_BOOTPD} != "no"
+SUBDIR+=	bootpd
+.endif
+
+.if ${MK_FINGER} != "no"
+SUBDIR+=	fingerd
+.endif
+
+.if ${MK_FTP} != "no"
+SUBDIR+=	ftpd
+.endif
+
 .if ${MK_MAIL} != "no"
 _comsat=	comsat
 .endif
 
+.if ${MK_HYPERV} != "no"
+_hyperv=	hyperv
+.endif
+
+.if ${MK_MAN_UTILS} != "no"
+_makewhatis.local=	makewhatis.local
+.endif
+
 .if ${MK_NIS} != "no"
 _mknetid=	mknetid
 _ypxfr=		ypxfr
@@ -74,6 +90,10 @@
 _rtld-elf=	rtld-elf
 .endif
 
+.if ${MK_RBOOTD} != "no"
+SUBDIR+=	rbootd
+.endif
+
 .if ${MK_RCMDS} != "no"
 _rlogind=	rlogind
 _rshd=		rshd
@@ -84,12 +104,25 @@
 _smrsh=		smrsh
 .endif
 
-.if ${MK_MAN_UTILS} != "no"
-_makewhatis.local=	makewhatis.local
+.if ${MK_TALK} != "no"
+SUBDIR+=	talkd
 .endif
 
+.if ${MK_TCP_WRAPPERS} != "no"
+SUBDIR+=	tcpd
+.endif
+
 .if ${MK_TELNET} != "no"
 _telnetd=	telnetd
 .endif
 
+.if ${MK_TFTP} != "no"
+SUBDIR+=	tftpd
+.endif
+
+.if ${MK_TESTS} != "no"
+_atf=		atf
+_tests=		tests
+.endif
+
 .include <bsd.subdir.mk>



More information about the Midnightbsd-cvs mailing list