
.SUFFIXES: .doc



all: bvh_tool.doc bdb_tool.doc sip_tool.doc gz_tool.doc https_tool.doc http_tool.doc ssl_tool.doc ipaddr_tool.doc protocol.doc mime_tool.doc smtp_tool.doc isnet.doc



C2DOCD = ../../Tools
C2DOC = $(C2DOCD)/c2doc


sip_tool.doc:  ../sip_tool.c  ../sip_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

gz_tool.doc:  ../gz_tool.c  ../gz_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

https_tool.doc:  ../https_tool.c  ../https_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

http_tool.doc:  ../http_tool.c  ../http_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

ssl_tool.doc:  ../ssl_tool.c  ../ssl_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

ipaddr_tool.doc:  ../ipaddr_tool.c  ../ipaddr_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

protocol.doc:  ../protocol.c  ../protocol.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

mime_tool.doc:  ../mime_tool.c  ../mime_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

smtp_tool.doc:  ../smtp_tool.c  ../smtp_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

isnet.doc:  ../isnet.c ../isnet.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

bdb_tool.doc:  ../bdb_tool.c ../bdb_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@

bvh_tool.doc:  ../bvh_tool.c ../bvh_tool.h  $(C2DOC)
	$(C2DOC)  ../$(*).h >  $@
	$(C2DOC)  ../$(*).c >> $@



clean: 
	rm -f *.doc *~


$(C2DOC): 
	(cd $(C2DOCD) && make c2doc || make c2doc.exe)

