# $Id: Makefile,v 1.11 2002/11/10 00:58:46 jason Exp $

BUILD = ../build

include $(BUILD)/Makefile.pre

TARGET_LIBRARY = libhttp

PACKAGES += UTIL PTHREAD

ifeq ($(USE_YARROW),1)
PACKAGES += YARROW
endif

ifeq ($(USE_SSL),1)
PACKAGES += OPENSSL 
endif

ifeq ($(USE_YARROW),1)
PACKAGES += YARROW
endif

INCDIRS += $(HTTP_INCLUDEDIRS)

CODE_SUBDIRS = msg

# DEFINES += VOCAL_TEST_COVERAGE 


SRC += \
        msg/Http.cxx \
        msg/HttpException.cxx \
        msg/HttpStatus.cxx \
        msg/HttpMethod.cxx \
        msg/HttpUrl.cxx \
        msg/HttpVersion.cxx \
        msg/HttpHeader.cxx \
        msg/HttpMessage.cxx \

docs:	doc++/config.txt
	doc++ --config doc++/config.txt

unit_test: code
	cd msg/unit_test && $(MAKE) unit_test

include $(BUILD)/Makefile.post
