Makefile revision 1.10
11.10Smrg#	$NetBSD: Makefile,v 1.10 2009/05/23 06:45:28 mrg Exp $
21.2Stls#
31.9Smrg#	$eterna: Makefile,v 1.27 2009/05/22 21:51:38 mrg Exp $
41.1Stls
51.1Stls# compile-time options are:
61.1Stls#	DEBUG			/* include debugging support */
71.1Stls#	NO_USER_SUPPORT		/* don't support /~user requests */
81.1Stls#	NO_CGIBIN_SUPPORT	/* don't support cgi-bin requests */
91.1Stls#	NO_DIRINDEX_SUPPORT	/* don't support directory indexing */
101.1Stls#	NO_DAEMON_MODE		/* don't support daemon mode */
111.1Stls#	NO_DYNAMIC_CONTENT	/* don't support dynamic content updates */
121.1Stls#	NO_SSL_SUPPORT		/* don't support ssl (https) */
131.1Stls#	DO_HTPASSWD		/* support .htpasswd files */
141.3SreedCOPTS+=	-DDO_HTPASSWD
151.2StlsPROG=	httpd
161.2StlsMAN=	httpd.8
171.6SmrgBUILDSYMLINKS+=bozohttpd.8 httpd.8
181.1StlsSRCS=	bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
191.1Stls	tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
201.1Stls
211.5SmrgLDADD=	-lcrypt
221.5SmrgDPADD=	${LIBCRYPT}
231.5Smrg
241.10Smrg.include <bsd.own.mk>
251.10Smrg
261.5Smrg.if ${MKCRYPTO} != "no"
271.5Smrg
281.5SmrgLDADD+=	-lssl -lcrypto
291.5SmrgDPADD+=	${LIBSSL} ${LIBCRYPTO}
301.5Smrg
311.5Smrg.else
321.5Smrg
331.5SmrgCOPTS+=	-DNO_SSL_SUPPORT
341.1Stls
351.5Smrg.endif
361.1Stls
371.1Stls.include <bsd.prog.mk>
38