Annotation of src/usr.bin/sudo/Makefile.bsd-wrapper, Revision 1.6
1.6 ! d 1: # $OpenBSD: Makefile.bsd-wrapper,v 1.5 2000/01/31 21:11:12 d Exp $
1.1 millert 2:
3: MAN= sudo.8 sudoers.5 visudo.8
4: XCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}"
5: CONFIGURE_OPTS= --prefix=/usr --with-devel --with-insults \
1.4 millert 6: --with-env-editor --disable-path-info --with-logfac=authpriv
1.1 millert 7:
8: .include <bsd.own.mk>
9:
10: .if (${SKEY} == "yes")
11: CONFIGURE_OPTS+=--with-skey
12: LDADD+= -lskey
13: DPADD+= ${LIBSKEY}
14: .endif
15:
16: .if (${KERBEROS} == "yes")
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" \
38: ${XCFLAGS} \
39: INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
40: sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
41:
42: config.status:
43: PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
44: ${XCFLAGS} \
45: INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
46: sh ${.CURDIR}/configure ${CONFIGURE_OPTS} ${CF}
47:
48: .ifdef NOMAN
49: maninstall:
1.6 ! d 50: @echo NOMAN is set
1.1 millert 51: .endif
52:
53: install: maninstall
54: ${MAKE} ${XCFLAGS} prefix=${DESTDIR}/usr sysconfdir=${DESTDIR}/etc \
1.3 millert 55: bindir=${DESTDIR}/usr/bin INSTALL="${INSTALL} ${INSTALL_COPY}" \
56: install-binaries
1.1 millert 57:
58: clean cleandir:
1.5 d 59: @test ! -e Makefile || ${MAKE} distclean
1.1 millert 60:
61: depend:
62: # Nothing here so far...
63:
64: lint:
65: # Nothing here so far...
66:
67: tags:
68: # Nothing here so far...
69:
70: .include <bsd.obj.mk>
71: .include <bsd.subdir.mk>
72: .ifndef NOMAN
73: .include <bsd.man.mk>
74: .endif