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

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