Home | History | Annotate | Line # | Download | only in httpd
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2008/03/03 03:10:53 mrg Exp $
      2 #
      3 #	$eterna: Makefile,v 1.26 2005/09/27 20:09:20 mrg Exp $
      4 
      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
     20 
     21 LDADD=	-lcrypt
     22 DPADD=	${LIBCRYPT}
     23 
     24 WARNS=	3
     25 
     26 .include <bsd.own.mk>
     27 
     28 .if ${MKCRYPTO} != "no"
     29 
     30 LDADD+=	-lssl -lcrypto
     31 DPADD+=	${LIBSSL} ${LIBCRYPTO}
     32 
     33 .else
     34 
     35 COPTS+=	-DNO_SSL_SUPPORT
     36 
     37 .endif
     38 
     39 .include <bsd.prog.mk>
     40