Makefile revision 1.11
1#	$NetBSD: Makefile,v 1.11 2010/05/10 03:37:45 mrg Exp $
2#
3#	$eterna: Makefile,v 1.27 2009/05/22 21:51:38 mrg Exp $
4#
5# berkeley (netbsd) makefile.  see Makefile.boot for other systems.
6
7# compile-time options are:
8#	DEBUG			/* include debugging support */
9#	NO_USER_SUPPORT		/* don't support /~user requests */
10#	NO_CGIBIN_SUPPORT	/* don't support cgi-bin requests */
11#	NO_DIRINDEX_SUPPORT	/* don't support directory indexing */
12#	NO_DAEMON_MODE		/* don't support daemon mode */
13#	NO_DYNAMIC_CONTENT	/* don't support dynamic content updates */
14#	NO_SSL_SUPPORT		/* don't support ssl (https) */
15#	DO_HTPASSWD		/* support .htpasswd files */
16COPTS+=	-DDO_HTPASSWD
17PROG=	httpd
18MAN=	httpd.8
19BUILDSYMLINKS+=bozohttpd.8 httpd.8
20SRCS=	bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
21	tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
22SRCS+=	main.c
23
24LDADD=	-lcrypt
25DPADD=	${LIBCRYPT}
26
27WARNS?=	4
28
29.include <bsd.own.mk>
30
31.if ${MKCRYPTO} != "no"
32
33LDADD+=	-lssl -lcrypto
34DPADD+=	${LIBSSL} ${LIBCRYPTO}
35
36.else
37
38COPTS+=	-DNO_SSL_SUPPORT
39
40.endif
41
42.include <bsd.prog.mk>
43