Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
This commit is contained in:
parent
23801379f0
commit
e1fe3dba5c
@ -2,20 +2,10 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
# Make command line options:
|
# Make command line options:
|
||||||
# -DNO_DYNAMICROOT do not link /bin and /sbin dynamically
|
|
||||||
# -DNO_KERBEROS Do not build Heimdal (Kerberos 5)
|
|
||||||
# -DNO_RESCUE do not build rescue binaries
|
|
||||||
# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
|
# -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
|
||||||
# -DNO_CLEAN do not clean at all
|
# -DNO_CLEAN do not clean at all
|
||||||
# -DNO_CRYPT will prevent building of crypt versions
|
|
||||||
# -DNO_MAN do not build the manual pages
|
|
||||||
# -DNO_NLS do not build Native Language Support files
|
|
||||||
# -DNO_PROFILE do not build profiled libraries
|
# -DNO_PROFILE do not build profiled libraries
|
||||||
# -DNO_GAMES do not go into games subdir
|
|
||||||
# -DNO_SHARE do not go into share subdir
|
# -DNO_SHARE do not go into share subdir
|
||||||
# -DNO_INFO do not make or install info files
|
|
||||||
# -DNO_LIBC_R do not build libc_r.
|
|
||||||
# -DNO_FORTRAN do not build g77 and related libraries.
|
|
||||||
# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
|
# -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
|
||||||
# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
|
# -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
|
||||||
# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel
|
# -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel
|
||||||
@ -34,6 +24,8 @@
|
|||||||
# /usr/share/mk. These include:
|
# /usr/share/mk. These include:
|
||||||
# obj depend all install clean cleandepend cleanobj
|
# obj depend all install clean cleandepend cleanobj
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# We must do share/info early so that installation of info `dir'
|
# We must do share/info early so that installation of info `dir'
|
||||||
# entries works correctly. Do it first since it is less likely to
|
# entries works correctly. Do it first since it is less likely to
|
||||||
# grow dependencies on include and lib than vice versa.
|
# grow dependencies on include and lib than vice versa.
|
||||||
@ -46,18 +38,18 @@
|
|||||||
# We must do etc last for install/distribute to work.
|
# We must do etc last for install/distribute to work.
|
||||||
#
|
#
|
||||||
SUBDIR= share/info include lib libexec bin
|
SUBDIR= share/info include lib libexec bin
|
||||||
.if !defined(NO_GAMES)
|
.if ${MK_GAMES} != "no"
|
||||||
SUBDIR+=games
|
SUBDIR+=games
|
||||||
.endif
|
.endif
|
||||||
SUBDIR+=gnu
|
SUBDIR+=gnu
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_KERBEROS} != "no"
|
||||||
SUBDIR+=kerberos5
|
SUBDIR+=kerberos5
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_RESCUE)
|
.if ${MK_RESCUE} != "no"
|
||||||
SUBDIR+=rescue
|
SUBDIR+=rescue
|
||||||
.endif
|
.endif
|
||||||
SUBDIR+=sbin
|
SUBDIR+=sbin
|
||||||
.if !defined(NO_CRYPT)
|
.if ${MK_CRYPT} != "no"
|
||||||
SUBDIR+=secure
|
SUBDIR+=secure
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_SHARE)
|
.if !defined(NO_SHARE)
|
||||||
@ -186,8 +178,9 @@ BMAKE= MAKEOBJDIRPREFIX=${WORLDTMP} \
|
|||||||
${BMAKEENV} ${MAKE} -f Makefile.inc1 \
|
${BMAKEENV} ${MAKE} -f Makefile.inc1 \
|
||||||
DESTDIR= \
|
DESTDIR= \
|
||||||
BOOTSTRAPPING=${OSRELDATE} \
|
BOOTSTRAPPING=${OSRELDATE} \
|
||||||
-DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC \
|
-DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN \
|
||||||
-DNO_PROFILE -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS
|
-DWITHOUT_NLS -DNO_PIC -DNO_PROFILE -DNO_SHARED \
|
||||||
|
-DNO_CPU_CFLAGS -DNO_WARNS
|
||||||
|
|
||||||
# build-tools stage
|
# build-tools stage
|
||||||
TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
|
TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
|
||||||
@ -196,7 +189,8 @@ TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \
|
|||||||
BOOTSTRAPPING=${OSRELDATE} -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS
|
BOOTSTRAPPING=${OSRELDATE} -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS
|
||||||
|
|
||||||
# cross-tools stage
|
# cross-tools stage
|
||||||
XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} -DNO_FORTRAN -DNO_GDB
|
XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} \
|
||||||
|
-DWITHOUT_FORTRAN -DWITHOUT_GDB
|
||||||
|
|
||||||
# world stage
|
# world stage
|
||||||
WMAKEENV= ${CROSSENV} \
|
WMAKEENV= ${CROSSENV} \
|
||||||
@ -241,7 +235,8 @@ LIB32MAKEENV= MAKEOBJDIRPREFIX=${OBJTREE}/lib32 \
|
|||||||
SHLIBDIR=/usr/lib32
|
SHLIBDIR=/usr/lib32
|
||||||
|
|
||||||
LIB32MAKE= ${LIB32MAKEENV} ${MAKE} -DNO_CPU_CFLAGS -DCOMPAT_32BIT \
|
LIB32MAKE= ${LIB32MAKEENV} ${MAKE} -DNO_CPU_CFLAGS -DCOMPAT_32BIT \
|
||||||
-DNO_BIND -DNO_MAN -DNO_NLS -DNO_INFO -DNO_HTML
|
-DWITHOUT_BIND -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_INFO \
|
||||||
|
-DWITHOUT_HTML
|
||||||
LIB32IMAKE= ${LIB32MAKE:NINSTALL=*} -DNO_INCS
|
LIB32IMAKE= ${LIB32MAKE:NINSTALL=*} -DNO_INCS
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -318,7 +313,7 @@ _worldtmp:
|
|||||||
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
|
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
|
||||||
-p ${WORLDTMP}/usr/include >/dev/null
|
-p ${WORLDTMP}/usr/include >/dev/null
|
||||||
ln -sf ${.CURDIR}/sys ${WORLDTMP}
|
ln -sf ${.CURDIR}/sys ${WORLDTMP}
|
||||||
.if defined(WITH_BIND_LIBS) && !defined(NO_BIND)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
mtree -deU -f ${.CURDIR}/etc/mtree/BIND.include.dist \
|
mtree -deU -f ${.CURDIR}/etc/mtree/BIND.include.dist \
|
||||||
-p ${WORLDTMP}/usr/include >/dev/null
|
-p ${WORLDTMP}/usr/include >/dev/null
|
||||||
.endif
|
.endif
|
||||||
@ -375,8 +370,8 @@ _libraries:
|
|||||||
@echo ">>> stage 4.2: building libraries"
|
@echo ">>> stage 4.2: building libraries"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
${_+_}cd ${.CURDIR}; \
|
${_+_}cd ${.CURDIR}; \
|
||||||
${WMAKE} -DNO_FSCHG -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN \
|
${WMAKE} -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT \
|
||||||
-DNO_NLS -DNO_PROFILE libraries
|
-DWITHOUT_MAN -DWITHOUT_NLS -DNO_PROFILE libraries
|
||||||
_depend:
|
_depend:
|
||||||
@echo
|
@echo
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@ -405,7 +400,7 @@ build32:
|
|||||||
-p ${LIB32TMP}/usr/include >/dev/null
|
-p ${LIB32TMP}/usr/include >/dev/null
|
||||||
mkdir -p ${WORLDTMP}
|
mkdir -p ${WORLDTMP}
|
||||||
ln -sf ${.CURDIR}/sys ${WORLDTMP}
|
ln -sf ${.CURDIR}/sys ${WORLDTMP}
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_KERBEROS} != "no"
|
||||||
.for _t in obj depend all
|
.for _t in obj depend all
|
||||||
cd ${.CURDIR}/kerberos5/tools; \
|
cd ${.CURDIR}/kerberos5/tools; \
|
||||||
MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} DESTDIR= ${_t}
|
MAKEOBJDIRPREFIX=${OBJTREE}/lib32 ${MAKE} DESTDIR= ${_t}
|
||||||
@ -418,11 +413,11 @@ build32:
|
|||||||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||||
cd ${.CURDIR}/gnu/lib; \
|
cd ${.CURDIR}/gnu/lib; \
|
||||||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||||
.if !defined(NO_CRYPT)
|
.if ${MK_CRYPT} != "no"
|
||||||
cd ${.CURDIR}/secure/lib; \
|
cd ${.CURDIR}/secure/lib; \
|
||||||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_KERBEROS} != "no"
|
||||||
cd ${.CURDIR}/kerberos5/lib; \
|
cd ${.CURDIR}/kerberos5/lib; \
|
||||||
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
${LIB32MAKE} DESTDIR=${LIB32TMP} ${_t}
|
||||||
.endif
|
.endif
|
||||||
@ -450,7 +445,7 @@ distribute32 install32:
|
|||||||
.endif
|
.endif
|
||||||
cd ${.CURDIR}/lib; ${LIB32IMAKE} ${.TARGET:S/32$//}
|
cd ${.CURDIR}/lib; ${LIB32IMAKE} ${.TARGET:S/32$//}
|
||||||
cd ${.CURDIR}/gnu/lib; ${LIB32IMAKE} ${.TARGET:S/32$//}
|
cd ${.CURDIR}/gnu/lib; ${LIB32IMAKE} ${.TARGET:S/32$//}
|
||||||
.if !defined(NO_CRYPT)
|
.if ${MK_CRYPT} != "no"
|
||||||
cd ${.CURDIR}/secure/lib; ${LIB32IMAKE} ${.TARGET:S/32$//}
|
cd ${.CURDIR}/secure/lib; ${LIB32IMAKE} ${.TARGET:S/32$//}
|
||||||
.endif
|
.endif
|
||||||
cd ${.CURDIR}/libexec/rtld-elf; PROG=ld-elf32.so.1 ${LIB32IMAKE} ${.TARGET:S/32$//}
|
cd ${.CURDIR}/libexec/rtld-elf; PROG=ld-elf32.so.1 ${LIB32IMAKE} ${.TARGET:S/32$//}
|
||||||
@ -507,11 +502,11 @@ installcheck_DESTDIR:
|
|||||||
#
|
#
|
||||||
CHECK_UIDS=
|
CHECK_UIDS=
|
||||||
CHECK_GIDS= audit
|
CHECK_GIDS= audit
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
CHECK_UIDS+= smmsp
|
CHECK_UIDS+= smmsp
|
||||||
CHECK_GIDS+= smmsp
|
CHECK_GIDS+= smmsp
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_PF)
|
.if ${MK_PF} != "no"
|
||||||
CHECK_UIDS+= proxy
|
CHECK_UIDS+= proxy
|
||||||
CHECK_GIDS+= proxy authpf
|
CHECK_GIDS+= proxy authpf
|
||||||
.endif
|
.endif
|
||||||
@ -782,11 +777,11 @@ legacy:
|
|||||||
#
|
#
|
||||||
# bootstrap-tools: Build tools needed for compatibility
|
# bootstrap-tools: Build tools needed for compatibility
|
||||||
#
|
#
|
||||||
.if !defined(NO_GAMES)
|
.if ${MK_GAMES} != "no"
|
||||||
_strfile= games/fortune/strfile
|
_strfile= games/fortune/strfile
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CXX)
|
.if ${MK_CXX} != "no"
|
||||||
_gperf= gnu/usr.bin/gperf
|
_gperf= gnu/usr.bin/gperf
|
||||||
.if ${BOOTSTRAPPING} < 700004
|
.if ${BOOTSTRAPPING} < 700004
|
||||||
_groff= gnu/usr.bin/groff
|
_groff= gnu/usr.bin/groff
|
||||||
@ -815,7 +810,7 @@ _gencat= usr.bin/gencat
|
|||||||
_mklocale= usr.bin/mklocale
|
_mklocale= usr.bin/mklocale
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_RESCUE) && \
|
.if ${MK_RESCUE} != "no" && \
|
||||||
${BOOTSTRAPPING} < 600008
|
${BOOTSTRAPPING} < 600008
|
||||||
_crunchgen= usr.sbin/crunch/crunchgen
|
_crunchgen= usr.sbin/crunch/crunchgen
|
||||||
.endif
|
.endif
|
||||||
@ -865,11 +860,11 @@ _aicasm= sys/modules/aic7xxx/aicasm
|
|||||||
_share= share/syscons/scrnmaps
|
_share= share/syscons/scrnmaps
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_KERBEROS} != "no"
|
||||||
_kerberos5_tools= kerberos5/tools
|
_kerberos5_tools= kerberos5/tools
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_RESCUE)
|
.if ${MK_RESCUE} != "no"
|
||||||
_rescue= rescue/rescue
|
_rescue= rescue/rescue
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -906,7 +901,7 @@ build-tools:
|
|||||||
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386"
|
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386"
|
||||||
_btxld= usr.sbin/btxld
|
_btxld= usr.sbin/btxld
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_RESCUE) || defined(RELEASEDIR)
|
.if ${MK_RESCUE} != "no" || defined(RELEASEDIR)
|
||||||
_crunchide= usr.sbin/crunch/crunchide
|
_crunchide= usr.sbin/crunch/crunchide
|
||||||
.endif
|
.endif
|
||||||
.if ${TARGET_ARCH} == "alpha"
|
.if ${TARGET_ARCH} == "alpha"
|
||||||
@ -969,7 +964,7 @@ _prebuild_libs=
|
|||||||
|
|
||||||
_generic_libs= gnu/lib
|
_generic_libs= gnu/lib
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_KERBEROS} != "no"
|
||||||
_prebuild_libs+= kerberos5/lib/libasn1
|
_prebuild_libs+= kerberos5/lib/libasn1
|
||||||
_prebuild_libs+= kerberos5/lib/libkrb5
|
_prebuild_libs+= kerberos5/lib/libkrb5
|
||||||
_prebuild_libs+= kerberos5/lib/libroken
|
_prebuild_libs+= kerberos5/lib/libroken
|
||||||
@ -987,14 +982,14 @@ lib/libopie__L lib/libtacplus__L: lib/libmd__L
|
|||||||
|
|
||||||
_generic_libs+= lib
|
_generic_libs+= lib
|
||||||
|
|
||||||
.if !defined(NO_CRYPT)
|
.if ${MK_CRYPT} != "no"
|
||||||
.if !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
_prebuild_libs+= secure/lib/libcrypto secure/lib/libssl
|
_prebuild_libs+= secure/lib/libcrypto secure/lib/libssl
|
||||||
lib/libradius__L secure/lib/libssl__L: secure/lib/libcrypto__L
|
lib/libradius__L secure/lib/libssl__L: secure/lib/libcrypto__L
|
||||||
.if !defined(NO_OPENSSH)
|
.if ${MK_OPENSSH} != "no"
|
||||||
_prebuild_libs+= secure/lib/libssh
|
_prebuild_libs+= secure/lib/libssh
|
||||||
secure/lib/libssh__L: lib/libz__L secure/lib/libcrypto__L lib/libcrypt__L
|
secure/lib/libssh__L: lib/libz__L secure/lib/libcrypto__L lib/libcrypt__L
|
||||||
.if !defined(NO_KERBEROS)
|
.if ${MK_KERBEROS} != "no"
|
||||||
secure/lib/libssh__L: lib/libgssapi__L
|
secure/lib/libssh__L: lib/libgssapi__L
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
@ -1002,11 +997,11 @@ secure/lib/libssh__L: lib/libgssapi__L
|
|||||||
_generic_libs+= secure/lib
|
_generic_libs+= secure/lib
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(NO_CRYPT) || defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} == "no"
|
||||||
lib/libradius__L: lib/libmd__L
|
lib/libradius__L: lib/libmd__L
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
_prebuild_libs+= lib/libypclnt
|
_prebuild_libs+= lib/libypclnt
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
|
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= cat \
|
SUBDIR= cat \
|
||||||
chflags \
|
chflags \
|
||||||
chio \
|
chio \
|
||||||
@ -37,15 +39,15 @@ SUBDIR= cat \
|
|||||||
sync \
|
sync \
|
||||||
test
|
test
|
||||||
|
|
||||||
.if !defined(NO_RCMDS)
|
.if ${MK_RCMDS} != "no"
|
||||||
_rcp= rcp
|
_rcp= rcp
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
_rmail= rmail
|
_rmail= rmail
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_TCSH)
|
.if ${MK_TCSH} != "no"
|
||||||
_csh= csh
|
_csh= csh
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
|
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BINDIR?= /bin
|
BINDIR?= /bin
|
||||||
WARNS?= 6
|
WARNS?= 6
|
||||||
|
|
||||||
.if defined(NO_DYNAMICROOT)
|
.if ${MK_DYNAMICROOT} == "no"
|
||||||
NO_SHARED?= YES
|
NO_SHARED?= YES
|
||||||
.endif
|
.endif
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
#
|
#
|
||||||
# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile.
|
# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile.
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
TCSHDIR= ${.CURDIR}/../../contrib/tcsh
|
TCSHDIR= ${.CURDIR}/../../contrib/tcsh
|
||||||
.PATH: ${TCSHDIR}
|
.PATH: ${TCSHDIR}
|
||||||
|
|
||||||
@ -45,7 +47,7 @@ LINKS= ${BINDIR}/csh ${BINDIR}/tcsh
|
|||||||
|
|
||||||
CLEANFILES= ${GENHDRS} gethost csh.1
|
CLEANFILES= ${GENHDRS} gethost csh.1
|
||||||
|
|
||||||
.if !defined(NO_EXAMPLES)
|
.if ${MK_EXAMPLES} != "no"
|
||||||
FILESDIR= ${SHAREDIR}/examples/tcsh
|
FILESDIR= ${SHAREDIR}/examples/tcsh
|
||||||
FILES= complete.tcsh csh-mode.el
|
FILES= complete.tcsh csh-mode.el
|
||||||
.endif
|
.endif
|
||||||
@ -70,7 +72,7 @@ NLSLINKS_de_DE.ISO8859-1= de_AT.ISO8859-1 de_AT.ISO8859-15 de_CH.ISO8859-1 \
|
|||||||
NLSLINKS_it_IT.ISO8859-1= it_CH.ISO8859-1 it_CH.ISO8859-15 it_IT.ISO8859-15
|
NLSLINKS_it_IT.ISO8859-1= it_CH.ISO8859-1 it_CH.ISO8859-15 it_IT.ISO8859-15
|
||||||
NLSLINKS_es_ES.ISO8859-1= es_ES.ISO8859-15
|
NLSLINKS_es_ES.ISO8859-1= es_ES.ISO8859-15
|
||||||
|
|
||||||
.if defined(NO_NLS_CATALOGS) || defined(RESCUE)
|
.if ${MK_NLS_CATALOGS} == "no" || defined(RESCUE)
|
||||||
CFLAGS+= -DNO_NLS_CATALOGS
|
CFLAGS+= -DNO_NLS_CATALOGS
|
||||||
.else
|
.else
|
||||||
CFLAGS+= -DHAVE_ICONV
|
CFLAGS+= -DHAVE_ICONV
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= ed
|
PROG= ed
|
||||||
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
|
||||||
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
LINKS= ${BINDIR}/ed ${BINDIR}/red
|
||||||
MLINKS= ed.1 red.1
|
MLINKS= ed.1 red.1
|
||||||
|
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
CFLAGS+=-DDES
|
CFLAGS+=-DDES
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
DPADD= ${LIBCRYPTO}
|
DPADD= ${LIBCRYPTO}
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
Note that we intentionally disable IPv6 support on the configure
|
Note that we intentionally disable IPv6 support on the configure
|
||||||
command line; src/lib/bind/config.mk will re-enable it at compile
|
command line; src/lib/bind/config.mk will re-enable it at compile
|
||||||
time if NO_INET6 is not defined.
|
time if WITHOUT_INET6 is not defined.
|
||||||
|
|
||||||
8) Copy the following generated files to src/lib/bind and commit them:
|
8) Copy the following generated files to src/lib/bind and commit them:
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
Note that we don't want to configure OpenSSH for Kerberos using
|
Note that we don't want to configure OpenSSH for Kerberos using
|
||||||
configure since we have to be able to turn it on or off depending
|
configure since we have to be able to turn it on or off depending
|
||||||
on the value of NO_KERBEROS. Our Makefiles take care of this.
|
on the value of MK_KERBEROS. Our Makefiles take care of this.
|
||||||
|
|
||||||
8) Commit the resulting config.h. Make sure you don't accidentally
|
8) Commit the resulting config.h. Make sure you don't accidentally
|
||||||
commit any other files created by autoconf, autoheader or
|
commit any other files created by autoconf, autoheader or
|
||||||
|
46
etc/Makefile
46
etc/Makefile
@ -1,7 +1,9 @@
|
|||||||
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
|
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.if !defined(NO_SENDMAIL)
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
.if ${MK_SENDMAIL} != "no"
|
||||||
SUBDIR= sendmail
|
SUBDIR= sendmail
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -29,16 +31,16 @@ BSM_ETC_RESTRICTED_FILES= ${OPENBSMDIR}/etc/audit_control \
|
|||||||
BSM_ETC_EXEC_FILES= ${OPENBSMDIR}/etc/audit_warn
|
BSM_ETC_EXEC_FILES= ${OPENBSMDIR}/etc/audit_warn
|
||||||
BSM_ETC_DIR= ${DESTDIR}/etc/security
|
BSM_ETC_DIR= ${DESTDIR}/etc/security
|
||||||
|
|
||||||
.if !defined(NO_LPR)
|
.if ${MK_LPR} != "no"
|
||||||
BIN1+= printcap
|
BIN1+= printcap
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSH} != "no"
|
||||||
.if !defined(NO_OPENSSH)
|
|
||||||
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
|
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
|
||||||
${.CURDIR}/../crypto/openssh/sshd_config \
|
${.CURDIR}/../crypto/openssh/sshd_config \
|
||||||
${.CURDIR}/../crypto/openssh/moduli
|
${.CURDIR}/../crypto/openssh/moduli
|
||||||
.endif
|
.endif
|
||||||
|
.if ${MK_OPENSSL} != "no"
|
||||||
SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf
|
SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -47,24 +49,24 @@ BIN2= netstart pccard_ether rc.suspend rc.resume
|
|||||||
|
|
||||||
MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \
|
MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \
|
||||||
BSD.var.dist BSD.x11.dist BSD.x11-4.dist
|
BSD.var.dist BSD.x11.dist BSD.x11-4.dist
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
MTREE+= BSD.sendmail.dist
|
MTREE+= BSD.sendmail.dist
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_BIND)
|
.if ${MK_BIND} != "no"
|
||||||
MTREE+= BIND.chroot.dist
|
MTREE+= BIND.chroot.dist
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
MTREE+= BIND.include.dist
|
MTREE+= BIND.include.dist
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_BIND_ETC) && !defined(NO_BIND)
|
.if ${MK_BIND_ETC} != "no"
|
||||||
NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \
|
NAMEDB= PROTO.localhost.rev PROTO.localhost-v6.rev named.conf named.root \
|
||||||
make-localhost
|
make-localhost
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
PPPCNF= ppp.conf
|
PPPCNF= ppp.conf
|
||||||
|
|
||||||
.if defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} == "no"
|
||||||
ETCMAIL=mailer.conf aliases
|
ETCMAIL=mailer.conf aliases
|
||||||
.else
|
.else
|
||||||
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
|
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
|
||||||
@ -75,7 +77,7 @@ ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \
|
|||||||
FREEBSD=COPYRIGHT
|
FREEBSD=COPYRIGHT
|
||||||
|
|
||||||
afterinstall:
|
afterinstall:
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
cd ${.CURDIR}/../share/man; ${MAKE} makedb
|
cd ${.CURDIR}/../share/man; ${MAKE} makedb
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -125,21 +127,21 @@ distribution:
|
|||||||
${BSM_ETC_RESTRICTED_FILES} ${BSM_ETC_DIR}
|
${BSM_ETC_RESTRICTED_FILES} ${BSM_ETC_DIR}
|
||||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0500 \
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 0500 \
|
||||||
${BSM_ETC_EXEC_FILES} ${BSM_ETC_DIR}
|
${BSM_ETC_EXEC_FILES} ${BSM_ETC_DIR}
|
||||||
.if !defined(NO_I4B)
|
.if ${MK_I4B} != "no"
|
||||||
cd ${.CURDIR}/isdn; ${MAKE} install
|
cd ${.CURDIR}/isdn; ${MAKE} install
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
cd ${.CURDIR}/sendmail; ${MAKE} distribution
|
cd ${.CURDIR}/sendmail; ${MAKE} distribution
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSH} != "no"
|
||||||
.if !defined(NO_OPENSSH)
|
|
||||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
${SSH} ${DESTDIR}/etc/ssh
|
${SSH} ${DESTDIR}/etc/ssh
|
||||||
.endif
|
.endif
|
||||||
|
.if ${MK_OPENSSL} != "no"
|
||||||
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
${SSL} ${DESTDIR}/etc/ssl
|
${SSL} ${DESTDIR}/etc/ssl
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_KERBEROS)
|
.if ${MK_KERBEROS} != "no"
|
||||||
cd ${.CURDIR}/root; \
|
cd ${.CURDIR}/root; \
|
||||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
dot.k5login ${DESTDIR}/root/.k5login;
|
dot.k5login ${DESTDIR}/root/.k5login;
|
||||||
@ -156,17 +158,15 @@ distribution:
|
|||||||
ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile
|
ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile
|
||||||
cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
cd ${.CURDIR}/mtree; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||||
${MTREE} ${DESTDIR}/etc/mtree
|
${MTREE} ${DESTDIR}/etc/mtree
|
||||||
.if !defined(NO_BIND)
|
.if ${MK_BIND_ETC} != "no"
|
||||||
.if !defined(NO_BIND_ETC)
|
|
||||||
cd ${.CURDIR}/namedb; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
cd ${.CURDIR}/namedb; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||||
${NAMEDB} ${DESTDIR}/var/named/etc/namedb
|
${NAMEDB} ${DESTDIR}/var/named/etc/namedb
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_BIND_MTREE)
|
.if ${MK_BIND_MTREE} != "no"
|
||||||
@if [ ! -e ${DESTDIR}/etc/namedb ]; then \
|
@if [ ! -e ${DESTDIR}/etc/namedb ]; then \
|
||||||
set -x; \
|
set -x; \
|
||||||
ln -s ../var/named/etc/namedb ${DESTDIR}/etc/namedb; \
|
ln -s ../var/named/etc/namedb ${DESTDIR}/etc/namedb; \
|
||||||
fi
|
fi
|
||||||
.endif
|
|
||||||
.endif
|
.endif
|
||||||
cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
||||||
${PPPCNF} ${DESTDIR}/etc/ppp
|
${PPPCNF} ${DESTDIR}/etc/ppp
|
||||||
@ -195,17 +195,15 @@ distrib-dirs:
|
|||||||
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
|
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.usr.dist -p ${DESTDIR}/usr
|
||||||
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
|
mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.include.dist \
|
||||||
-p ${DESTDIR}/usr/include
|
-p ${DESTDIR}/usr/include
|
||||||
.if !defined(NO_BIND)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
.if defined(WITH_BIND_LIBS)
|
|
||||||
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.include.dist \
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.include.dist \
|
||||||
-p ${DESTDIR}/usr/include
|
-p ${DESTDIR}/usr/include
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_BIND_MTREE)
|
.if ${MK_BIND_MTREE} != "no"
|
||||||
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.chroot.dist \
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BIND.chroot.dist \
|
||||||
-p ${DESTDIR}/var/named
|
-p ${DESTDIR}/var/named
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.if ${MK_SENDMAIL} != "no"
|
||||||
.if !defined(NO_SENDMAIL)
|
|
||||||
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.sendmail.dist -p ${DESTDIR}/
|
||||||
.endif
|
.endif
|
||||||
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
|
cd ${DESTDIR}/; rm -f ${DESTDIR}/sys; ln -s usr/src/sys sys
|
||||||
|
@ -37,7 +37,7 @@ ALL : PARANOID : RFC931 20 : deny
|
|||||||
# Allow anything from localhost. Note that an IP address (not a host
|
# Allow anything from localhost. Note that an IP address (not a host
|
||||||
# name) *MUST* be specified for rpcbind(8).
|
# name) *MUST* be specified for rpcbind(8).
|
||||||
ALL : localhost 127.0.0.1 : allow
|
ALL : localhost 127.0.0.1 : allow
|
||||||
# Comment out next line if you build libwrap with NO_INET6=yes.
|
# Comment out next line if you build libwrap without IPv6 support.
|
||||||
ALL : [::1] : allow
|
ALL : [::1] : allow
|
||||||
ALL : my.machine.example.com 192.0.2.35 : allow
|
ALL : my.machine.example.com 192.0.2.35 : allow
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
FILES= ${_BIND.chroot.dist} \
|
FILES= ${_BIND.chroot.dist} \
|
||||||
${_BIND.include.dist} \
|
${_BIND.include.dist} \
|
||||||
BSD.include.dist \
|
BSD.include.dist \
|
||||||
@ -10,9 +12,9 @@ FILES= ${_BIND.chroot.dist} \
|
|||||||
BSD.x11-4.dist \
|
BSD.x11-4.dist \
|
||||||
BSD.x11.dist
|
BSD.x11.dist
|
||||||
|
|
||||||
.if !defined(NO_BIND)
|
.if ${MK_BIND} != "no"
|
||||||
_BIND.chroot.dist= BIND.chroot.dist
|
_BIND.chroot.dist= BIND.chroot.dist
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
_BIND.include.dist= BIND.include.dist
|
_BIND.include.dist= BIND.include.dist
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# $NetBSD: Makefile,v 1.16 2001/01/14 15:37:22 minoura Exp $
|
# $NetBSD: Makefile,v 1.16 2001/01/14 15:37:22 minoura Exp $
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
FILES= DAEMON LOGIN NETWORKING SERVERS \
|
FILES= DAEMON LOGIN NETWORKING SERVERS \
|
||||||
abi accounting addswap adjkerntz amd \
|
abi accounting addswap adjkerntz amd \
|
||||||
apm apmd archdep atm1 atm2 atm3 auditd \
|
apm apmd archdep atm1 atm2 atm3 auditd \
|
||||||
@ -41,7 +43,7 @@ FILES= DAEMON LOGIN NETWORKING SERVERS \
|
|||||||
ypbind yppasswdd ypserv \
|
ypbind yppasswdd ypserv \
|
||||||
ypset ypupdated ypxfrd
|
ypset ypupdated ypxfrd
|
||||||
|
|
||||||
.if !defined(NO_OPENSSH)
|
.if ${MK_OPENSSH} != "no"
|
||||||
FILES+= sshd
|
FILES+= sshd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= factor
|
PROG= factor
|
||||||
SRCS= factor.c pr_tbl.c
|
SRCS= factor.c pr_tbl.c
|
||||||
CFLAGS+=-I${.CURDIR}/../primes
|
CFLAGS+=-I${.CURDIR}/../primes
|
||||||
|
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
CFLAGS+=-DHAVE_OPENSSL
|
CFLAGS+=-DHAVE_OPENSSL
|
||||||
DPADD= ${LIBCRYPTO}
|
DPADD= ${LIBCRYPTO}
|
||||||
LDADD= -lcrypto
|
LDADD= -lcrypto
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= csu libgcc libgcov libdialog libregex libreadline
|
SUBDIR= csu libgcc libgcov libdialog libregex libreadline
|
||||||
|
|
||||||
# libsupc++ uses libstdc++ headers, although 'make includes' should
|
# libsupc++ uses libstdc++ headers, although 'make includes' should
|
||||||
# have taken care of that already.
|
# have taken care of that already.
|
||||||
.if !defined(NO_CXX)
|
.if ${MK_CXX} != "no"
|
||||||
SUBDIR+= libstdc++ libsupc++
|
SUBDIR+= libstdc++ libsupc++
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_OBJC)
|
.if ${MK_OBJC} != "no"
|
||||||
SUBDIR+= libobjc
|
SUBDIR+= libobjc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_FORTRAN)
|
.if ${MK_FORTRAN} != "no"
|
||||||
SUBDIR+= libg2c
|
SUBDIR+= libg2c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# Makefile for libdialog
|
# Makefile for libdialog
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= dialog
|
LIB= dialog
|
||||||
INCS= dialog.h
|
INCS= dialog.h
|
||||||
MAN= dialog.3
|
MAN= dialog.3
|
||||||
@ -20,7 +22,7 @@ CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
|
|||||||
DPADD= ${LIBNCURSES}
|
DPADD= ${LIBNCURSES}
|
||||||
LDADD= -lncurses
|
LDADD= -lncurses
|
||||||
|
|
||||||
.if !defined(NO_HTML)
|
.if ${MK_HTML} != "no"
|
||||||
FILES= ${EXAMPLES:C;^;${.CURDIR}/TESTS/;}
|
FILES= ${EXAMPLES:C;^;${.CURDIR}/TESTS/;}
|
||||||
FILESDIR= ${SHAREDIR}/examples/libdialog
|
FILESDIR= ${SHAREDIR}/examples/libdialog
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= bc \
|
SUBDIR= bc \
|
||||||
${_binutils} \
|
${_binutils} \
|
||||||
${_cc} \
|
${_cc} \
|
||||||
@ -23,38 +25,38 @@ SUBDIR= bc \
|
|||||||
${_texinfo}
|
${_texinfo}
|
||||||
|
|
||||||
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "powerpc"
|
||||||
NO_GDB= # not yet
|
MK_GDB= no # not yet
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CXX)
|
.if ${MK_CXX} != "no"
|
||||||
.if ${MACHINE_ARCH} != "powerpc"
|
.if ${MACHINE_ARCH} != "powerpc"
|
||||||
_gperf= gperf
|
_gperf= gperf
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_GROFF)
|
.if ${MK_GROFF} != "no"
|
||||||
_groff= groff
|
_groff= groff
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CVS)
|
.if ${MK_CVS} != "no"
|
||||||
_cvs= cvs
|
_cvs= cvs
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
_man= man
|
_man= man
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_INFO)
|
.if ${MK_INFO} != "no"
|
||||||
_texinfo= texinfo
|
_texinfo= texinfo
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_TOOLCHAIN)
|
.if ${MK_TOOLCHAIN} != "no"
|
||||||
_binutils= binutils
|
_binutils= binutils
|
||||||
_cc= cc
|
_cc= cc
|
||||||
.if !defined(NO_GDB)
|
.if ${MK_GDB} != "no"
|
||||||
_gdb= gdb
|
_gdb= gdb
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_RCS)
|
.if ${MK_RCS} != "no"
|
||||||
_rcs= rcs
|
_rcs= rcs
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BCDIR= ${.CURDIR}/../../../contrib/bc
|
BCDIR= ${.CURDIR}/../../../contrib/bc
|
||||||
.PATH: ${BCDIR}/bc ${BCDIR}/lib ${BCDIR}/doc ${BCDIR}/Examples
|
.PATH: ${BCDIR}/bc ${BCDIR}/lib ${BCDIR}/doc ${BCDIR}/Examples
|
||||||
|
|
||||||
@ -11,7 +13,7 @@ CFLAGS+=-DHAVE_CONFIG_H
|
|||||||
DPADD= ${LIBREADLINE} ${LIBTERMCAP}
|
DPADD= ${LIBREADLINE} ${LIBTERMCAP}
|
||||||
LDADD= -lreadline -ltermcap
|
LDADD= -lreadline -ltermcap
|
||||||
|
|
||||||
.if !defined (NO_EXAMPLES)
|
.if ${MK_EXAMPLES} != "no"
|
||||||
FILES= ckbook.b pi.b primes.b twins.b
|
FILES= ckbook.b pi.b primes.b twins.b
|
||||||
FILESDIR= ${SHAREDIR}/examples/bc
|
FILESDIR= ${SHAREDIR}/examples/bc
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,30 +1,32 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# The order of some of these are rather important. Some depend on previous
|
# The order of some of these are rather important. Some depend on previous
|
||||||
# subdirs.
|
# subdirs.
|
||||||
|
|
||||||
SUBDIR= cc_tools cc_int cc cc1 include protoize doc
|
SUBDIR= cc_tools cc_int cc cc1 include protoize doc
|
||||||
|
|
||||||
.if !defined(NO_CPP)
|
.if ${MK_CPP} != "no"
|
||||||
SUBDIR+= cpp
|
SUBDIR+= cpp
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CXX)
|
.if ${MK_CXX} != "no"
|
||||||
SUBDIR+= cc1plus c++ c++filt
|
SUBDIR+= cc1plus c++ c++filt
|
||||||
.if !defined(NO_COLLECT2)
|
.if ${MK_COLLECT2} != "no"
|
||||||
#SUBDIR+= collect2
|
#SUBDIR+= collect2
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_OBJC)
|
.if ${MK_OBJC} != "no"
|
||||||
SUBDIR+= cc1obj
|
SUBDIR+= cc1obj
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_FORTRAN)
|
.if ${MK_FORTRAN} != "no"
|
||||||
SUBDIR+= f77 f771 f77doc
|
SUBDIR+= f77 f771 f77doc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_GCOV)
|
.if ${MK_GCOV} != "no"
|
||||||
SUBDIR+= gcov
|
SUBDIR+= gcov
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
#
|
#
|
||||||
# This could probably be merged with ../cc_int/Makefile, but bsd.lib.mk
|
# This could probably be merged with ../cc_int/Makefile, but bsd.lib.mk
|
||||||
# is such a !@#!*#% nightmare because of how it reprograms the dependencies,
|
# is such a !@#!*#% nightmare because of how it reprograms the dependencies,
|
||||||
@ -197,7 +199,7 @@ CLEANFILES+= gt-*.h gtype-*.h
|
|||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
# Fortran build tools
|
# Fortran build tools
|
||||||
|
|
||||||
.if !defined(NO_FORTRAN)
|
.if ${MK_FORTRAN} != "no"
|
||||||
gen-time-stamp: fini
|
gen-time-stamp: fini
|
||||||
fini: fini.o ${LIBIBERTY}
|
fini: fini.o ${LIBIBERTY}
|
||||||
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
|
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
|
||||||
@ -295,15 +297,15 @@ GTFILES = $(srcdir)/input.h $(srcdir)/coretypes.h $(srcdir)/cpplib.h \
|
|||||||
#
|
#
|
||||||
GTFILES_LANG_DIR_NAMES=
|
GTFILES_LANG_DIR_NAMES=
|
||||||
|
|
||||||
.if !defined(NO_CXX)
|
.if ${MK_CXX} != "no"
|
||||||
GTFILES_LANG_DIR_NAMES+= cp
|
GTFILES_LANG_DIR_NAMES+= cp
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_OBJC)
|
.if ${MK_OBJC} != "no"
|
||||||
GTFILES_LANG_DIR_NAMES+= objc
|
GTFILES_LANG_DIR_NAMES+= objc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_FORTRAN)
|
.if ${MK_FORTRAN} != "no"
|
||||||
GTFILES_LANG_DIR_NAMES+= f
|
GTFILES_LANG_DIR_NAMES+= f
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
.include "${.CURDIR}/../Makefile.inc"
|
.include "${.CURDIR}/../Makefile.inc"
|
||||||
|
|
||||||
.PATH: ${CVSDIR}/src
|
.PATH: ${CVSDIR}/src
|
||||||
@ -31,7 +32,7 @@ CFLAGS+= -I${.CURDIR} -I../lib -DHAVE_CONFIG_H -I${CVSDIR}/src \
|
|||||||
DPADD= ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
|
DPADD= ${LIBCVS} ${LIBDIFF} ${LIBGNUREGEX} ${LIBMD} ${LIBCRYPT} ${LIBZ}
|
||||||
LDADD= ${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
|
LDADD= ${LIBCVS} ${LIBDIFF} -lgnuregex -lmd -lcrypt -lz
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_OPENSSL) && !defined(NO_CRYPT)
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
||||||
CFLAGS+= -DHAVE_GSSAPI -DENCRYPTION
|
CFLAGS+= -DHAVE_GSSAPI -DENCRYPTION
|
||||||
LDADD+= -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
|
LDADD+= -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err
|
||||||
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}
|
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBROKEN}
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
# Makefile for dialog
|
# Makefile for dialog
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.if !defined (NO_EXAMPLES)
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
.if ${MK_EXAMPLES} != "no"
|
||||||
SUBDIR= TESTS
|
SUBDIR= TESTS
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
#
|
#
|
||||||
# Doing a "make install" builds /usr/include.
|
# Doing a "make install" builds /usr/include.
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
CLEANFILES= osreldate.h version vers.c
|
CLEANFILES= osreldate.h version vers.c
|
||||||
SUBDIR= arpa gssapi protocols rpcsvc rpc
|
SUBDIR= arpa gssapi protocols rpcsvc rpc
|
||||||
INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
|
INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
|
||||||
@ -51,15 +53,15 @@ LSUBDIRS= cam/scsi \
|
|||||||
security/mac_mls security/mac_partition \
|
security/mac_mls security/mac_partition \
|
||||||
ufs/ffs ufs/ufs
|
ufs/ffs ufs/ufs
|
||||||
|
|
||||||
.if !defined(NO_GPIB)
|
.if ${MK_GPIB} != "no"
|
||||||
_dev_ieee488= dev/ieee488
|
_dev_ieee488= dev/ieee488
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(YES_HESIOD)
|
.if ${MK_HESIOD} != "no"
|
||||||
INCS+= hesiod.h
|
INCS+= hesiod.h
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_BLUETOOTH)
|
.if ${MK_BLUETOOTH} != "no"
|
||||||
LSUBSUBDIRS= netgraph/bluetooth/include
|
LSUBSUBDIRS= netgraph/bluetooth/include
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -115,7 +117,7 @@ compat:
|
|||||||
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
|
||||||
-f ${.CURDIR}/../etc/mtree/BSD.include.dist \
|
-f ${.CURDIR}/../etc/mtree/BSD.include.dist \
|
||||||
-p ${DESTDIR}${INCLUDEDIR}
|
-p ${DESTDIR}${INCLUDEDIR}
|
||||||
.if defined(WITH_BIND_LIBS) && !defined(NO_BIND)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
|
||||||
-f ${.CURDIR}/../etc/mtree/BIND.include.dist \
|
-f ${.CURDIR}/../etc/mtree/BIND.include.dist \
|
||||||
-p ${DESTDIR}${INCLUDEDIR}
|
-p ${DESTDIR}${INCLUDEDIR}
|
||||||
@ -145,7 +147,7 @@ copies:
|
|||||||
cd ${.CURDIR}/../sys/contrib/altq/altq; \
|
cd ${.CURDIR}/../sys/contrib/altq/altq; \
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/altq
|
${DESTDIR}${INCLUDEDIR}/altq
|
||||||
.if !defined(NO_IPFILTER)
|
.if ${MK_IPFILTER} != "no"
|
||||||
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/netinet
|
${DESTDIR}${INCLUDEDIR}/netinet
|
||||||
@ -217,7 +219,7 @@ symlinks:
|
|||||||
ln -fs ../../../sys/contrib/altq/altq/$$h \
|
ln -fs ../../../sys/contrib/altq/altq/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/altq; \
|
${DESTDIR}${INCLUDEDIR}/altq; \
|
||||||
done
|
done
|
||||||
.if !defined(NO_IPFILTER)
|
.if ${MK_IPFILTER} != "no"
|
||||||
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
ln -fs ../../../sys/contrib/ipfilter/netinet/$$h \
|
ln -fs ../../../sys/contrib/ipfilter/netinet/$$h \
|
||||||
|
@ -21,11 +21,11 @@ kerberize:
|
|||||||
dekerberize:
|
dekerberize:
|
||||||
.for entry in ${KPROGS}
|
.for entry in ${KPROGS}
|
||||||
cd ${.CURDIR}/../${entry}; \
|
cd ${.CURDIR}/../${entry}; \
|
||||||
${MAKE} -DNO_KERBEROS cleandir; \
|
${MAKE} -DWITHOUT_KERBEROS cleandir; \
|
||||||
${MAKE} -DNO_KERBEROS obj; \
|
${MAKE} -DWITHOUT_KERBEROS obj; \
|
||||||
${MAKE} -DNO_KERBEROS depend; \
|
${MAKE} -DWITHOUT_KERBEROS depend; \
|
||||||
${MAKE} -DNO_KERBEROS all; \
|
${MAKE} -DWITHOUT_KERBEROS all; \
|
||||||
${MAKE} -DNO_KERBEROS install
|
${MAKE} -DWITHOUT_KERBEROS install
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
24
lib/Makefile
24
lib/Makefile
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# To satisfy shared library or ELF linkage when only the libraries being
|
# To satisfy shared library or ELF linkage when only the libraries being
|
||||||
# built are visible:
|
# built are visible:
|
||||||
#
|
#
|
||||||
@ -44,16 +46,16 @@ _csu=csu/${MACHINE_ARCH}
|
|||||||
_csu=csu
|
_csu=csu
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_ATM)
|
.if ${MK_ATM} != "no"
|
||||||
_libatm= libatm
|
_libatm= libatm
|
||||||
_libngatm= libngatm
|
_libngatm= libngatm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_BIND)
|
.if ${MK_BIND} != "no"
|
||||||
_bind= bind
|
_bind= bind
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_BLUETOOTH)
|
.if ${MK_BLUETOOTH} != "no"
|
||||||
_libbluetooth= libbluetooth
|
_libbluetooth= libbluetooth
|
||||||
_libsdp= libsdp
|
_libsdp= libsdp
|
||||||
.endif
|
.endif
|
||||||
@ -65,7 +67,7 @@ _libvgl= libvgl
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "ia64" && \
|
.if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "ia64" && \
|
||||||
${MACHINE_ARCH} != "powerpc" && !defined(NO_LIBC_R)
|
${MACHINE_ARCH} != "powerpc" && ${MK_LIBC_R} != "no"
|
||||||
_libc_r=
|
_libc_r=
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -73,14 +75,14 @@ _libc_r=
|
|||||||
_libio= libio
|
_libio= libio
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
_libmilter= libmilter
|
_libmilter= libmilter
|
||||||
_libsm= libsm
|
_libsm= libsm
|
||||||
_libsmdb= libsmdb
|
_libsmdb= libsmdb
|
||||||
_libsmutil= libsmutil
|
_libsmutil= libsmutil
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
_libmp= libmp
|
_libmp= libmp
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -93,11 +95,11 @@ _libsmb= libsmb
|
|||||||
_libsmb= libsmb
|
_libsmb= libsmb
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_LIBPTHREAD)
|
.if ${MK_LIBPTHREAD} != "no"
|
||||||
_libpthread= libpthread
|
_libpthread= libpthread
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_LIBTHR)
|
.if ${MK_LIBTHR} != "no"
|
||||||
_libthr= libthr
|
_libthr= libthr
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -105,15 +107,15 @@ _libthr= libthr
|
|||||||
_libthread_db= libthread_db
|
_libthread_db= libthread_db
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_USB)
|
.if ${MK_USB} != "no"
|
||||||
_libusbhid= libusbhid
|
_libusbhid= libusbhid
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
_libypclnt= libypclnt
|
_libypclnt= libypclnt
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_GPIB)
|
.if ${MK_GPIB} != "no"
|
||||||
_libgpib= libgpib
|
_libgpib= libgpib
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#.include <bsd.own.mk>
|
||||||
|
|
||||||
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
||||||
LIB_BIND_REL= ..
|
LIB_BIND_REL= ..
|
||||||
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||||||
@ -62,7 +64,7 @@ SRCS+= herror.c res_comp.c res_data.c \
|
|||||||
res_mkquery.c res_mkupdate.c res_query.c \
|
res_mkquery.c res_mkupdate.c res_query.c \
|
||||||
res_send.c res_sendsigned.c res_update.c
|
res_send.c res_sendsigned.c res_update.c
|
||||||
|
|
||||||
#.if defined(WITH_BIND_LIBS)
|
#.if ${MK_BIND_LIBS} != "no"
|
||||||
#INCS= ${SRCDIR}/include/isc/assertions.h \
|
#INCS= ${SRCDIR}/include/isc/assertions.h \
|
||||||
# ${SRCDIR}/include/isc/ctl.h \
|
# ${SRCDIR}/include/isc/ctl.h \
|
||||||
# ${SRCDIR}/include/isc/dst.h \
|
# ${SRCDIR}/include/isc/dst.h \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
||||||
LIB_BIND_REL= ..
|
LIB_BIND_REL= ..
|
||||||
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||||||
@ -14,7 +16,7 @@ SRCS= check.c getaddresses.c version.c
|
|||||||
|
|
||||||
CFLAGS+= -I${SRCDIR}/include
|
CFLAGS+= -I${SRCDIR}/include
|
||||||
|
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
INCS= ${SRCDIR}/include/bind9/check.h \
|
INCS= ${SRCDIR}/include/bind9/check.h \
|
||||||
${SRCDIR}/include/bind9/getaddresses.h \
|
${SRCDIR}/include/bind9/getaddresses.h \
|
||||||
${SRCDIR}/include/bind9/version.h
|
${SRCDIR}/include/bind9/version.h
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# BIND version number
|
# BIND version number
|
||||||
.if defined(BIND_DIR) && exists(${BIND_DIR}/version)
|
.if defined(BIND_DIR) && exists(${BIND_DIR}/version)
|
||||||
.include "${BIND_DIR}/version"
|
.include "${BIND_DIR}/version"
|
||||||
@ -15,7 +17,7 @@ CFLAGS+= -DHAVE_CONFIG_H
|
|||||||
CFLAGS+= -DLIBINTERFACE=${LIBINTERFACE}
|
CFLAGS+= -DLIBINTERFACE=${LIBINTERFACE}
|
||||||
CFLAGS+= -DLIBREVISION=${LIBREVISION}
|
CFLAGS+= -DLIBREVISION=${LIBREVISION}
|
||||||
CFLAGS+= -DLIBAGE=${LIBAGE}
|
CFLAGS+= -DLIBAGE=${LIBAGE}
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
SHLIB_MAJOR= ${LIBINTERFACE}
|
SHLIB_MAJOR= ${LIBINTERFACE}
|
||||||
SHLIB_MINOR= ${LIBINTERFACE}
|
SHLIB_MINOR= ${LIBINTERFACE}
|
||||||
.else
|
.else
|
||||||
@ -24,17 +26,17 @@ INTERNALLIB=
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
# GSSAPI support is incomplete in 9.3.0
|
# GSSAPI support is incomplete in 9.3.0
|
||||||
#.if !defined(NO_KERBEROS)
|
#.if ${MK_KERBEROS} != "no"
|
||||||
#CFLAGS+= -DGSSAPI
|
#CFLAGS+= -DGSSAPI
|
||||||
#.endif
|
#.endif
|
||||||
|
|
||||||
# Enable IPv6 support if available
|
# Enable IPv6 support if available
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CFLAGS+= -DWANT_IPV6
|
CFLAGS+= -DWANT_IPV6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Enable crypto if available
|
# Enable crypto if available
|
||||||
.if !defined(NO_CRYPT)
|
.if ${MK_OPENSSL} != "no"
|
||||||
CFLAGS+= -DOPENSSL
|
CFLAGS+= -DOPENSSL
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -61,7 +63,7 @@ CFLAGS+= -I${LIB_BIND_DIR}
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Link against BIND libraries
|
# Link against BIND libraries
|
||||||
.if !defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} == "no"
|
||||||
LIBBIND9= ${LIB_BIND_REL}/bind9/libbind9.a
|
LIBBIND9= ${LIB_BIND_REL}/bind9/libbind9.a
|
||||||
CFLAGS+= -I${BIND_DIR}/lib/bind9/include
|
CFLAGS+= -I${BIND_DIR}/lib/bind9/include
|
||||||
LIBDNS= ${LIB_BIND_REL}/dns/libdns.a
|
LIBDNS= ${LIB_BIND_REL}/dns/libdns.a
|
||||||
@ -84,14 +86,14 @@ CFLAGS+= -I${BIND_DIR}/lib/lwres/unix/include \
|
|||||||
.endif
|
.endif
|
||||||
BIND_DPADD= ${LIBBIND9} ${LIBDNS} ${LIBISCCC} ${LIBISCCFG} \
|
BIND_DPADD= ${LIBBIND9} ${LIBDNS} ${LIBISCCC} ${LIBISCCFG} \
|
||||||
${LIBISC} ${LIBLWRES}
|
${LIBISC} ${LIBLWRES}
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
BIND_LDADD= -lbind9 -ldns -lisccc -lisccfg -lisc -llwres
|
BIND_LDADD= -lbind9 -ldns -lisccc -lisccfg -lisc -llwres
|
||||||
.else
|
.else
|
||||||
BIND_LDADD= ${BIND_DPADD}
|
BIND_LDADD= ${BIND_DPADD}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Link against crypto library
|
# Link against crypto library
|
||||||
.if !defined(NO_CRYPT)
|
.if ${MK_OPENSSL} != "no"
|
||||||
CRYPTO_DPADD= ${LIBCRYPTO}
|
CRYPTO_DPADD= ${LIBCRYPTO}
|
||||||
CRYPTO_LDADD= -lcrypto
|
CRYPTO_LDADD= -lcrypto
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
||||||
LIB_BIND_REL= ..
|
LIB_BIND_REL= ..
|
||||||
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||||||
@ -40,7 +42,7 @@ CFLAGS+= -I${.CURDIR}
|
|||||||
DPADD= ${CRYPTO_DPADD}
|
DPADD= ${CRYPTO_DPADD}
|
||||||
LDADD= ${CRYPTO_LDADD}
|
LDADD= ${CRYPTO_LDADD}
|
||||||
|
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
DNSINCS= ${SRCDIR}/include/dns/acl.h \
|
DNSINCS= ${SRCDIR}/include/dns/acl.h \
|
||||||
${SRCDIR}/include/dns/adb.h \
|
${SRCDIR}/include/dns/adb.h \
|
||||||
${SRCDIR}/include/dns/bit.h \
|
${SRCDIR}/include/dns/bit.h \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
||||||
LIB_BIND_REL= ..
|
LIB_BIND_REL= ..
|
||||||
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||||||
@ -38,7 +40,7 @@ SRCS+= inet_pton.c \
|
|||||||
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/nothreads/include
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/nothreads/include
|
||||||
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
|
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
|
||||||
|
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
INCS= ${SRCDIR}/include/isc/app.h \
|
INCS= ${SRCDIR}/include/isc/app.h \
|
||||||
${SRCDIR}/include/isc/assertions.h \
|
${SRCDIR}/include/isc/assertions.h \
|
||||||
${SRCDIR}/include/isc/base64.h \
|
${SRCDIR}/include/isc/base64.h \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
||||||
LIB_BIND_REL= ..
|
LIB_BIND_REL= ..
|
||||||
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||||||
@ -16,7 +18,7 @@ SRCS= alist.c base64.c cc.c ccmsg.c \
|
|||||||
|
|
||||||
CFLAGS+= -I${SRCDIR}/include
|
CFLAGS+= -I${SRCDIR}/include
|
||||||
|
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
INCS= ${SRCDIR}/include/isccc/alist.h \
|
INCS= ${SRCDIR}/include/isccc/alist.h \
|
||||||
${SRCDIR}/include/isccc/base64.h \
|
${SRCDIR}/include/isccc/base64.h \
|
||||||
${SRCDIR}/include/isccc/cc.h \
|
${SRCDIR}/include/isccc/cc.h \
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
||||||
LIB_BIND_REL= ..
|
LIB_BIND_REL= ..
|
||||||
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||||||
@ -14,7 +16,7 @@ SRCS= log.c namedconf.c parser.c version.c
|
|||||||
|
|
||||||
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
|
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
|
||||||
|
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
INCS= ${SRCDIR}/include/isccfg/cfg.h \
|
INCS= ${SRCDIR}/include/isccfg/cfg.h \
|
||||||
${SRCDIR}/include/isccfg/grammar.h \
|
${SRCDIR}/include/isccfg/grammar.h \
|
||||||
${SRCDIR}/include/isccfg/log.h \
|
${SRCDIR}/include/isccfg/log.h \
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
||||||
LIB_BIND_REL= ..
|
LIB_BIND_REL= ..
|
||||||
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
||||||
SRCDIR= ${BIND_DIR}/lib/lwres
|
SRCDIR= ${BIND_DIR}/lib/lwres
|
||||||
|
|
||||||
# Unlike other BIND libs, this should be installed unless the user says NO.
|
# Unlike other BIND libs, this should be installed unless the user says NO.
|
||||||
.if !defined(NO_BIND_LIBS_LWRES)
|
.if ${MK_BIND_LIBS_LWRES} != "no"
|
||||||
WITH_BIND_LIBS=
|
MK_BIND_LIBS= yes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include "${LIB_BIND_DIR}/config.mk"
|
.include "${LIB_BIND_DIR}/config.mk"
|
||||||
@ -24,7 +26,7 @@ SRCS+= context.c gai_strerror.c getaddrinfo.c gethost.c \
|
|||||||
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include
|
||||||
CFLAGS+= -I${.CURDIR}
|
CFLAGS+= -I${.CURDIR}
|
||||||
|
|
||||||
.if defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
MAN= lwres.3 lwres_buffer.3 lwres_config.3 lwres_context.3 \
|
MAN= lwres.3 lwres_buffer.3 lwres_config.3 lwres_context.3 \
|
||||||
lwres_gabn.3 lwres_gai_strerror.3 lwres_getaddrinfo.3 \
|
lwres_gabn.3 lwres_gai_strerror.3 lwres_getaddrinfo.3 \
|
||||||
lwres_gethostent.3 lwres_getipnode.3 lwres_getnameinfo.3 \
|
lwres_gethostent.3 lwres_getipnode.3 lwres_getnameinfo.3 \
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
# @(#)Makefile 8.2 (Berkeley) 2/3/94
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# All library objects contain FreeBSD revision strings by default; they may be
|
# All library objects contain FreeBSD revision strings by default; they may be
|
||||||
# excluded as a space-saving measure. To produce a library that does
|
# excluded as a space-saving measure. To produce a library that does
|
||||||
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
|
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
|
||||||
@ -55,14 +57,14 @@ NOASM=
|
|||||||
.if ${MACHINE_ARCH} == "arm"
|
.if ${MACHINE_ARCH} == "arm"
|
||||||
.include "${.CURDIR}/softfloat/Makefile.inc"
|
.include "${.CURDIR}/softfloat/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
CFLAGS+= -DYP
|
CFLAGS+= -DYP
|
||||||
.include "${.CURDIR}/yp/Makefile.inc"
|
.include "${.CURDIR}/yp/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
.if defined(YES_HESIOD)
|
.if ${MK_HESIOD} != "no"
|
||||||
CFLAGS+= -DHESIOD
|
CFLAGS+= -DHESIOD
|
||||||
.endif
|
.endif
|
||||||
.if defined(NO_FP_LIBC)
|
.if ${MK_FP_LIBC} == "no"
|
||||||
CFLAGS+= -DNO_FLOATING_POINT
|
CFLAGS+= -DNO_FLOATING_POINT
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \
|
|||||||
resolver.3 ns_get16.3 resolver.3 ns_get32.3 \
|
resolver.3 ns_get16.3 resolver.3 ns_get32.3 \
|
||||||
resolver.3 ns_put16.3 resolver.3 ns_put32.3
|
resolver.3 ns_put16.3 resolver.3 ns_put32.3
|
||||||
|
|
||||||
.if defined(YES_HESIOD)
|
.if ${MK_HESIOD} != "no"
|
||||||
SRCS+= hesiod.c
|
SRCS+= hesiod.c
|
||||||
MAN+= hesiod.3
|
MAN+= hesiod.3
|
||||||
.endif
|
.endif
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SHLIB_MAJOR= 3
|
SHLIB_MAJOR= 3
|
||||||
LIB= crypt
|
LIB= crypt
|
||||||
SHLIBDIR?= /lib
|
SHLIBDIR?= /lib
|
||||||
@ -15,7 +17,7 @@ MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
|
|||||||
CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil
|
CFLAGS+= -I${.CURDIR}/../libmd -I${.CURDIR}/../libutil
|
||||||
|
|
||||||
# Pull in the strong crypto, if it is present.
|
# Pull in the strong crypto, if it is present.
|
||||||
.if exists(${.CURDIR}/../../secure/lib/libcrypt) && !defined(NO_CRYPT)
|
.if exists(${.CURDIR}/../../secure/lib/libcrypt) && ${MK_CRYPT} != "no"
|
||||||
.PATH: ${.CURDIR}/../../secure/lib/libcrypt
|
.PATH: ${.CURDIR}/../../secure/lib/libcrypt
|
||||||
SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
|
SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
|
||||||
CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH
|
CFLAGS+= -I${.CURDIR} -DHAS_DES -DHAS_BLOWFISH
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= fetch
|
LIB= fetch
|
||||||
CFLAGS+= -I.
|
CFLAGS+= -I.
|
||||||
CFLAGS+= -DINET6
|
CFLAGS+= -DINET6
|
||||||
@ -9,7 +11,7 @@ INCS= fetch.h
|
|||||||
MAN= fetch.3
|
MAN= fetch.3
|
||||||
CLEANFILES= ftperr.h httperr.h
|
CLEANFILES= ftperr.h httperr.h
|
||||||
|
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
CFLAGS+= -DWITH_SSL
|
CFLAGS+= -DWITH_SSL
|
||||||
DPADD= ${LIBSSL} ${LIBCRYPTO}
|
DPADD= ${LIBSSL} ${LIBCRYPTO}
|
||||||
LDADD= -lssl -lcrypto
|
LDADD= -lssl -lcrypto
|
||||||
|
@ -27,12 +27,14 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= ipsec
|
LIB= ipsec
|
||||||
SHLIBDIR?= /lib
|
SHLIBDIR?= /lib
|
||||||
SHLIB_MAJOR= 2
|
SHLIB_MAJOR= 2
|
||||||
CFLAGS+=-I. -I${.CURDIR}
|
CFLAGS+=-I. -I${.CURDIR}
|
||||||
CFLAGS+=-DIPSEC_DEBUG -DIPSEC
|
CFLAGS+=-DIPSEC_DEBUG -DIPSEC
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CFLAGS+=-DINET6
|
CFLAGS+=-DINET6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||||
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
|
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
|
||||||
|
|
||||||
@ -7,7 +9,7 @@ CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
|
|||||||
CFLAGS+=-DNOT_SENDMAIL -Dsm_snprintf=snprintf
|
CFLAGS+=-DNOT_SENDMAIL -Dsm_snprintf=snprintf
|
||||||
CFLAGS+=-D_THREAD_SAFE
|
CFLAGS+=-D_THREAD_SAFE
|
||||||
|
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CFLAGS+=-DNETINET6
|
CFLAGS+=-DNETINET6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
NCURSES=${.CURDIR}/../../contrib/ncurses
|
NCURSES=${.CURDIR}/../../contrib/ncurses
|
||||||
|
|
||||||
LIB= ncurses
|
LIB= ncurses
|
||||||
@ -253,7 +255,7 @@ SYMLINKS+=libncurses_p.a ${LIBDIR}/libtinfo_p.a
|
|||||||
DOCSDIR= /usr/share/doc/ncurses
|
DOCSDIR= /usr/share/doc/ncurses
|
||||||
DOCS= ncurses-intro.html hackguide.html
|
DOCS= ncurses-intro.html hackguide.html
|
||||||
|
|
||||||
.if !defined(NO_HTML)
|
.if ${MK_HTML} != "no"
|
||||||
.PATH: ${NCURSES}/doc/html
|
.PATH: ${NCURSES}/doc/html
|
||||||
FILESGROUPS= DOCS
|
FILESGROUPS= DOCS
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
MODULES =
|
MODULES =
|
||||||
MODULES += pam_chroot
|
MODULES += pam_chroot
|
||||||
MODULES += pam_deny
|
MODULES += pam_deny
|
||||||
@ -8,7 +10,7 @@ MODULES += pam_exec
|
|||||||
MODULES += pam_ftpusers
|
MODULES += pam_ftpusers
|
||||||
MODULES += pam_group
|
MODULES += pam_group
|
||||||
MODULES += pam_guest
|
MODULES += pam_guest
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_KERBEROS} != "no"
|
||||||
MODULES += pam_krb5
|
MODULES += pam_krb5
|
||||||
MODULES += pam_ksu
|
MODULES += pam_ksu
|
||||||
.endif
|
.endif
|
||||||
@ -24,7 +26,7 @@ MODULES += pam_rhosts
|
|||||||
MODULES += pam_rootok
|
MODULES += pam_rootok
|
||||||
MODULES += pam_securetty
|
MODULES += pam_securetty
|
||||||
MODULES += pam_self
|
MODULES += pam_self
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(NO_OPENSSH)
|
.if ${MK_OPENSSH} != "no"
|
||||||
MODULES += pam_ssh
|
MODULES += pam_ssh
|
||||||
.endif
|
.endif
|
||||||
MODULES += pam_tacplus
|
MODULES += pam_tacplus
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= pam_unix
|
LIB= pam_unix
|
||||||
SRCS= pam_unix.c
|
SRCS= pam_unix.c
|
||||||
MAN= pam_unix.8
|
MAN= pam_unix.8
|
||||||
@ -41,7 +43,7 @@ MAN= pam_unix.8
|
|||||||
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
||||||
LDADD= -lutil -lcrypt
|
LDADD= -lutil -lcrypt
|
||||||
|
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
CFLAGS+= -DYP
|
CFLAGS+= -DYP
|
||||||
DPADD+= ${LIBYPCLNT}
|
DPADD+= ${LIBYPCLNT}
|
||||||
LDADD+= -lypclnt
|
LDADD+= -lypclnt
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# Makefile for libpcap
|
# Makefile for libpcap
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= pcap
|
LIB= pcap
|
||||||
SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \
|
SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \
|
||||||
pcap.c inet.c fad-getad.c gencode.c optimize.c nametoaddr.c \
|
pcap.c inet.c fad-getad.c gencode.c optimize.c nametoaddr.c \
|
||||||
@ -15,7 +17,7 @@ LFLAGS+=-Ppcapyy
|
|||||||
CFLAGS+=-DHAVE_CONFIG_H -Dyylval=pcapyylval -I${.CURDIR} -I.
|
CFLAGS+=-DHAVE_CONFIG_H -Dyylval=pcapyylval -I${.CURDIR} -I.
|
||||||
CFLAGS+=-D_U_="__attribute__((unused))"
|
CFLAGS+=-D_U_="__attribute__((unused))"
|
||||||
CFLAGS+=-DHAVE_SNPRINTF -DHAVE_VSNPRINTF
|
CFLAGS+=-DHAVE_SNPRINTF -DHAVE_VSNPRINTF
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CFLAGS+=-DINET6
|
CFLAGS+=-DINET6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= radius
|
LIB= radius
|
||||||
SRCS= radlib.c
|
SRCS= radlib.c
|
||||||
INCS= radlib.h radlib_vs.h
|
INCS= radlib.h radlib_vs.h
|
||||||
@ -31,7 +33,7 @@ CFLAGS+= -Wall
|
|||||||
SHLIB_MAJOR= 2
|
SHLIB_MAJOR= 2
|
||||||
MAN= libradius.3 radius.conf.5
|
MAN= libradius.3 radius.conf.5
|
||||||
|
|
||||||
.if defined(NO_CRYPT) || defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} == "no"
|
||||||
DPADD= ${LIBMD}
|
DPADD= ${LIBMD}
|
||||||
LDADD= -lmd
|
LDADD= -lmd
|
||||||
.else
|
.else
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
|
# from: @(#)Makefile 5.10 (Berkeley) 6/24/90
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../include/rpcsvc
|
.PATH: ${.CURDIR}/../../include/rpcsvc
|
||||||
|
|
||||||
LIB= rpcsvc
|
LIB= rpcsvc
|
||||||
@ -12,7 +14,7 @@ RPCSRCS= klm_prot.x mount.x nfs_prot.x nlm_prot.x rex.x rnusers.x \
|
|||||||
OTHERSRCS= rnusers.c rstat.c rwall.c
|
OTHERSRCS= rnusers.c rstat.c rwall.c
|
||||||
SECRPCSRCS= secretkey.c xcrypt.c
|
SECRPCSRCS= secretkey.c xcrypt.c
|
||||||
|
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
OTHERSRCS+= yp_passwd.c yp_update.c
|
OTHERSRCS+= yp_passwd.c yp_update.c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
|
||||||
.PATH: ${SENDMAIL_DIR}/libsm
|
.PATH: ${SENDMAIL_DIR}/libsm
|
||||||
|
|
||||||
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
|
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
|
||||||
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
|
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
|
||||||
|
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CFLAGS+=-DNETINET6
|
CFLAGS+=-DNETINET6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
TELNETDIR= ${.CURDIR}/../../contrib/telnet
|
TELNETDIR= ${.CURDIR}/../../contrib/telnet
|
||||||
.PATH: ${TELNETDIR}/libtelnet
|
.PATH: ${TELNETDIR}/libtelnet
|
||||||
|
|
||||||
@ -14,10 +16,10 @@ CFLAGS+= -I${TELNETDIR}
|
|||||||
WARNS?= 0
|
WARNS?= 0
|
||||||
|
|
||||||
.if !defined(RELEASE_CRUNCH)
|
.if !defined(RELEASE_CRUNCH)
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
|
SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
|
||||||
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
|
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
|
||||||
.if !defined(NO_KERBEROS)
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
||||||
SRCS+= kerberos5.c
|
SRCS+= kerberos5.c
|
||||||
CFLAGS+= -DKRB5 -I${KRB5DIR}/lib/krb5 -I${KRB5OBJDIR} -I${ASN1OBJDIR}
|
CFLAGS+= -DKRB5 -I${KRB5DIR}/lib/krb5 -I${KRB5OBJDIR} -I${ASN1OBJDIR}
|
||||||
CFLAGS+= -DFORWARD -Dnet_write=telnet_net_write
|
CFLAGS+= -DFORWARD -Dnet_write=telnet_net_write
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= wrap
|
LIB= wrap
|
||||||
SHLIB_MAJOR= 4
|
SHLIB_MAJOR= 4
|
||||||
INCS= tcpd.h
|
INCS= tcpd.h
|
||||||
@ -17,10 +19,10 @@ CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
|
|||||||
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
|
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
|
||||||
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
|
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
|
||||||
-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS
|
-DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP -DPROCESS_OPTIONS
|
||||||
.if defined(NO_NIS)
|
.if ${MK_NIS} == "no"
|
||||||
CFLAGS+= -DUSE_GETDOMAIN
|
CFLAGS+= -DUSE_GETDOMAIN
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CFLAGS+=-DINET6
|
CFLAGS+=-DINET6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
NCURSES=${.CURDIR}/../../contrib/ncurses
|
NCURSES=${.CURDIR}/../../contrib/ncurses
|
||||||
|
|
||||||
LIB= ncurses
|
LIB= ncurses
|
||||||
@ -253,7 +255,7 @@ SYMLINKS+=libncurses_p.a ${LIBDIR}/libtinfo_p.a
|
|||||||
DOCSDIR= /usr/share/doc/ncurses
|
DOCSDIR= /usr/share/doc/ncurses
|
||||||
DOCS= ncurses-intro.html hackguide.html
|
DOCS= ncurses-intro.html hackguide.html
|
||||||
|
|
||||||
.if !defined(NO_HTML)
|
.if ${MK_HTML} != "no"
|
||||||
.PATH: ${NCURSES}/doc/html
|
.PATH: ${NCURSES}/doc/html
|
||||||
FILESGROUPS= DOCS
|
FILESGROUPS= DOCS
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= atrun \
|
SUBDIR= atrun \
|
||||||
bootpd \
|
bootpd \
|
||||||
comsat \
|
comsat \
|
||||||
@ -32,12 +34,12 @@ SUBDIR= atrun \
|
|||||||
tftpd \
|
tftpd \
|
||||||
${_ypxfr}
|
${_ypxfr}
|
||||||
|
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
_mknetid= mknetid
|
_mknetid= mknetid
|
||||||
_ypxfr= ypxfr
|
_ypxfr= ypxfr
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_PF)
|
.if ${MK_PF} != "no"
|
||||||
_ftp-proxy= ftp-proxy
|
_ftp-proxy= ftp-proxy
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -45,12 +47,12 @@ _ftp-proxy= ftp-proxy
|
|||||||
_rtld-elf= rtld-elf
|
_rtld-elf= rtld-elf
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_RCMDS)
|
.if ${MK_RCMDS} != "no"
|
||||||
_rlogind= rlogind
|
_rlogind= rlogind
|
||||||
_rshd= rshd
|
_rshd= rshd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
_mail.local= mail.local
|
_mail.local= mail.local
|
||||||
_smrsh= smrsh
|
_smrsh= smrsh
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= ftpd
|
PROG= ftpd
|
||||||
MAN= ftpd.8 ftpchroot.5
|
MAN= ftpd.8 ftpchroot.5
|
||||||
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
|
||||||
@ -26,7 +28,7 @@ CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
|
|||||||
DPADD+= ${LIBM}
|
DPADD+= ${LIBM}
|
||||||
LDADD+= -lm
|
LDADD+= -lm
|
||||||
|
|
||||||
.if !defined(NO_PAM)
|
.if ${MK_PAM_SUPPORT} != "no"
|
||||||
CFLAGS+=-DUSE_PAM
|
CFLAGS+=-DUSE_PAM
|
||||||
DPADD+= ${LIBPAM}
|
DPADD+= ${LIBPAM}
|
||||||
LDADD+= ${MINUSLPAM}
|
LDADD+= ${MINUSLPAM}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
# @(#)Makefile 8.2 (Berkeley) 4/4/94
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LUKEMFTPD= ${.CURDIR}/../../contrib/lukemftpd
|
LUKEMFTPD= ${.CURDIR}/../../contrib/lukemftpd
|
||||||
.PATH: ${LUKEMFTPD}/src ${LUKEMFTPD}/libnetbsd
|
.PATH: ${LUKEMFTPD}/src ${LUKEMFTPD}/libnetbsd
|
||||||
|
|
||||||
@ -30,7 +32,7 @@ CFLAGS+= -DUSE_OPIE -DLOGIN_CAP
|
|||||||
DPADD+= ${LIBOPIE} ${LIBMD}
|
DPADD+= ${LIBOPIE} ${LIBMD}
|
||||||
LDADD+= -lopie -lmd
|
LDADD+= -lopie -lmd
|
||||||
|
|
||||||
.if !defined(NO_PAM)
|
.if ${MK_PAM_SUPPORT} != "no"
|
||||||
CFLAGS+= -DUSE_PAM
|
CFLAGS+= -DUSE_PAM
|
||||||
DPADD+= ${LIBPAM}
|
DPADD+= ${LIBPAM}
|
||||||
LDADD+= ${MINUSLPAM}
|
LDADD+= ${MINUSLPAM}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
|
.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
|
||||||
|
|
||||||
PROG= tcpd
|
PROG= tcpd
|
||||||
@ -9,7 +11,7 @@ CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" \
|
|||||||
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
|
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
|
||||||
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
|
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
|
||||||
-DFACILITY=LOG_DAEMON
|
-DFACILITY=LOG_DAEMON
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CFLAGS+=-DINET6
|
CFLAGS+=-DINET6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
||||||
# telnet implementations.
|
# telnet implementations.
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
TELNETDIR= ${.CURDIR}/../../contrib/telnet
|
TELNETDIR= ${.CURDIR}/../../contrib/telnet
|
||||||
.PATH: ${TELNETDIR}/telnetd
|
.PATH: ${TELNETDIR}/telnetd
|
||||||
|
|
||||||
@ -25,12 +27,12 @@ DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
|
|||||||
LDADD= -lutil -ltermcap ${LIBTELNET}
|
LDADD= -lutil -ltermcap ${LIBTELNET}
|
||||||
|
|
||||||
.if !defined(RELEASE_CRUNCH)
|
.if !defined(RELEASE_CRUNCH)
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
SRCS+= authenc.c
|
SRCS+= authenc.c
|
||||||
CFLAGS+= -DAUTHENTICATION -DENCRYPTION
|
CFLAGS+= -DAUTHENTICATION -DENCRYPTION
|
||||||
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM}
|
DPADD+= ${LIBMP} ${LIBCRYPTO} ${LIBCRYPT} ${LIBPAM}
|
||||||
LDADD+= -lmp -lcrypto -lcrypt ${MINUSLPAM}
|
LDADD+= -lmp -lcrypto -lcrypt ${MINUSLPAM}
|
||||||
.if !defined(NO_KERBEROS)
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
||||||
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
|
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
|
||||||
DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR}
|
DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR}
|
||||||
LDADD+= -lkrb5 -lasn1 -lroken -lcom_err
|
LDADD+= -lkrb5 -lasn1 -lroken -lcom_err
|
||||||
|
@ -375,8 +375,8 @@ release rerelease:
|
|||||||
.endif
|
.endif
|
||||||
mkdir -p ${CHROOTDIR}
|
mkdir -p ${CHROOTDIR}
|
||||||
@echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
|
@echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
|
||||||
cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNO_HTML -DNO_LIB32 \
|
cd ${WORLDDIR} && ${NATIVEMAKE} -DWITHOUT_GAMES -DWITHOUT_HTML -DNO_LIB32 \
|
||||||
-DNO_MAN -DNO_NLS -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
|
-DWITHOUT_MAN -DWITHOUT_NLS -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
|
||||||
cd ${WORLDDIR} && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
|
cd ${WORLDDIR} && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
|
||||||
if [ -f /etc/resolv.conf ]; then \
|
if [ -f /etc/resolv.conf ]; then \
|
||||||
cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
|
cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
|
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../../../usr.bin/login
|
.PATH: ${.CURDIR}/../../../../usr.bin/login
|
||||||
|
|
||||||
PROG= login
|
PROG= login
|
||||||
@ -12,7 +14,7 @@ CFLAGS+=-DLOGIN_ACCESS -DLOGALL
|
|||||||
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
||||||
LDADD= -lutil -lcrypt
|
LDADD= -lutil -lcrypt
|
||||||
|
|
||||||
.if !defined(NO_PAM)
|
.if ${MK_PAM_SUPPORT} != "no"
|
||||||
CFLAGS+= -DUSE_PAM
|
CFLAGS+= -DUSE_PAM
|
||||||
DPADD+= ${LIBPAM}
|
DPADD+= ${LIBPAM}
|
||||||
LDADD+= ${MINUSLPAM}
|
LDADD+= ${MINUSLPAM}
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# Certain library entries have hard-coded references to
|
# Certain library entries have hard-coded references to
|
||||||
# /bin, /sbin, etc, that require those entries to be
|
# /bin, /sbin, etc, that require those entries to be
|
||||||
# recompiled for use in /rescue. This Makefile
|
# recompiled for use in /rescue. This Makefile
|
||||||
@ -30,10 +32,10 @@ CFLAGS+= -DPOSIX_MISTAKE
|
|||||||
# libc/rpc/Makefile.inc
|
# libc/rpc/Makefile.inc
|
||||||
CFLAGS+= -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
|
CFLAGS+= -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
|
||||||
# libc/Makefile
|
# libc/Makefile
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
CFLAGS+= -DYP
|
CFLAGS+= -DYP
|
||||||
.endif
|
.endif
|
||||||
.if defined(YES_HESIOD)
|
.if ${MK_HESIOD} != "no"
|
||||||
CFLAGS+= -DHESIOD
|
CFLAGS+= -DHESIOD
|
||||||
.endif
|
.endif
|
||||||
CFLAGS+= -I${.CURDIR}/../../lib/libc/include
|
CFLAGS+= -I${.CURDIR}/../../lib/libc/include
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
#$FreeBSD$
|
#$FreeBSD$
|
||||||
# @(#)Makefile 8.1 (Berkeley) 6/2/93
|
# @(#)Makefile 8.1 (Berkeley) 6/2/93
|
||||||
|
|
||||||
|
NO_MAN=
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= rescue
|
PROG= rescue
|
||||||
BINDIR?=/rescue
|
BINDIR?=/rescue
|
||||||
|
|
||||||
@ -68,7 +72,7 @@ CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df echo \
|
|||||||
ed expr getfacl hostname kenv kill ln ls mkdir mv pax ps pwd \
|
ed expr getfacl hostname kenv kill ln ls mkdir mv pax ps pwd \
|
||||||
realpath rm rmdir setfacl sh stty sync test
|
realpath rm rmdir setfacl sh stty sync test
|
||||||
CRUNCH_LIBS+= -lcrypt -ledit -lkvm -ll -lm -ltermcap -lutil
|
CRUNCH_LIBS+= -lcrypt -ledit -lkvm -ll -lm -ltermcap -lutil
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
CRUNCH_LIBS+= -lcrypto
|
CRUNCH_LIBS+= -lcrypto
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -81,11 +85,11 @@ CRUNCH_ALIAS_ln= link
|
|||||||
CRUNCH_ALIAS_rm= unlink
|
CRUNCH_ALIAS_rm= unlink
|
||||||
CRUNCH_ALIAS_ed= red
|
CRUNCH_ALIAS_ed= red
|
||||||
|
|
||||||
.if !defined(NO_RCMDS)
|
.if ${MK_RCMDS} != "no"
|
||||||
CRUNCH_PROGS_bin+= rcp
|
CRUNCH_PROGS_bin+= rcp
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_TCSH)
|
.if ${MK_TCSH} != "no"
|
||||||
CRUNCH_PROGS_bin+= csh
|
CRUNCH_PROGS_bin+= csh
|
||||||
CRUNCH_ALIAS_csh= -csh tcsh -tcsh
|
CRUNCH_ALIAS_csh= -csh tcsh -tcsh
|
||||||
CRUNCH_SUPPRESS_LINK_-csh= 1
|
CRUNCH_SUPPRESS_LINK_-csh= 1
|
||||||
@ -114,16 +118,16 @@ CRUNCH_PROGS_sbin= atacontrol badsect bsdlabel \
|
|||||||
restore rcorder route routed rtquery rtsol savecore \
|
restore rcorder route routed rtquery rtsol savecore \
|
||||||
slattach spppcontrol startslip swapon sysctl tunefs umount
|
slattach spppcontrol startslip swapon sysctl tunefs umount
|
||||||
|
|
||||||
.if !defined(NO_ATM)
|
.if ${MK_ATM} != "no"
|
||||||
CRUNCH_PROGS_sbin+= atm atmconfig fore_dnld ilmid
|
CRUNCH_PROGS_sbin+= atm atmconfig fore_dnld ilmid
|
||||||
CRUNCH_LIBS+= -latm
|
CRUNCH_LIBS+= -latm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
CRUNCH_PROGS_sbin+= ping6
|
CRUNCH_PROGS_sbin+= ping6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_IPFILTER)
|
.if ${MK_IPFILTER} != "no"
|
||||||
CRUNCH_PROGS_sbin+= ipf
|
CRUNCH_PROGS_sbin+= ipf
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -221,7 +225,6 @@ CANONICALOBJDIR:= ${MAKEOBJDIRPREFIX}${.CURDIR}
|
|||||||
CANONICALOBJDIR:= /usr/obj${.CURDIR}
|
CANONICALOBJDIR:= /usr/obj${.CURDIR}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
NO_MAN=
|
|
||||||
CLEANFILES+= $(CONF) *.o *.lo *.c *.mk *.cache *.a *.h
|
CLEANFILES+= $(CONF) *.o *.lo *.c *.mk *.cache *.a *.h
|
||||||
|
|
||||||
# Program names and their aliases contribute hardlinks to 'rescue' executable,
|
# Program names and their aliases contribute hardlinks to 'rescue' executable,
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.5 (Berkeley) 3/31/94
|
# @(#)Makefile 8.5 (Berkeley) 3/31/94
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# XXX MISSING: icheck ncheck
|
# XXX MISSING: icheck ncheck
|
||||||
|
|
||||||
SUBDIR= adjkerntz \
|
SUBDIR= adjkerntz \
|
||||||
@ -92,24 +94,24 @@ SUBDIR= adjkerntz \
|
|||||||
tunefs \
|
tunefs \
|
||||||
umount \
|
umount \
|
||||||
|
|
||||||
.if !defined(NO_ATM)
|
.if ${MK_ATM} != "no"
|
||||||
_atm= atm
|
_atm= atm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CXX)
|
.if ${MK_CXX} != "no"
|
||||||
_devd= devd
|
_devd= devd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_IPFILTER)
|
.if ${MK_IPFILTER} != "no"
|
||||||
_ipf= ipf
|
_ipf= ipf
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_PF)
|
.if ${MK_PF} != "no"
|
||||||
_pfctl= pfctl
|
_pfctl= pfctl
|
||||||
_pflogd= pflogd
|
_pflogd= pflogd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6} != "no"
|
||||||
_ip6fw= ip6fw
|
_ip6fw= ip6fw
|
||||||
_ping6= ping6
|
_ping6= ping6
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# @(#)Makefile.inc 8.1 (Berkeley) 6/8/93
|
# @(#)Makefile.inc 8.1 (Berkeley) 6/8/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
BINDIR?= /sbin
|
BINDIR?= /sbin
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
|
|
||||||
.if defined(NO_DYNAMICROOT)
|
.if ${MK_DYNAMICROOT} == "no"
|
||||||
NO_SHARED?= YES
|
NO_SHARED?= YES
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= concat
|
SUBDIR= concat
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
SUBDIR+=eli
|
SUBDIR+=eli
|
||||||
.endif
|
.endif
|
||||||
SUBDIR+=label
|
SUBDIR+=label
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= ${_ggatec} \
|
SUBDIR= ${_ggatec} \
|
||||||
${_ggated} \
|
${_ggated} \
|
||||||
ggatel
|
ggatel
|
||||||
|
|
||||||
.if !defined(NO_LIBPTHREAD)
|
.if ${MK_LIBPTHREAD} != "no"
|
||||||
_ggatec= ggatec
|
_ggatec= ggatec
|
||||||
_ggated= ggated
|
_ggated= ggated
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= lib libexec usr.bin usr.sbin
|
SUBDIR= lib libexec usr.bin usr.sbin
|
||||||
|
|
||||||
# These are the programs which depend on crypto, but not Kerberos.
|
# These are the programs which depend on crypto, but not Kerberos.
|
||||||
@ -7,7 +9,7 @@ SPROGS= lib/libfetch lib/libpam lib/libradius lib/libtelnet \
|
|||||||
bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet \
|
bin/ed libexec/telnetd usr.bin/fetch usr.bin/telnet \
|
||||||
usr.sbin/pkg_install usr.sbin/ppp usr.sbin/pppd \
|
usr.sbin/pkg_install usr.sbin/ppp usr.sbin/pppd \
|
||||||
usr.sbin/tcpdump/tcpdump
|
usr.sbin/tcpdump/tcpdump
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
SPROGS+=usr.sbin/sendmail
|
SPROGS+=usr.sbin/sendmail
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -26,11 +28,11 @@ secure:
|
|||||||
insecure:
|
insecure:
|
||||||
.for entry in ${SPROGS}
|
.for entry in ${SPROGS}
|
||||||
cd ${.CURDIR}/../${entry}; \
|
cd ${.CURDIR}/../${entry}; \
|
||||||
${MAKE} -DNO_CRYPT cleandir; \
|
${MAKE} -DWITHOUT_CRYPT cleandir; \
|
||||||
${MAKE} -DNO_CRYPT obj; \
|
${MAKE} -DWITHOUT_CRYPT obj; \
|
||||||
${MAKE} -DNO_CRYPT depend; \
|
${MAKE} -DWITHOUT_CRYPT depend; \
|
||||||
${MAKE} -DNO_CRYPT all; \
|
${MAKE} -DWITHOUT_CRYPT all; \
|
||||||
${MAKE} -DNO_CRYPT install
|
${MAKE} -DWITHOUT_CRYPT install
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -1,15 +1,17 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.if exists(${.CURDIR}/../../lib/libcrypt/obj)
|
.if exists(${.CURDIR}/../../lib/libcrypt/obj)
|
||||||
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt/obj
|
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt/obj
|
||||||
.else
|
.else
|
||||||
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
|
CRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(MAKE_IDEA)
|
.if ${MK_IDEA} == "no"
|
||||||
CFLAGS+= -DNO_IDEA
|
CFLAGS+= -DNO_IDEA
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_OPENSSH)
|
.if ${MK_OPENSSH} != "no"
|
||||||
SSHDIR= ${.CURDIR}/../../../crypto/openssh
|
SSHDIR= ${.CURDIR}/../../../crypto/openssh
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR=
|
SUBDIR=
|
||||||
.if !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
SUBDIR+=libcrypto libssl
|
SUBDIR+=libcrypto libssl
|
||||||
.if !defined(NO_OPENSSH)
|
.if ${MK_OPENSSH} != "no"
|
||||||
SUBDIR+=libssh
|
SUBDIR+=libssh
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= crypto
|
LIB= crypto
|
||||||
SHLIBDIR?= /lib
|
SHLIBDIR?= /lib
|
||||||
SHLIB_MAJOR= 4
|
SHLIB_MAJOR= 4
|
||||||
@ -164,7 +166,7 @@ SRCS+= hmac.c
|
|||||||
INCS+= hmac.h
|
INCS+= hmac.h
|
||||||
|
|
||||||
# idea
|
# idea
|
||||||
.if defined(MAKE_IDEA)
|
.if ${MK_IDEA} != "no"
|
||||||
SRCS+= i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c
|
SRCS+= i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c
|
||||||
INCS+= idea.h
|
INCS+= idea.h
|
||||||
.endif
|
.endif
|
||||||
@ -313,7 +315,7 @@ opensslconf.h: opensslconf-${MACHINE_ARCH}.h
|
|||||||
cp ${.ALLSRC} ${.TARGET}
|
cp ${.ALLSRC} ${.TARGET}
|
||||||
|
|
||||||
evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
|
evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
|
||||||
.if !defined(MAKE_IDEA)
|
.if ${MK_IDEA} == "no"
|
||||||
sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET}
|
sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET}
|
||||||
.else
|
.else
|
||||||
cp ${.ALLSRC} ${.TARGET}
|
cp ${.ALLSRC} ${.TARGET}
|
||||||
@ -344,7 +346,7 @@ afterinstall:
|
|||||||
_bn_asmpath= ${LCRYPTO_SRC}/crypto/bn/asm
|
_bn_asmpath= ${LCRYPTO_SRC}/crypto/bn/asm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(MAKE_IDEA)
|
.if ${MK_IDEA} != "no"
|
||||||
_ideapath= ${LCRYPTO_SRC}/crypto/idea
|
_ideapath= ${LCRYPTO_SRC}/crypto/idea
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl
|
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl
|
||||||
LCRYPTO_DOC= ${.CURDIR}/../../../crypto/openssl/doc
|
LCRYPTO_DOC= ${.CURDIR}/../../../crypto/openssl/doc
|
||||||
|
|
||||||
@ -7,7 +9,7 @@ CFLAGS+= -DTERMIOS -DANSI_SOURCE
|
|||||||
CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR}
|
CFLAGS+= -I${LCRYPTO_SRC} -I${LCRYPTO_SRC}/crypto -I${.OBJDIR}
|
||||||
CFLAGS+= -DOPENSSL_THREADS
|
CFLAGS+= -DOPENSSL_THREADS
|
||||||
|
|
||||||
.if !defined(MAKE_IDEA)
|
.if ${MK_IDEA} == "no"
|
||||||
CFLAGS+= -DOPENSSL_NO_IDEA
|
CFLAGS+= -DOPENSSL_NO_IDEA
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LIB= ssh
|
LIB= ssh
|
||||||
SHLIB_MAJOR= 3
|
SHLIB_MAJOR= 3
|
||||||
SRCS= acss.c authfd.c authfile.c bufaux.c buffer.c \
|
SRCS= acss.c authfd.c authfile.c bufaux.c buffer.c \
|
||||||
@ -30,7 +32,7 @@ CFLAGS+= -I${SSHDIR}
|
|||||||
DPADD= ${LIBZ}
|
DPADD= ${LIBZ}
|
||||||
LDADD= -lz
|
LDADD= -lz
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS)
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
||||||
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
||||||
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
|
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
|
||||||
LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
|
LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR=
|
SUBDIR=
|
||||||
.if !defined(NO_OPENSSL)
|
.if ${MK_OPENSSH} != "no"
|
||||||
.if !defined(NO_OPENSSH)
|
|
||||||
SUBDIR+=sftp-server ssh-keysign
|
SUBDIR+=sftp-server ssh-keysign
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR=
|
SUBDIR=
|
||||||
.if !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
SUBDIR+=bdes openssl
|
SUBDIR+=bdes openssl
|
||||||
.if !defined(NO_OPENSSH)
|
.if ${MK_OPENSSH} != "no"
|
||||||
SUBDIR+=scp sftp ssh ssh-add ssh-agent ssh-keygen ssh-keyscan
|
SUBDIR+=scp sftp ssh ssh-add ssh-agent ssh-keygen ssh-keyscan
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= ssh
|
PROG= ssh
|
||||||
CFLAGS+=-I${SSHDIR}
|
CFLAGS+=-I${SSHDIR}
|
||||||
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
||||||
@ -14,7 +16,7 @@ SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
|||||||
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ}
|
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ}
|
||||||
LDADD= -lssh -lutil -lz
|
LDADD= -lssh -lutil -lz
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS)
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
||||||
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
||||||
DPADD+= ${LIBGSSAPI}
|
DPADD+= ${LIBGSSAPI}
|
||||||
LDADD+= -lgssapi
|
LDADD+= -lgssapi
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR=
|
SUBDIR=
|
||||||
.if !defined(NO_OPENSSH) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSH} != "no"
|
||||||
SUBDIR+=sshd
|
SUBDIR+=sshd
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= sshd
|
PROG= sshd
|
||||||
SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
|
SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
|
||||||
sshpty.c sshlogin.c servconf.c serverloop.c \
|
sshpty.c sshlogin.c servconf.c serverloop.c \
|
||||||
@ -23,13 +25,13 @@ CFLAGS+=-I${SSHDIR}
|
|||||||
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
|
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
|
||||||
LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM}
|
LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM}
|
||||||
|
|
||||||
.if !defined(NO_AUDIT)
|
.if ${MK_AUDIT} != "no"
|
||||||
CFLAGS+= -DUSE_BSM_AUDIT
|
CFLAGS+= -DUSE_BSM_AUDIT
|
||||||
DPADD+= ${LIBBSM}
|
DPADD+= ${LIBBSM}
|
||||||
LDADD+= -lbsm
|
LDADD+= -lbsm
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS)
|
.if ${MK_KERBEROS_SUPPORT} != "no"
|
||||||
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
||||||
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
|
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
|
||||||
LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lroken
|
LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lroken
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# Do not include `info' in the SUBDIR list, it is handled separately.
|
# Do not include `info' in the SUBDIR list, it is handled separately.
|
||||||
|
|
||||||
SUBDIR= ${_colldef} \
|
SUBDIR= ${_colldef} \
|
||||||
@ -25,7 +27,7 @@ SUBDIR= ${_colldef} \
|
|||||||
${_timedef} \
|
${_timedef} \
|
||||||
zoneinfo
|
zoneinfo
|
||||||
|
|
||||||
.if !defined(NO_LOCALES)
|
.if ${MK_LOCALES} != "no"
|
||||||
_colldef = colldef
|
_colldef = colldef
|
||||||
_mklocale = mklocale
|
_mklocale = mklocale
|
||||||
_monetdef = monetdef
|
_monetdef = monetdef
|
||||||
@ -34,35 +36,35 @@ _numericdef = numericdef
|
|||||||
_timedef = timedef
|
_timedef = timedef
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_SYSCONS)
|
.if ${MK_SYSCONS} != "no"
|
||||||
_syscons= syscons
|
_syscons= syscons
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
_man= man
|
_man= man
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_GROFF)
|
.if ${MK_GROFF} != "no"
|
||||||
_me= me
|
_me= me
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_EXAMPLES)
|
.if ${MK_EXAMPLES} != "no"
|
||||||
_examples= examples
|
_examples= examples
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_I4B)
|
.if ${MK_I4B} != "no"
|
||||||
_isdn= isdn
|
_isdn= isdn
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_DICT)
|
.if ${MK_DICT} != "no"
|
||||||
_dict= dict
|
_dict= dict
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
_sendmail= sendmail
|
_sendmail= sendmail
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_SHAREDOCS)
|
.if ${MK_SHAREDOCS} != "no"
|
||||||
_doc= doc
|
_doc= doc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= ${_bind9} IPv6 papers psd smm usd
|
SUBDIR= ${_bind9} IPv6 papers psd smm usd
|
||||||
|
|
||||||
.if !defined(NO_BIND)
|
.if ${MK_BIND} != "no"
|
||||||
_bind9= bind9
|
_bind9= bind9
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# From: @(#)Makefile 8.1 (Berkeley) 6/10/93
|
# From: @(#)Makefile 8.1 (Berkeley) 6/10/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# The following modules do not describe FreeBSD:
|
# The following modules do not describe FreeBSD:
|
||||||
# 14.uucpimpl, 15.uucpnet
|
# 14.uucpimpl, 15.uucpnet
|
||||||
|
|
||||||
@ -24,7 +26,7 @@ SUBDIR= title \
|
|||||||
12.timed \
|
12.timed \
|
||||||
18.net
|
18.net
|
||||||
|
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
_08.sendmailop= 08.sendmailop
|
_08.sendmailop= 08.sendmailop
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Doing a make install builds /usr/share/examples
|
# Doing a make install builds /usr/share/examples
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LDIRS= BSD_daemon \
|
LDIRS= BSD_daemon \
|
||||||
FreeBSD_version \
|
FreeBSD_version \
|
||||||
IPv6 \
|
IPv6 \
|
||||||
@ -283,10 +285,10 @@ etc-examples:
|
|||||||
|
|
||||||
.if ${SHARED} != "symlinks"
|
.if ${SHARED} != "symlinks"
|
||||||
SUBDIR= smbfs
|
SUBDIR= smbfs
|
||||||
.if !defined(NO_IPFILTER)
|
.if ${MK_IPFILTER} != "no"
|
||||||
SUBDIR+=ipfilter
|
SUBDIR+=ipfilter
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_PF)
|
.if ${MK_PF} != "no"
|
||||||
SUBDIR+=pf
|
SUBDIR+=pf
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.2 (Berkeley) 4/16/94
|
# @(#)Makefile 8.2 (Berkeley) 4/16/94
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# XXX MISSING: man3f
|
# XXX MISSING: man3f
|
||||||
SUBDIR= man1 man3 man4 man5 man6 man7 man8 man9
|
SUBDIR= man1 man3 man4 man5 man6 man7 man8 man9
|
||||||
|
|
||||||
@ -8,7 +10,7 @@ MAKEWHATIS?= makewhatis
|
|||||||
|
|
||||||
makedb:
|
makedb:
|
||||||
${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
|
${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
|
||||||
.if !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSL} != "no"
|
||||||
${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
|
${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# @(#)Makefile 8.2 (Berkeley) 12/13/93
|
# @(#)Makefile 8.2 (Berkeley) 12/13/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
MAN= assert.3 \
|
MAN= assert.3 \
|
||||||
bitstring.3 \
|
bitstring.3 \
|
||||||
end.3 \
|
end.3 \
|
||||||
@ -144,7 +146,7 @@ MLINKS+= tree.3 RB_EMPTY.3 \
|
|||||||
tree.3 SPLAY_RIGHT.3 \
|
tree.3 SPLAY_RIGHT.3 \
|
||||||
tree.3 SPLAY_ROOT.3
|
tree.3 SPLAY_ROOT.3
|
||||||
|
|
||||||
.if !defined(NO_LIBC_R) || !defined(NO_LIBPTHREAD) || !defined(NO_LIBTHR)
|
.if ${MK_LIBC_R} != "no" || ${MK_LIBPTHREAD} != "no" || ${MK_LIBTHR} != "no"
|
||||||
PTHREAD_MAN= pthread.3 \
|
PTHREAD_MAN= pthread.3 \
|
||||||
pthread_atfork.3 \
|
pthread_atfork.3 \
|
||||||
pthread_attr.3 \
|
pthread_attr.3 \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.include <bsd.init.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
#MISSING: dump.5 plot.5
|
#MISSING: dump.5 plot.5
|
||||||
MAN= acct.5 \
|
MAN= acct.5 \
|
||||||
@ -69,7 +69,7 @@ MLINKS+=rc.conf.5 rc.conf.local.5
|
|||||||
MLINKS+=resolver.5 resolv.conf.5
|
MLINKS+=resolver.5 resolv.conf.5
|
||||||
MLINKS+=utmp.5 lastlog.5 utmp.5 wtmp.5
|
MLINKS+=utmp.5 lastlog.5 utmp.5 wtmp.5
|
||||||
|
|
||||||
.if defined(YES_HESIOD)
|
.if ${MK_HESIOD} != "no"
|
||||||
MAN+= hesiod.conf.5
|
MAN+= hesiod.conf.5
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -276,7 +276,7 @@ This treats nis as the authoritative source of information, except
|
|||||||
when the server is down.
|
when the server is down.
|
||||||
.Sh NOTES
|
.Sh NOTES
|
||||||
If system got compiled with
|
If system got compiled with
|
||||||
.Va NO_NIS
|
.Va WITHOUT_NIS
|
||||||
you have to remove
|
you have to remove
|
||||||
.Sq nis
|
.Sq nis
|
||||||
entries.
|
entries.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
.error bsd.incs.mk cannot be included directly.
|
.error bsd.incs.mk cannot be included directly.
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_INCS) && !defined(NO_TOOLCHAIN)
|
.if !defined(NO_INCS) && ${MK_TOOLCHAIN} != "no"
|
||||||
|
|
||||||
INCSGROUPS?= INCS
|
INCSGROUPS?= INCS
|
||||||
|
|
||||||
@ -81,4 +81,4 @@ installincludes:
|
|||||||
realinstall: installincludes
|
realinstall: installincludes
|
||||||
.ORDER: beforeinstall installincludes
|
.ORDER: beforeinstall installincludes
|
||||||
|
|
||||||
.endif # !defined(NO_INCS) && !defined(NO_TOOLCHAIN)
|
.endif # !defined(NO_INCS) && ${MK_TOOLCHAIN} != "no"
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
#
|
#
|
||||||
# MAKEINFOFLAGS Options for ${MAKEINFO} command. [--no-split]
|
# MAKEINFOFLAGS Options for ${MAKEINFO} command. [--no-split]
|
||||||
#
|
#
|
||||||
# NO_INFO Do not make or install info files. [not set]
|
|
||||||
#
|
|
||||||
# NO_INFOCOMPRESS If you do not want info files be
|
# NO_INFOCOMPRESS If you do not want info files be
|
||||||
# compressed when they are installed. [not set]
|
# compressed when they are installed. [not set]
|
||||||
#
|
#
|
||||||
@ -123,7 +121,7 @@ DVIPS2ASCII?= dvips2ascii
|
|||||||
IFILENS+= ${INFO:S/$/.${_f}/}
|
IFILENS+= ${INFO:S/$/.${_f}/}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.if !defined(NO_INFO)
|
.if ${MK_INFO} != "no"
|
||||||
CLEANFILES+= ${IFILENS}
|
CLEANFILES+= ${IFILENS}
|
||||||
.if !defined(NO_INFOCOMPRESS)
|
.if !defined(NO_INFOCOMPRESS)
|
||||||
CLEANFILES+= ${IFILENS:S/$/${ICOMPRESS_EXT}/}
|
CLEANFILES+= ${IFILENS:S/$/${ICOMPRESS_EXT}/}
|
||||||
@ -172,7 +170,7 @@ CLEANFILES+= ${INFO:S/$/-la.texi/}
|
|||||||
CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/}
|
CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_INFO) && defined(INFO)
|
.if ${MK_INFO} != "no" && defined(INFO)
|
||||||
install: ${INSTALLINFODIRS}
|
install: ${INSTALLINFODIRS}
|
||||||
.if !empty(IFILES:N*.html)
|
.if !empty(IFILES:N*.html)
|
||||||
${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
|
${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \
|
||||||
|
@ -185,7 +185,7 @@ ${SHLIB_NAME}: ${SOBJS}
|
|||||||
`lorder ${SOBJS} | tsort -q` ${LDADD}
|
`lorder ${SOBJS} | tsort -q` ${LDADD}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && !defined(NO_TOOLCHAIN)
|
.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no"
|
||||||
_LIBS+= lib${LIB}_pic.a
|
_LIBS+= lib${LIB}_pic.a
|
||||||
|
|
||||||
lib${LIB}_pic.a: ${SOBJS}
|
lib${LIB}_pic.a: ${SOBJS}
|
||||||
@ -210,7 +210,7 @@ ${LINTLIB}: ${LINTOBJS}
|
|||||||
|
|
||||||
all: ${_LIBS}
|
all: ${_LIBS}
|
||||||
|
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
all: _manpages
|
all: _manpages
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -272,7 +272,7 @@ _libinstall:
|
|||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && !defined(NO_TOOLCHAIN)
|
.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no"
|
||||||
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
||||||
${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
|
${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
|
||||||
.endif
|
.endif
|
||||||
@ -287,7 +287,7 @@ _libinstall:
|
|||||||
.include <bsd.incs.mk>
|
.include <bsd.incs.mk>
|
||||||
.include <bsd.links.mk>
|
.include <bsd.links.mk>
|
||||||
|
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
realinstall: _maninstall
|
realinstall: _maninstall
|
||||||
.ORDER: beforeinstall _maninstall
|
.ORDER: beforeinstall _maninstall
|
||||||
.endif
|
.endif
|
||||||
@ -299,7 +299,7 @@ lint: ${SRCS:M*.c}
|
|||||||
${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
|
${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
.include <bsd.man.mk>
|
.include <bsd.man.mk>
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ LIBARCHIVE?= ${DESTDIR}${LIBDIR}/libarchive.a
|
|||||||
LIBASN1?= ${DESTDIR}${LIBDIR}/libasn1.a
|
LIBASN1?= ${DESTDIR}${LIBDIR}/libasn1.a
|
||||||
LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
|
LIBATM?= ${DESTDIR}${LIBDIR}/libatm.a
|
||||||
LIBBEGEMOT?= ${DESTDIR}${LIBDIR}/libbegemot.a
|
LIBBEGEMOT?= ${DESTDIR}${LIBDIR}/libbegemot.a
|
||||||
.if !defined(NO_BIND) && defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
LIBBIND?= ${DESTDIR}${LIBDIR}/libbind.a
|
LIBBIND?= ${DESTDIR}${LIBDIR}/libbind.a
|
||||||
LIBBIND9?= ${DESTDIR}${LIBDIR}/libbind9.a
|
LIBBIND9?= ${DESTDIR}${LIBDIR}/libbind9.a
|
||||||
.endif
|
.endif
|
||||||
@ -54,7 +54,7 @@ LIBHDB?= ${DESTDIR}${LIBDIR}/libhdb.a
|
|||||||
LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
|
LIBHISTORY?= ${DESTDIR}${LIBDIR}/libhistory.a
|
||||||
LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
|
LIBIPSEC?= ${DESTDIR}${LIBDIR}/libipsec.a
|
||||||
LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
|
LIBIPX?= ${DESTDIR}${LIBDIR}/libipx.a
|
||||||
.if !defined(NO_BIND) && defined(WITH_BIND_LIBS)
|
.if ${MK_BIND_LIBS} != "no"
|
||||||
LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
|
LIBISC?= ${DESTDIR}${LIBDIR}/libisc.a
|
||||||
LIBISCCC?= ${DESTDIR}${LIBDIR}/libisccc.a
|
LIBISCCC?= ${DESTDIR}${LIBDIR}/libisccc.a
|
||||||
LIBISCCFG?= ${DESTDIR}${LIBDIR}/libisccfg.a
|
LIBISCCFG?= ${DESTDIR}${LIBDIR}/libisccfg.a
|
||||||
@ -68,7 +68,7 @@ LIBKRB5?= ${DESTDIR}${LIBDIR}/libkrb5.a
|
|||||||
LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
|
LIBKVM?= ${DESTDIR}${LIBDIR}/libkvm.a
|
||||||
LIBL?= ${DESTDIR}${LIBDIR}/libl.a
|
LIBL?= ${DESTDIR}${LIBDIR}/libl.a
|
||||||
LIBLN?= "don't use LIBLN, use LIBL"
|
LIBLN?= "don't use LIBLN, use LIBL"
|
||||||
.if !defined(NO_BIND)
|
.if ${MK_BIND} != "no"
|
||||||
LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a
|
LIBLWRES?= ${DESTDIR}${LIBDIR}/liblwres.a
|
||||||
.endif
|
.endif
|
||||||
LIBM?= ${DESTDIR}${LIBDIR}/libm.a
|
LIBM?= ${DESTDIR}${LIBDIR}/libm.a
|
||||||
@ -76,7 +76,7 @@ LIBMAGIC?= ${DESTDIR}${LIBDIR}/libmagic.a
|
|||||||
LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a
|
LIBMD?= ${DESTDIR}${LIBDIR}/libmd.a
|
||||||
LIBMEMSTAT?= ${DESTDIR}${LIBDIR}/libmemstat.a
|
LIBMEMSTAT?= ${DESTDIR}${LIBDIR}/libmemstat.a
|
||||||
LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a
|
LIBMENU?= ${DESTDIR}${LIBDIR}/libmenu.a
|
||||||
.if !defined(NO_SENDMAIL)
|
.if ${MK_SENDMAIL} != "no"
|
||||||
LIBMILTER?= ${DESTDIR}${LIBDIR}/libmilter.a
|
LIBMILTER?= ${DESTDIR}${LIBDIR}/libmilter.a
|
||||||
.endif
|
.endif
|
||||||
LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
|
LIBMP?= ${DESTDIR}${LIBDIR}/libmp.a
|
||||||
@ -93,7 +93,7 @@ LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
|
|||||||
LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
|
LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
|
||||||
MINUSLPAM= -lpam
|
MINUSLPAM= -lpam
|
||||||
.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
|
.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
|
||||||
.if !defined(NO_KERBEROS) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_KERBEROS} != "no"
|
||||||
LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
|
LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \
|
||||||
${LIBROKEN} ${LIBCOM_ERR}
|
${LIBROKEN} ${LIBCOM_ERR}
|
||||||
MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
|
MINUSLPAM+= -lkrb5 -lasn1 -lcrypto -lcrypt -lroken -lcom_err
|
||||||
@ -102,11 +102,11 @@ LIBPAM+= ${LIBRADIUS} ${LIBTACPLUS} ${LIBCRYPT} \
|
|||||||
${LIBUTIL} ${LIBOPIE} ${LIBMD}
|
${LIBUTIL} ${LIBOPIE} ${LIBMD}
|
||||||
MINUSLPAM+= -lradius -ltacplus -lcrypt \
|
MINUSLPAM+= -lradius -ltacplus -lcrypt \
|
||||||
-lutil -lopie -lmd
|
-lutil -lopie -lmd
|
||||||
.if !defined(NO_OPENSSH) && !defined(NO_CRYPT) && !defined(NO_OPENSSL)
|
.if ${MK_OPENSSH} != "no"
|
||||||
LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
|
LIBPAM+= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT}
|
||||||
MINUSLPAM+= -lssh -lcrypto -lcrypt
|
MINUSLPAM+= -lssh -lcrypto -lcrypt
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NO_NIS)
|
.if ${MK_NIS} != "no"
|
||||||
LIBPAM+= ${LIBYPCLNT}
|
LIBPAM+= ${LIBYPCLNT}
|
||||||
MINUSLPAM+= -lypclnt
|
MINUSLPAM+= -lypclnt
|
||||||
.endif
|
.endif
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# NLSMODE National Language Support files mode. [${NOBINMODE}]
|
# NLSMODE National Language Support files mode. [${NOBINMODE}]
|
||||||
#
|
#
|
||||||
# NLSOWN National Language Support files owner. [${SHAREOWN}]
|
# NLSOWN National Language Support files owner. [${SHAREOWN}]
|
||||||
#
|
|
||||||
# NO_NLS Do not make or install NLS files. [not set]
|
|
||||||
|
|
||||||
.if !target(__<bsd.init.mk>__)
|
.if !target(__<bsd.init.mk>__)
|
||||||
.error bsd.nls.mk cannot be included directly.
|
.error bsd.nls.mk cannot be included directly.
|
||||||
@ -32,7 +30,7 @@ GENCAT?= gencat
|
|||||||
.msg.cat:
|
.msg.cat:
|
||||||
${GENCAT} ${.TARGET} ${.IMPSRC}
|
${GENCAT} ${.TARGET} ${.IMPSRC}
|
||||||
|
|
||||||
.if defined(NLS) && !empty(NLS) && !defined(NO_NLS)
|
.if defined(NLS) && !empty(NLS) && ${MK_NLS} != "no"
|
||||||
|
|
||||||
#
|
#
|
||||||
# .msg file pre-build rules
|
# .msg file pre-build rules
|
||||||
@ -73,4 +71,4 @@ SYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat
|
|||||||
.endfor
|
.endfor
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.endif # defined(NLS) && !empty(NLS) && !defined(NO_NLS)
|
.endif # defined(NLS) && !empty(NLS) && ${MK_NLS} != "no"
|
||||||
|
@ -104,6 +104,9 @@
|
|||||||
.if !target(__<bsd.own.mk>__)
|
.if !target(__<bsd.own.mk>__)
|
||||||
__<bsd.own.mk>__:
|
__<bsd.own.mk>__:
|
||||||
|
|
||||||
|
SRCCONF?= /etc/src.conf
|
||||||
|
.sinclude "${SRCCONF}"
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
BINOWN?= root
|
BINOWN?= root
|
||||||
BINGRP?= wheel
|
BINGRP?= wheel
|
||||||
@ -165,4 +168,277 @@ STRIP?= -s
|
|||||||
COMPRESS_CMD?= gzip -cn
|
COMPRESS_CMD?= gzip -cn
|
||||||
COMPRESS_EXT?= .gz
|
COMPRESS_EXT?= .gz
|
||||||
|
|
||||||
|
#
|
||||||
|
# Define MK_* variables (which are either "yes" or "no") for users
|
||||||
|
# to set via WITH_*/WITHOUT_* in /etc/src.conf and override in the
|
||||||
|
# make(1) environment.
|
||||||
|
# These should be tested with `== "no"' or `!= "no"' in makefiles.
|
||||||
|
# The NO_* variables should only be set by makefiles.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Supported NO_* options (if defined, MK_* will be forced to "no",
|
||||||
|
# regardless of user's setting).
|
||||||
|
#
|
||||||
|
.for var in \
|
||||||
|
MAN
|
||||||
|
.if defined(NO_${var})
|
||||||
|
WITHOUT_${var}=
|
||||||
|
.endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
#
|
||||||
|
# Compat NO_* options (same as above, except their use is deprecated).
|
||||||
|
#
|
||||||
|
.if !defined(BURN_BRIDGES)
|
||||||
|
.for var in \
|
||||||
|
ACPI \
|
||||||
|
ATM \
|
||||||
|
AUDIT \
|
||||||
|
AUTHPF \
|
||||||
|
BIND \
|
||||||
|
BIND_DNSSEC \
|
||||||
|
BIND_ETC \
|
||||||
|
BIND_LIBS_LWRES \
|
||||||
|
BIND_MTREE \
|
||||||
|
BIND_NAMED \
|
||||||
|
BIND_UTILS \
|
||||||
|
BLUETOOTH \
|
||||||
|
BOOT \
|
||||||
|
CALENDAR \
|
||||||
|
COLLECT2 \
|
||||||
|
CPP \
|
||||||
|
CRYPT \
|
||||||
|
CVS \
|
||||||
|
CXX \
|
||||||
|
DICT \
|
||||||
|
DYNAMICROOT \
|
||||||
|
EXAMPLES \
|
||||||
|
FORTH \
|
||||||
|
FORTRAN \
|
||||||
|
FP_LIBC \
|
||||||
|
GAMES \
|
||||||
|
GCOV \
|
||||||
|
GDB \
|
||||||
|
GNU \
|
||||||
|
GPIB \
|
||||||
|
GROFF \
|
||||||
|
HTML \
|
||||||
|
I4B \
|
||||||
|
INET6 \
|
||||||
|
INFO \
|
||||||
|
IPFILTER \
|
||||||
|
IPX \
|
||||||
|
KERBEROS \
|
||||||
|
LIBC_R \
|
||||||
|
LIBPTHREAD \
|
||||||
|
LIBTHR \
|
||||||
|
LOCALES \
|
||||||
|
LPR \
|
||||||
|
MAILWRAPPER \
|
||||||
|
NETCAT \
|
||||||
|
NIS \
|
||||||
|
NLS \
|
||||||
|
NLS_CATALOGS \
|
||||||
|
OBJC \
|
||||||
|
OPENSSH \
|
||||||
|
OPENSSL \
|
||||||
|
PAM \
|
||||||
|
PCVT \
|
||||||
|
PF \
|
||||||
|
RCMDS \
|
||||||
|
RCS \
|
||||||
|
RESCUE \
|
||||||
|
SENDMAIL \
|
||||||
|
SETUID_LOGIN \
|
||||||
|
SHAREDOCS \
|
||||||
|
SYSCONS \
|
||||||
|
TCSH \
|
||||||
|
TOOLCHAIN \
|
||||||
|
USB \
|
||||||
|
WPA_SUPPLICANT_EAPOL
|
||||||
|
.if defined(NO_${var})
|
||||||
|
#.warning NO_${var} is deprecated in favour of WITHOUT_${var}=
|
||||||
|
WITHOUT_${var}=
|
||||||
|
.endif
|
||||||
|
.endfor
|
||||||
|
.endif # !defined(BURN_BRIDGES)
|
||||||
|
|
||||||
|
#
|
||||||
|
# Older-style variables that enabled behaviour when set.
|
||||||
|
#
|
||||||
|
.if defined(YES_HESIOD)
|
||||||
|
WITH_HESIOD=
|
||||||
|
.endif
|
||||||
|
.if defined(MAKE_IDEA)
|
||||||
|
WITH_IDEA=
|
||||||
|
.endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# MK_* options which default to "yes".
|
||||||
|
#
|
||||||
|
.for var in \
|
||||||
|
ACPI \
|
||||||
|
ATM \
|
||||||
|
AUDIT \
|
||||||
|
AUTHPF \
|
||||||
|
BIND \
|
||||||
|
BIND_DNSSEC \
|
||||||
|
BIND_ETC \
|
||||||
|
BIND_LIBS_LWRES \
|
||||||
|
BIND_MTREE \
|
||||||
|
BIND_NAMED \
|
||||||
|
BIND_UTILS \
|
||||||
|
BLUETOOTH \
|
||||||
|
BOOT \
|
||||||
|
CALENDAR \
|
||||||
|
COLLECT2 \
|
||||||
|
CPP \
|
||||||
|
CRYPT \
|
||||||
|
CVS \
|
||||||
|
CXX \
|
||||||
|
DICT \
|
||||||
|
DYNAMICROOT \
|
||||||
|
EXAMPLES \
|
||||||
|
FORTH \
|
||||||
|
FORTRAN \
|
||||||
|
FP_LIBC \
|
||||||
|
GAMES \
|
||||||
|
GCOV \
|
||||||
|
GDB \
|
||||||
|
GNU \
|
||||||
|
GPIB \
|
||||||
|
GROFF \
|
||||||
|
HTML \
|
||||||
|
I4B \
|
||||||
|
INET6 \
|
||||||
|
INFO \
|
||||||
|
IPFILTER \
|
||||||
|
IPX \
|
||||||
|
KERBEROS \
|
||||||
|
LIBC_R \
|
||||||
|
LIBPTHREAD \
|
||||||
|
LIBTHR \
|
||||||
|
LOCALES \
|
||||||
|
LPR \
|
||||||
|
MAILWRAPPER \
|
||||||
|
MAN \
|
||||||
|
NETCAT \
|
||||||
|
NIS \
|
||||||
|
NLS \
|
||||||
|
NLS_CATALOGS \
|
||||||
|
OBJC \
|
||||||
|
OPENSSH \
|
||||||
|
OPENSSL \
|
||||||
|
PAM \
|
||||||
|
PCVT \
|
||||||
|
PF \
|
||||||
|
RCMDS \
|
||||||
|
RCS \
|
||||||
|
RESCUE \
|
||||||
|
SENDMAIL \
|
||||||
|
SETUID_LOGIN \
|
||||||
|
SHAREDOCS \
|
||||||
|
SYSCONS \
|
||||||
|
TCSH \
|
||||||
|
TOOLCHAIN \
|
||||||
|
USB \
|
||||||
|
WPA_SUPPLICANT_EAPOL
|
||||||
|
.if defined(WITH_${var}) && defined(WITHOUT_${var})
|
||||||
|
.error WITH_${var} and WITHOUT_${var} can't both be set.
|
||||||
|
.endif
|
||||||
|
.if defined(MK_${var})
|
||||||
|
.error MK_${var} can't be set by a user.
|
||||||
|
.endif
|
||||||
|
.if defined(WITHOUT_${var})
|
||||||
|
MK_${var}:= no
|
||||||
|
.else
|
||||||
|
MK_${var}:= yes
|
||||||
|
.endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
#
|
||||||
|
# MK_* options which default to "no".
|
||||||
|
#
|
||||||
|
.for var in \
|
||||||
|
BIND_LIBS \
|
||||||
|
HESIOD \
|
||||||
|
IDEA
|
||||||
|
.if defined(WITH_${var}) && defined(WITHOUT_${var})
|
||||||
|
.error WITH_${var} and WITHOUT_${var} can't both be set.
|
||||||
|
.endif
|
||||||
|
.if defined(MK_${var})
|
||||||
|
.error MK_${var} can't be set by a user.
|
||||||
|
.endif
|
||||||
|
.if defined(WITH_${var})
|
||||||
|
MK_${var}:= yes
|
||||||
|
.else
|
||||||
|
MK_${var}:= no
|
||||||
|
.endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
#
|
||||||
|
# Force some options off if their dependencies are off.
|
||||||
|
#
|
||||||
|
.if ${MK_BIND} == "no"
|
||||||
|
MK_BIND_DNSSEC:= no
|
||||||
|
MK_BIND_ETC:= no
|
||||||
|
MK_BIND_LIBS:= no
|
||||||
|
MK_BIND_LIBS_LWRES:= no
|
||||||
|
MK_BIND_MTREE:= no
|
||||||
|
MK_BIND_NAMED:= no
|
||||||
|
MK_BIND_UTILS:= no
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_CRYPT} == "no"
|
||||||
|
MK_OPENSSL:= no
|
||||||
|
MK_OPENSSH:= no
|
||||||
|
MK_KERBEROS:= no
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_CXX} == "no"
|
||||||
|
MK_COLLECT2:= no
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_OPENSSL} == "no"
|
||||||
|
MK_OPENSSH:= no
|
||||||
|
MK_KERBEROS:= no
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_PF} == "no"
|
||||||
|
MK_AUTHPF:= no
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if ${MK_TOOLCHAIN} == "no"
|
||||||
|
MK_GDB:= no
|
||||||
|
.endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# Set defaults for the MK_*_SUPPORT variables.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# MK_*_SUPPORT options which default to "yes" unless their corresponding
|
||||||
|
# MK_* variable is set to "no".
|
||||||
|
#
|
||||||
|
.for var in \
|
||||||
|
GNU \
|
||||||
|
HESIOD \
|
||||||
|
INET6 \
|
||||||
|
IPX \
|
||||||
|
KERBEROS \
|
||||||
|
PAM
|
||||||
|
.if defined(WITH_${var}_SUPPORT) && defined(WITHOUT_${var}_SUPPORT)
|
||||||
|
.error WITH_${var}_SUPPORT and WITHOUT_${var}_SUPPORT can't both be set.
|
||||||
|
.endif
|
||||||
|
.if defined(MK_${var}_SUPPORT)
|
||||||
|
.error MK_${var}_SUPPORT can't be set by a user.
|
||||||
|
.endif
|
||||||
|
.if defined(WITHOUT_${var}_SUPPORT) || ${MK_${var}} == "no"
|
||||||
|
MK_${var}_SUPPORT:= no
|
||||||
|
.else
|
||||||
|
MK_${var}_SUPPORT:= yes
|
||||||
|
.endif
|
||||||
|
.endfor
|
||||||
|
|
||||||
.endif # !target(__<bsd.own.mk>__)
|
.endif # !target(__<bsd.own.mk>__)
|
||||||
|
@ -74,7 +74,7 @@ ${PROG}: ${OBJS}
|
|||||||
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_MAN) && !defined(MAN) && \
|
.if ${MK_MAN} != "no" && !defined(MAN) && \
|
||||||
!defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \
|
!defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \
|
||||||
!defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \
|
!defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \
|
||||||
!defined(MAN7) && !defined(MAN8) && !defined(MAN9) && \
|
!defined(MAN7) && !defined(MAN8) && !defined(MAN9) && \
|
||||||
@ -85,7 +85,7 @@ MAN1= ${MAN}
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
all: objwarn ${PROG} ${SCRIPTS}
|
all: objwarn ${PROG} ${SCRIPTS}
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
all: _manpages
|
all: _manpages
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
@ -177,7 +177,7 @@ NLSNAME?= ${PROG}
|
|||||||
.include <bsd.incs.mk>
|
.include <bsd.incs.mk>
|
||||||
.include <bsd.links.mk>
|
.include <bsd.links.mk>
|
||||||
|
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
realinstall: _maninstall
|
realinstall: _maninstall
|
||||||
.ORDER: beforeinstall _maninstall
|
.ORDER: beforeinstall _maninstall
|
||||||
.endif
|
.endif
|
||||||
@ -191,7 +191,7 @@ lint: ${SRCS:M*.c}
|
|||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_MAN)
|
.if ${MK_MAN} != "no"
|
||||||
.include <bsd.man.mk>
|
.include <bsd.man.mk>
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# The boot loader
|
# The boot loader
|
||||||
.if !defined(NO_BOOT)
|
.if ${MK_BOOT} != "no"
|
||||||
.if ${MACHINE_ARCH} != "arm"
|
.if ${MACHINE_ARCH} != "arm"
|
||||||
SUBDIR= boot
|
SUBDIR= boot
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
.if ${MK_FORTH} != "no"
|
||||||
# Build the add-in FORTH interpreter.
|
# Build the add-in FORTH interpreter.
|
||||||
SUBDIR+= ficl
|
SUBDIR+= ficl
|
||||||
.endif
|
.endif
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Common Alpha loader build rules
|
# Common Alpha loader build rules
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../common
|
.PATH: ${.CURDIR}/../common
|
||||||
|
|
||||||
PROG= ${BOOT}.sym
|
PROG= ${BOOT}.sym
|
||||||
@ -15,7 +17,7 @@ SRCS+= dev_net.c
|
|||||||
|
|
||||||
.PATH: ${.CURDIR}/../libalpha
|
.PATH: ${.CURDIR}/../libalpha
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
# Enable BootForth
|
# Enable BootForth
|
||||||
BOOT_FORTH= yes
|
BOOT_FORTH= yes
|
||||||
CFLAGS+= -DBOOT_FORTH
|
CFLAGS+= -DBOOT_FORTH
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= loader.sym
|
PROG= loader.sym
|
||||||
INTERNALPROG=
|
INTERNALPROG=
|
||||||
NEWVERSWHAT= "bootstrap loader" i386
|
NEWVERSWHAT= "bootstrap loader" i386
|
||||||
@ -18,7 +20,7 @@ CFLAGS+= -DLOADER_NFS_SUPPORT
|
|||||||
HAVE_PNP= yes
|
HAVE_PNP= yes
|
||||||
HAVE_ISABUS= yes
|
HAVE_ISABUS= yes
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
# Enable BootForth
|
# Enable BootForth
|
||||||
BOOT_FORTH= yes
|
BOOT_FORTH= yes
|
||||||
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386
|
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
NO_MAN=
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= loader.sym
|
PROG= loader.sym
|
||||||
INTERNALPROG=
|
INTERNALPROG=
|
||||||
SRCS= conf.c dev_net.c efimd.c main.c start.S vers.c
|
SRCS= conf.c dev_net.c efimd.c main.c start.S vers.c
|
||||||
NO_MAN=
|
|
||||||
|
|
||||||
CFLAGS+= -DLOADER
|
CFLAGS+= -DLOADER
|
||||||
CFLAGS+= -I${.CURDIR}/../../efi/include
|
CFLAGS+= -I${.CURDIR}/../../efi/include
|
||||||
@ -11,7 +14,7 @@ CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
|
|||||||
CFLAGS+= -I${.CURDIR}/../../efi/libefi
|
CFLAGS+= -I${.CURDIR}/../../efi/libefi
|
||||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
BOOT_FORTH= yes
|
BOOT_FORTH= yes
|
||||||
CFLAGS+= -DBOOT_FORTH
|
CFLAGS+= -DBOOT_FORTH
|
||||||
CFLAGS+= -I${.CURDIR}/../../ficl
|
CFLAGS+= -I${.CURDIR}/../../ficl
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PROG= skiload
|
|
||||||
NO_MAN=
|
NO_MAN=
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
|
PROG= skiload
|
||||||
NEWVERSWHAT= "ia64 SKI boot" ${MACHINE_ARCH}
|
NEWVERSWHAT= "ia64 SKI boot" ${MACHINE_ARCH}
|
||||||
STRIP= # We must not strip skiload at install time.
|
STRIP= # We must not strip skiload at install time.
|
||||||
|
|
||||||
@ -16,7 +19,7 @@ CFLAGS+= -I${.CURDIR}/../../efi/include
|
|||||||
CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
|
CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
|
||||||
LDFLAGS= -Wl,-T${.CURDIR}/ldscript.ia64
|
LDFLAGS= -Wl,-T${.CURDIR}/ldscript.ia64
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
CFLAGS+= -DBOOT_FORTH
|
CFLAGS+= -DBOOT_FORTH
|
||||||
CFLAGS+= -I${.CURDIR}/../../ficl
|
CFLAGS+= -I${.CURDIR}/../../ficl
|
||||||
CFLAGS+= -I${.CURDIR}/../../ficl/${MACHINE_ARCH}
|
CFLAGS+= -I${.CURDIR}/../../ficl/${MACHINE_ARCH}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= loader.sym
|
PROG= loader.sym
|
||||||
INTERNALPROG=
|
INTERNALPROG=
|
||||||
NEWVERSWHAT= "bootstrap loader" pc98
|
NEWVERSWHAT= "bootstrap loader" pc98
|
||||||
@ -19,7 +21,7 @@ CFLAGS+= -DLOADER_NFS_SUPPORT
|
|||||||
HAVE_PNP= yes
|
HAVE_PNP= yes
|
||||||
HAVE_ISABUS= yes
|
HAVE_ISABUS= yes
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
# Enable BootForth
|
# Enable BootForth
|
||||||
BOOT_FORTH= yes
|
BOOT_FORTH= yes
|
||||||
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386
|
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= loader
|
PROG= loader
|
||||||
NEWVERSWHAT= "bootstrap loader" "Open Firmware/PowerPC"
|
NEWVERSWHAT= "bootstrap loader" "Open Firmware/PowerPC"
|
||||||
BINDIR?= /boot
|
BINDIR?= /boot
|
||||||
@ -46,7 +48,7 @@ CFLAGS+= -DLOADER_NFS_SUPPORT
|
|||||||
CFLAGS+= -DLOADER_TFTP_SUPPORT
|
CFLAGS+= -DLOADER_TFTP_SUPPORT
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
# Enable BootForth
|
# Enable BootForth
|
||||||
BOOT_FORTH= yes
|
BOOT_FORTH= yes
|
||||||
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc
|
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= loader
|
PROG= loader
|
||||||
NEWVERSWHAT= "bootstrap loader" "Open Firmware/PowerPC"
|
NEWVERSWHAT= "bootstrap loader" "Open Firmware/PowerPC"
|
||||||
BINDIR?= /boot
|
BINDIR?= /boot
|
||||||
@ -46,7 +48,7 @@ CFLAGS+= -DLOADER_NFS_SUPPORT
|
|||||||
CFLAGS+= -DLOADER_TFTP_SUPPORT
|
CFLAGS+= -DLOADER_TFTP_SUPPORT
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
# Enable BootForth
|
# Enable BootForth
|
||||||
BOOT_FORTH= yes
|
BOOT_FORTH= yes
|
||||||
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc
|
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/powerpc
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
PROG= loader
|
PROG= loader
|
||||||
NEWVERSWHAT= "bootstrap loader" sparc64
|
NEWVERSWHAT= "bootstrap loader" sparc64
|
||||||
INSTALLFLAGS= -b
|
INSTALLFLAGS= -b
|
||||||
@ -41,7 +43,7 @@ CFLAGS+= -DLOADER_NFS_SUPPORT
|
|||||||
CFLAGS+= -DLOADER_TFTP_SUPPORT
|
CFLAGS+= -DLOADER_TFTP_SUPPORT
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_FORTH)
|
.if ${MK_FORTH} != "no"
|
||||||
# Enable BootForth
|
# Enable BootForth
|
||||||
BOOT_FORTH= yes
|
BOOT_FORTH= yes
|
||||||
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/sparc64
|
CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/sparc64
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
SUBDIR= ${_3dfx} \
|
SUBDIR= ${_3dfx} \
|
||||||
${_3dfx_linux} \
|
${_3dfx_linux} \
|
||||||
${_aac} \
|
${_aac} \
|
||||||
@ -295,7 +297,7 @@ _vpo= vpo
|
|||||||
_ufs= ufs
|
_ufs= ufs
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_CRYPT) || defined(ALL_MODULES)
|
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
|
||||||
.if exists(${.CURDIR}/../opencrypto)
|
.if exists(${.CURDIR}/../opencrypto)
|
||||||
_crypto= crypto
|
_crypto= crypto
|
||||||
_cryptodev= cryptodev
|
_cryptodev= cryptodev
|
||||||
@ -305,11 +307,11 @@ _random= random
|
|||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_IPFILTER) || defined(ALL_MODULES)
|
.if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
|
||||||
_ipfilter= ipfilter
|
_ipfilter= ipfilter
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_PF) || defined(ALL_MODULES)
|
.if ${MK_PF} != "no" || defined(ALL_MODULES)
|
||||||
_pf= pf
|
_pf= pf
|
||||||
_pflog= pflog
|
_pflog= pflog
|
||||||
.endif
|
.endif
|
||||||
@ -407,7 +409,7 @@ _ipw= ipw
|
|||||||
_iwi= iwi
|
_iwi= iwi
|
||||||
_mly= mly
|
_mly= mly
|
||||||
_nve= nve
|
_nve= nve
|
||||||
.if !defined(NO_CRYPT) || defined(ALL_MODULES)
|
.if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
|
||||||
.if exists(${.CURDIR}/../crypto/via)
|
.if exists(${.CURDIR}/../crypto/via)
|
||||||
_padlock= padlock
|
_padlock= padlock
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../netinet
|
.PATH: ${.CURDIR}/../../netinet
|
||||||
KMOD= dummynet
|
KMOD= dummynet
|
||||||
SRCS= ip_dummynet.c
|
SRCS= ip_dummynet.c
|
||||||
SRCS+= opt_inet6.h
|
SRCS+= opt_inet6.h
|
||||||
|
|
||||||
.if !defined(KERNBUILDDIR)
|
.if !defined(KERNBUILDDIR)
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
opt_inet6.h:
|
opt_inet6.h:
|
||||||
echo "#define INET6 1" > ${.TARGET}
|
echo "#define INET6 1" > ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../net
|
.PATH: ${.CURDIR}/../../net
|
||||||
KMOD= if_bridge
|
KMOD= if_bridge
|
||||||
SRCS= if_bridge.c bridgestp.c opt_inet.h opt_inet6.h
|
SRCS= if_bridge.c bridgestp.c opt_inet.h opt_inet6.h
|
||||||
@ -8,7 +10,7 @@ SRCS= if_bridge.c bridgestp.c opt_inet.h opt_inet6.h
|
|||||||
opt_inet.h:
|
opt_inet.h:
|
||||||
echo "#define INET 1" > ${.TARGET}
|
echo "#define INET 1" > ${.TARGET}
|
||||||
|
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
opt_inet6.h:
|
opt_inet6.h:
|
||||||
echo "#define INET6 1" > ${.TARGET}
|
echo "#define INET6 1" > ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
|
.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6
|
||||||
|
|
||||||
KMOD= if_gif
|
KMOD= if_gif
|
||||||
@ -10,7 +12,7 @@ SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
|
|||||||
opt_inet.h:
|
opt_inet.h:
|
||||||
echo "#define INET 1" > ${.TARGET}
|
echo "#define INET 1" > ${.TARGET}
|
||||||
|
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
opt_inet6.h:
|
opt_inet6.h:
|
||||||
echo "#define INET6 1" > ${.TARGET}
|
echo "#define INET6 1" > ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
@ -20,11 +22,11 @@ opt_mrouting.h:
|
|||||||
.else
|
.else
|
||||||
OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h
|
OPT_INET6!= cat ${KERNBUILDDIR}/opt_inet6.h
|
||||||
.if empty(OPT_INET6)
|
.if empty(OPT_INET6)
|
||||||
NO_INET6=
|
MK_INET6_SUPPORT= no
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(NO_INET6)
|
.if ${MK_INET6_SUPPORT} != "no"
|
||||||
SRCS+= in6_gif.c
|
SRCS+= in6_gif.c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user