[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / libexec / httpd

File: [cvs.NetBSD.org] / src / libexec / httpd / Makefile (download)

Revision 1.7.8.1, Wed May 13 19:18:38 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.7: +1 -3 lines

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

#	$NetBSD: Makefile,v 1.7.8.1 2009/05/13 19:18:38 jym Exp $
#
#	$eterna: Makefile,v 1.26 2005/09/27 20:09:20 mrg Exp $

# compile-time options are:
#	DEBUG			/* include debugging support */
#	NO_USER_SUPPORT		/* don't support /~user requests */
#	NO_CGIBIN_SUPPORT	/* don't support cgi-bin requests */
#	NO_DIRINDEX_SUPPORT	/* don't support directory indexing */
#	NO_DAEMON_MODE		/* don't support daemon mode */
#	NO_DYNAMIC_CONTENT	/* don't support dynamic content updates */
#	NO_SSL_SUPPORT		/* don't support ssl (https) */
#	DO_HTPASSWD		/* support .htpasswd files */
COPTS+=	-DDO_HTPASSWD
PROG=	httpd
MAN=	httpd.8
BUILDSYMLINKS+=bozohttpd.8 httpd.8
SRCS=	bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
	tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c

LDADD=	-lcrypt
DPADD=	${LIBCRYPT}

.include <bsd.own.mk>

.if ${MKCRYPTO} != "no"

LDADD+=	-lssl -lcrypto
DPADD+=	${LIBSSL} ${LIBCRYPTO}

.else

COPTS+=	-DNO_SSL_SUPPORT

.endif

.include <bsd.prog.mk>