[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.13

1.13    ! millert     1: #      $OpenBSD: Makefile.bsd-wrapper,v 1.12 2002/01/03 15:25:04 millert Exp $
1.1       millert     2:
                      3: MAN=   sudo.8 sudoers.5 visudo.8
1.11      millert     4: BINOWN=        root
1.1       millert     5: XCFLAGS=       CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}"
1.13    ! millert     6: CONFIGURE_OPTS=        --prefix=/usr --with-devel --with-execv --with-insults \
        !             7:                --with-bsdauth --with-env-editor --disable-path-info \
        !             8:                --with-logfac=authpriv
1.1       millert     9:
                     10: .include <bsd.own.mk>
                     11:
1.9       espie      12: .if (${SKEY:L} == "yes")
1.1       millert    13: CONFIGURE_OPTS+=--with-skey
                     14: LDADD+= -lskey
                     15: DPADD+= ${LIBSKEY}
                     16: .endif
                     17:
1.9       espie      18: .if (${KERBEROS:L} == "yes")
1.1       millert    19: CONFIGURE_OPTS+=--with-kerb4
                     20: LDADD+= -lkrb -ldes -lkafs
                     21: DPADD+= ${LIBKRB} ${LIBDES} ${LIBKAFS}
                     22: .endif
                     23:
                     24: all:   config.status
                     25:        ${MAKE}
                     26:
                     27: .FORCE: .IGNORE
                     28:
                     29: .ifdef GLOBAL_AUTOCONF_CACHE
                     30: CF=    --cache-file=${GLOBAL_AUTOCONF_CACHE}
                     31: .else
                     32: CF=
                     33: .endif
                     34:
                     35: config: .FORCE
                     36: .ifndef GLOBAL_AUTOCONF_CACHE
                     37:        -rm -f config.cache
                     38: .endif
                     39:        PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
1.7       millert    40:        CONFIG_FILES="Makefile config.h pathnames.h" \
1.11      millert    41:        ${XCFLAGS} sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
1.1       millert    42:
                     43: config.status:
                     44:        PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
1.7       millert    45:        CONFIG_FILES="Makefile config.h pathnames.h" \
1.11      millert    46:        ${XCFLAGS} sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
1.1       millert    47:
                     48: .ifdef NOMAN
                     49: maninstall:
1.6       d          50:        @echo NOMAN is set
1.1       millert    51: .endif
                     52:
                     53: install: maninstall
1.11      millert    54:        ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 4555 \
                     55:            sudo ${DESTDIR}/usr/bin/sudo
                     56:        ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
                     57:            visudo ${DESTDIR}/usr/sbin/visudo
1.1       millert    58:
                     59: clean cleandir:
1.12      millert    60:        @test ! -e Makefile || ${MAKE} distclean
                     61:        rm -f def_data.c def_data.h
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