Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / libexec / httpd / Makefile
blobf066c547c9d1db3112321b4278e29254b86e43ab
1 # $NetBSD: Makefile,v 1.9 2009/05/23 02:26:03 mrg Exp $
3 # $eterna: Makefile,v 1.27 2009/05/22 21:51:38 mrg Exp $
5 # compile-time options are:
6 # DEBUG /* include debugging support */
7 # NO_USER_SUPPORT /* don't support /~user requests */
8 # NO_CGIBIN_SUPPORT /* don't support cgi-bin requests */
9 # NO_DIRINDEX_SUPPORT /* don't support directory indexing */
10 # NO_DAEMON_MODE /* don't support daemon mode */
11 # NO_DYNAMIC_CONTENT /* don't support dynamic content updates */
12 # NO_SSL_SUPPORT /* don't support ssl (https) */
13 # DO_HTPASSWD /* support .htpasswd files */
14 COPTS+= -DDO_HTPASSWD
15 PROG= httpd
16 MAN= httpd.8
17 BUILDSYMLINKS+=bozohttpd.8 httpd.8
18 SRCS= bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
19 tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
21 LDADD= -lcrypt
22 DPADD= ${LIBCRYPT}
24 .include <bsd.own.mk>
26 .if ${MKCRYPTO} != "no"
28 LDADD+= -lssl -lcrypto
29 DPADD+= ${LIBSSL} ${LIBCRYPTO}
31 .else
33 COPTS+= -DNO_SSL_SUPPORT
35 .endif
37 .include <bsd.prog.mk>