Makefile revision 1.11
11.11Smrg#	$NetBSD: Makefile,v 1.11 2010/05/10 03:37:45 mrg Exp $
21.2Stls#
31.9Smrg#	$eterna: Makefile,v 1.27 2009/05/22 21:51:38 mrg Exp $
41.11Smrg#
51.11Smrg# berkeley (netbsd) makefile.  see Makefile.boot for other systems.
61.1Stls
71.1Stls# compile-time options are:
81.1Stls#	DEBUG			/* include debugging support */
91.1Stls#	NO_USER_SUPPORT		/* don't support /~user requests */
101.1Stls#	NO_CGIBIN_SUPPORT	/* don't support cgi-bin requests */
111.1Stls#	NO_DIRINDEX_SUPPORT	/* don't support directory indexing */
121.1Stls#	NO_DAEMON_MODE		/* don't support daemon mode */
131.1Stls#	NO_DYNAMIC_CONTENT	/* don't support dynamic content updates */
141.1Stls#	NO_SSL_SUPPORT		/* don't support ssl (https) */
151.1Stls#	DO_HTPASSWD		/* support .htpasswd files */
161.3SreedCOPTS+=	-DDO_HTPASSWD
171.2StlsPROG=	httpd
181.2StlsMAN=	httpd.8
191.6SmrgBUILDSYMLINKS+=bozohttpd.8 httpd.8
201.1StlsSRCS=	bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
211.1Stls	tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
221.11SmrgSRCS+=	main.c
231.1Stls
241.5SmrgLDADD=	-lcrypt
251.5SmrgDPADD=	${LIBCRYPT}
261.5Smrg
271.11SmrgWARNS?=	4
281.11Smrg
291.10Smrg.include <bsd.own.mk>
301.10Smrg
311.5Smrg.if ${MKCRYPTO} != "no"
321.5Smrg
331.5SmrgLDADD+=	-lssl -lcrypto
341.5SmrgDPADD+=	${LIBSSL} ${LIBCRYPTO}
351.5Smrg
361.5Smrg.else
371.5Smrg
381.5SmrgCOPTS+=	-DNO_SSL_SUPPORT
391.1Stls
401.5Smrg.endif
411.1Stls
421.1Stls.include <bsd.prog.mk>
43