NetBSD/libexec/httpd/libbozohttpd/Makefile
mrg 390458fa54 import bozohttpd 20100509. it has these changes:
o  major rework and clean up of internal interfaces.  move the main
   program into main.c, the remaining parts are useable as library.
   add bindings for lua.  by Alistair G. Crooks <agc@netbsd.org>
o  fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325


special thanks to al for the majority of these changes.
2010-05-10 03:30:04 +00:00

37 lines
589 B
Makefile

# $eterna: Makefile,v 1.1 2010/05/10 02:24:31 mrg Exp $
.PATH: $(.CURDIR)/..
# build bozohttpd library
LIB= bozohttpd
COPTS+= -I$(.CURDIR)/..
COPTS+= -DDO_HTPASSWD
CPPFLAGS+= -DDO_HTPASSWD
SRCS= bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c
SRCS+= tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
LDADD= -lcrypt
DPADD= ${LIBCRYPT}
MAN= libbozohttpd.3
WARNS= 4
INCS= bozohttpd.h
INCSDIR= /usr/include
.include <bsd.own.mk>
.if ${MKCRYPTO} != "no"
LDADD+= -lssl -lcrypto
DPADD+= ${LIBSSL} ${LIBCRYPTO}
.else
COPTS+= -DNO_SSL_SUPPORT
.endif
.include <bsd.lib.mk>