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

1.18    ! millert     1: #      $OpenBSD: Makefile.bsd-wrapper,v 1.17 2003/03/16 02:15:32 millert Exp $
1.1       millert     2:
                      3: MAN=   sudo.8 sudoers.5 visudo.8
1.11      millert     4: BINOWN=        root
1.18    ! millert     5: XCFLAGS=       CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" \
        !             6:                LDFLAGS="${LDFLAGS} ${LDSTATIC}"
1.14      millert     7: CONFIGURE_OPTS=        --prefix=/usr --with-devel --with-insults --with-bsdauth \
                      8:                --with-env-editor --disable-path-info --with-logfac=authpriv
1.1       millert     9:
                     10: .include <bsd.own.mk>
                     11:
                     12: all:   config.status
                     13:        ${MAKE}
                     14:
                     15: .FORCE: .IGNORE
                     16:
                     17: .ifdef GLOBAL_AUTOCONF_CACHE
                     18: CF=    --cache-file=${GLOBAL_AUTOCONF_CACHE}
                     19: .else
                     20: CF=
                     21: .endif
                     22:
                     23: config: .FORCE
                     24: .ifndef GLOBAL_AUTOCONF_CACHE
                     25:        -rm -f config.cache
                     26: .endif
                     27:        PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
1.7       millert    28:        CONFIG_FILES="Makefile config.h pathnames.h" \
1.11      millert    29:        ${XCFLAGS} sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
1.1       millert    30:
1.16      millert    31: config.status: configure
1.1       millert    32:        PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
1.7       millert    33:        CONFIG_FILES="Makefile config.h pathnames.h" \
1.11      millert    34:        ${XCFLAGS} sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
1.1       millert    35:
                     36: .ifdef NOMAN
                     37: maninstall:
1.6       d          38:        @echo NOMAN is set
1.1       millert    39: .endif
                     40:
                     41: install: maninstall
1.15      millert    42:        ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g \
                     43:            ${BINGRP} -m 4555 sudo ${DESTDIR}/usr/bin/sudo
                     44:        ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g \
                     45:            ${BINGRP} -m ${BINMODE} visudo ${DESTDIR}/usr/sbin/visudo
1.1       millert    46:
                     47: clean cleandir:
1.12      millert    48:        @test ! -e Makefile || ${MAKE} distclean
                     49:        rm -f def_data.c def_data.h
1.1       millert    50:
                     51: depend:
                     52:        # Nothing here so far...
                     53:
                     54: lint:
                     55:        # Nothing here so far...
                     56:
                     57: tags:
                     58:        # Nothing here so far...
                     59:
                     60: .include <bsd.obj.mk>
                     61: .include <bsd.subdir.mk>
                     62: .ifndef NOMAN
                     63: .include <bsd.man.mk>
                     64: .endif