Home | History | Annotate | Line # | Download | only in httpd
Makefile revision 1.11
      1  1.11   mrg #	$NetBSD: Makefile,v 1.11 2010/05/10 03:37:45 mrg Exp $
      2   1.2   tls #
      3   1.9   mrg #	$eterna: Makefile,v 1.27 2009/05/22 21:51:38 mrg Exp $
      4  1.11   mrg #
      5  1.11   mrg # berkeley (netbsd) makefile.  see Makefile.boot for other systems.
      6   1.1   tls 
      7   1.1   tls # compile-time options are:
      8   1.1   tls #	DEBUG			/* include debugging support */
      9   1.1   tls #	NO_USER_SUPPORT		/* don't support /~user requests */
     10   1.1   tls #	NO_CGIBIN_SUPPORT	/* don't support cgi-bin requests */
     11   1.1   tls #	NO_DIRINDEX_SUPPORT	/* don't support directory indexing */
     12   1.1   tls #	NO_DAEMON_MODE		/* don't support daemon mode */
     13   1.1   tls #	NO_DYNAMIC_CONTENT	/* don't support dynamic content updates */
     14   1.1   tls #	NO_SSL_SUPPORT		/* don't support ssl (https) */
     15   1.1   tls #	DO_HTPASSWD		/* support .htpasswd files */
     16   1.3  reed COPTS+=	-DDO_HTPASSWD
     17   1.2   tls PROG=	httpd
     18   1.2   tls MAN=	httpd.8
     19   1.6   mrg BUILDSYMLINKS+=bozohttpd.8 httpd.8
     20   1.1   tls SRCS=	bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c \
     21   1.1   tls 	tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
     22  1.11   mrg SRCS+=	main.c
     23   1.1   tls 
     24   1.5   mrg LDADD=	-lcrypt
     25   1.5   mrg DPADD=	${LIBCRYPT}
     26   1.5   mrg 
     27  1.11   mrg WARNS?=	4
     28  1.11   mrg 
     29  1.10   mrg .include <bsd.own.mk>
     30  1.10   mrg 
     31   1.5   mrg .if ${MKCRYPTO} != "no"
     32   1.5   mrg 
     33   1.5   mrg LDADD+=	-lssl -lcrypto
     34   1.5   mrg DPADD+=	${LIBSSL} ${LIBCRYPTO}
     35   1.5   mrg 
     36   1.5   mrg .else
     37   1.5   mrg 
     38   1.5   mrg COPTS+=	-DNO_SSL_SUPPORT
     39   1.1   tls 
     40   1.5   mrg .endif
     41   1.1   tls 
     42   1.1   tls .include <bsd.prog.mk>
     43