Home | History | Annotate | Line # | Download | only in httpd
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 */
     16 COPTS+=	-DDO_HTPASSWD
     17 PROG=	httpd
     18 MAN=	httpd.8
     19 BUILDSYMLINKS+=bozohttpd.8 httpd.8
     20 SRCS=	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
     22 SRCS+=	main.c
     23 
     24 LDADD=	-lcrypt
     25 DPADD=	${LIBCRYPT}
     26 
     27 WARNS?=	4
     28 
     29 .include <bsd.own.mk>
     30 
     31 .if ${MKCRYPTO} != "no"
     32 
     33 LDADD+=	-lssl -lcrypto
     34 DPADD+=	${LIBSSL} ${LIBCRYPTO}
     35 
     36 .else
     37 
     38 COPTS+=	-DNO_SSL_SUPPORT
     39 
     40 .endif
     41 
     42 .include <bsd.prog.mk>
     43