# $OpenBSD: Makefile.bsd-wrapper,v 1.13 2014/07/16 01:23:39 deraadt Exp $ .include XCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}" CONFIGURE_OPTS= --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-shared \ --disable-threads \ --disable-openssl-version-check PROG= bin/check/named-checkconf \ bin/check/named-checkzone \ bin/dnssec/dnssec-keygen \ bin/dnssec/dnssec-signzone \ bin/dig/dig \ bin/dig/host \ bin/dig/nslookup \ bin/named/named \ bin/nsupdate/nsupdate \ bin/rndc/rndc-confgen \ bin/rndc/rndc MAN= bin/check/named-checkconf.8 \ bin/check/named-checkzone.8 \ bin/dnssec/dnssec-keygen.8 \ bin/dnssec/dnssec-signzone.8 \ bin/dig/dig.1 \ bin/dig/host.1 \ bin/dig/nslookup.1 \ bin/named/named.8 \ bin/named/named.conf.5 \ bin/nsupdate/nsupdate.8 \ bin/rndc/rndc-confgen.8 \ bin/rndc/rndc.8 \ bin/rndc/rndc.conf.5 BINDIR= /usr/sbin all: config.status ${MAKE} .FORCE: .IGNORE config: .FORCE -rm -f config.cache PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ ${XCFLAGS} \ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \ sh ${.CURDIR}/configure ${CONFIGURE_OPTS} config.status: PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ ${XCFLAGS} \ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \ sh ${.CURDIR}/configure ${CONFIGURE_OPTS} .ifdef NOMAN maninstall: @echo NOMAN is set .endif install: maninstall .for file in ${PROG} ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} \ -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${file} ${DESTDIR}${BINDIR} .endfor BEFOREMAN= config.status clean cleandir: -@if [ -e Makefile ]; then ${MAKE} distclean; fi rm -f ${CLEANFILES} depend: # Nothing here so far... lint: # Nothing here so far... tags: # Nothing here so far... .include .include .ifndef NOMAN .include .endif