[BACK]Return to Makefile.bsd-wrapper CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Annotation of src/usr.bin/sudo/Makefile.bsd-wrapper, Revision 1.9

1.9     ! espie       1: #      $OpenBSD: Makefile.bsd-wrapper,v 1.8 2000/08/20 18:42:41 millert Exp $
1.1       millert     2:
                      3: MAN=   sudo.8 sudoers.5 visudo.8
                      4: XCFLAGS=       CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}"
1.8       millert     5: CONFIGURE_OPTS=        --prefix=/usr --with-devel --with-insults --with-logincap \
1.4       millert     6:                --with-env-editor --disable-path-info --with-logfac=authpriv
1.1       millert     7:
                      8: .include <bsd.own.mk>
                      9:
1.9     ! espie      10: .if (${SKEY:L} == "yes")
1.1       millert    11: CONFIGURE_OPTS+=--with-skey
                     12: LDADD+= -lskey
                     13: DPADD+= ${LIBSKEY}
                     14: .endif
                     15:
1.9     ! espie      16: .if (${KERBEROS:L} == "yes")
1.1       millert    17: CONFIGURE_OPTS+=--with-kerb4
                     18: LDADD+= -lkrb -ldes -lkafs
                     19: DPADD+= ${LIBKRB} ${LIBDES} ${LIBKAFS}
                     20: .endif
                     21:
                     22: all:   config.status
                     23:        ${MAKE}
                     24:
                     25: .FORCE: .IGNORE
                     26:
                     27: .ifdef GLOBAL_AUTOCONF_CACHE
                     28: CF=    --cache-file=${GLOBAL_AUTOCONF_CACHE}
                     29: .else
                     30: CF=
                     31: .endif
                     32:
                     33: config: .FORCE
                     34: .ifndef GLOBAL_AUTOCONF_CACHE
                     35:        -rm -f config.cache
                     36: .endif
                     37:        PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
1.7       millert    38:        CONFIG_FILES="Makefile config.h pathnames.h" \
1.1       millert    39:        ${XCFLAGS} \
                     40:        INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
                     41:        sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
                     42:
                     43: config.status:
                     44:        PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
1.7       millert    45:        CONFIG_FILES="Makefile config.h pathnames.h" \
1.1       millert    46:        ${XCFLAGS} \
                     47:        INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
                     48:        sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
                     49:
                     50: .ifdef NOMAN
                     51: maninstall:
1.6       d          52:        @echo NOMAN is set
1.1       millert    53: .endif
                     54:
                     55: install: maninstall
                     56:        ${MAKE} ${XCFLAGS} prefix=${DESTDIR}/usr sysconfdir=${DESTDIR}/etc \
1.3       millert    57:                bindir=${DESTDIR}/usr/bin INSTALL="${INSTALL} ${INSTALL_COPY}" \
                     58:                install-binaries
1.1       millert    59:
                     60: clean cleandir:
1.5       d          61:         @test ! -e Makefile || ${MAKE} distclean
1.1       millert    62:
                     63: depend:
                     64:        # Nothing here so far...
                     65:
                     66: lint:
                     67:        # Nothing here so far...
                     68:
                     69: tags:
                     70:        # Nothing here so far...
                     71:
                     72: .include <bsd.obj.mk>
                     73: .include <bsd.subdir.mk>
                     74: .ifndef NOMAN
                     75: .include <bsd.man.mk>
                     76: .endif