freebsd-src/libexec/Makefile
Kyle Evans 6703731d6e phttpget: move out of portsnap
Currently, WITHOUT_PORTSNAP forces WITHOUT_FREEBSD_UPDATE because the
latter relies on phttpget, which lives inside the portsnap build bits.

Remove the dependency between these two options by moving phttpget out into
^/libexec and building/installing it if either WITH_PORTSNAP or
WITH_FREEBSD_UPDATE.

Future work could remove the conditional if it's decided that users will use
it independently of either the current in-base consumers.

Reported by:	swills
Reviewed by:	jilles, emaste
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D26255
2020-09-09 00:39:47 +00:00

123 lines
1.7 KiB
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
.include <src.opts.mk>
SUBDIR= ${_atf} \
${_atrun} \
${_blacklistd-helper} \
${_comsat} \
${_dma} \
flua \
getty \
${_mail.local} \
${_makewhatis.local} \
${_mknetid} \
${_phttpget} \
${_pppoed} \
rc \
revnetgroup \
${_rlogind} \
rpc.rquotad \
rpc.rstatd \
rpc.rusersd \
rpc.rwalld \
rpc.sprayd \
${_rshd} \
${_rtld-elf} \
save-entropy \
${_smrsh} \
${_telnetd} \
${_tests} \
${_tftp-proxy} \
ulog-helper \
${_ypxfr}
.if ${MK_AT} != "no"
_atrun= atrun
.endif
.if ${MK_BLACKLIST} != "no"
_blacklistd-helper+= blacklistd-helper
.endif
.if ${MK_BOOTPD} != "no"
SUBDIR+= bootpd
.endif
.if ${MK_FINGER} != "no"
SUBDIR+= fingerd
.endif
.if ${MK_FREEBSD_UPDATE} != "no" || ${MK_PORTSNAP} != "no"
_phttpget= phttpget
.endif
.if ${MK_FTP} != "no"
SUBDIR+= ftpd
.endif
.if ${MK_MAIL} != "no"
_comsat= comsat
.endif
.if ${MK_DMAGENT} != "no"
_dma= dma
.endif
.if ${MK_NIS} != "no"
_mknetid= mknetid
_ypxfr= ypxfr
.endif
.if ${MK_NETGRAPH} != "no"
_pppoed= pppoed
.endif
.if ${MK_PF} != "no"
_tftp-proxy= tftp-proxy
.endif
.if !defined(NO_PIC) && !defined(NO_RTLD)
_rtld-elf= rtld-elf
SUBDIR.${MK_LIB32}+= rtld-elf32
.endif
.if ${MK_RBOOTD} != "no"
SUBDIR+= rbootd
.endif
.if ${MK_SENDMAIL} != "no"
_mail.local= mail.local
_smrsh= smrsh
.endif
.if ${MK_MAN_UTILS} != "no"
_makewhatis.local= makewhatis.local
.endif
.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.arch.inc.mk>
.include <bsd.subdir.mk>