# $Id$

include $(GNUSTEP_MAKEFILES)/common.make

TOOL_NAME = \
	mime2xml	\
	imapls		\
	encoding	\
	fmdls		\
	testdirenum	\
	bmlookup	\
	test_qpdecode	\
	eoqual		\
	ldapls		\
	ldap2dsml	\
	ldapchkpwd	\
	imapquota	\
	testsock	\
	httpu_notify	\
	ical2		\
	ical3		\
	parserule	\
	testurl		\

ifneq ($(OBJC_RUNTIME_LIB),apple)
TOOL_NAME += subclassing
endif

imapquota_OBJC_FILES       = ImapQuotaTool.m ImapTool.m imapquota.m
imapget_OBJC_FILES       = ImapTool.m imapget.m
mime2xml_OBJC_FILES      = Mime2XmlTool.m mime2xml.m
imapls_OBJC_FILES        = ImapTool.m ImapListTool.m imapls.m
encoding_OBJC_FILES      = EncodingTool.m encoding.m
subclassing_OBJC_FILES   = subclassing.m
fmdls_OBJC_FILES         = fmdls.m
bmlookup_OBJC_FILES      = bmlookup.m
testdirenum_OBJC_FILES   = testdirenum.m
test_qpdecode_OBJC_FILES = test_qpdecode.m
eoqual_OBJC_FILES        = eoqual.m EOQualTool.m
ldapls_OBJC_FILES	 = ldapls.m
ldap2dsml_OBJC_FILES	 = ldap2dsml.m
ldapchkpwd_OBJC_FILES	 = ldapchkpwd.m
testsock_OBJC_FILES      = testsock.m
parserule_OBJC_FILES     = parserule.m
httpu_notify_OBJC_FILES  = httpu_notify.m
testurl_OBJC_FILES       = testurl.m

ical2_OBJC_FILES	 = ical2.m
ical3_OBJC_FILES	 = ical3.m

#TOOL_NAME = #pwd-check
#pwd-check_OBJC_FILES = pwd-check.m

ldapls_TOOL_LIBS     += -lNGLdap
ldap2dsml_TOOL_LIBS  += -lNGLdap
ldapchkpwd_TOOL_LIBS += -lNGLdap

ical2_TOOL_LIBS += -lNGiCal -lSaxObjC
ical3_TOOL_LIBS += -lNGiCal -lSaxObjC

-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble