head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2009.11.05.16.43.25;	author agc;	state Exp;
branches;
next	1.2;
commitid	WxBP1aZDQRwtLlau;

1.2
date	2009.11.05.16.07.50;	author agc;	state Exp;
branches;
next	1.1;
commitid	cCNEEIhh6wigzlau;

1.1
date	2009.11.04.22.59.21;	author agc;	state Exp;
branches;
next	;
commitid	A3Xd1SftuuutSfau;


desc
@@


1.3
log
@start to repair the API
@
text
@#	$eterna: Makefile,v 1.1 2009/05/22 21:51:39 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>
@


1.2
log
@First part is getting there.
Horrible interface, though
@
text
@d17 1
@


1.1
log
@add make glue for lib
@
text
@d19 3
@

