etc/services - sync with NetBSD-8
[minix.git] / libexec / httpd / libbozohttpd / Makefile
blob5a9ad1825f3a9b164ae630c7689abf925ee90b7b
1 # $eterna: Makefile,v 1.1 2010/05/10 02:24:31 mrg Exp $
3 .PATH: $(.CURDIR)/..
5 # build bozohttpd library
6 LIB= bozohttpd
7 COPTS+= -I$(.CURDIR)/..
9 COPTS+= -DDO_HTPASSWD
10 CPPFLAGS+= -DDO_HTPASSWD
11 SRCS= bozohttpd.c ssl-bozo.c auth-bozo.c cgi-bozo.c daemon-bozo.c
12 SRCS+= tilde-luzah-bozo.c dir-index-bozo.c content-bozo.c
13 SRCS+= lua-bozo.c
15 LDADD= -lcrypt
16 DPADD= ${LIBCRYPT}
18 MAN= libbozohttpd.3
19 WARNS= 4
21 INCS= bozohttpd.h
22 INCSDIR= /usr/include
24 .include <bsd.own.mk>
26 .if ${MKCRYPTO} != "no"
28 LDADD+= -lssl -lcrypto
29 DPADD+= ${LIBSSL} ${LIBCRYPTO}
31 .else
33 COPTS+= -DNO_SSL_SUPPORT
35 .endif
37 .include <bsd.lib.mk>