mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
506f364029
FreeBSDlua ("flua") is a FreeBSD-private lua, flavored with whatever extensions we need for base system operations. We currently support a subset of lfs and lposix that are used in the rewrite of makesyscall.sh into lua, added in r354786. flua is intentionally written such that one can install standard lua and some set of lua modules from ports and achieve the same effect. linit_flua is a copy of linit.c from contrib/lua with lfs and lposix added in. This is similar to what we do in stand/. linit.c has been renamed to make it clear that this has flua-specific bits. luaconf has been slightly obfuscated to make extensions more difficult. Part of the problem is that flua is already hard enough to use as a bootstrap tool because it's not in PATH- attempting to do extension loading would require a special bootstrap version of flua with paths changed to protect the innocent. src.lua.mk has been added to make it easy for in-tree stuff to find flua, whether it's bootstrap-flua or relying on PATH frobbing by Makefile.inc1. Reviewed by: brooks, emaste (both earlier version), imp Differential Revision: https://reviews.freebsd.org/D21893
118 lines
1.6 KiB
Makefile
118 lines
1.6 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} \
|
|
${_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_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>
|