# makefile for dtn-mail
# Jouni Karvo, Helsinki University of Technology TKK, 2007

-include ./Make.config

SUBDIRS= dtn doc

SMALLSRCS = dtn/api/*.class

ALLSRCS   = $(SMALLSRCS) dtn/api/nativeagent/*.class

all:
	for I in $(SUBDIRS) ; do make -C $$I $@ ; done
	$(JAR) cf $(TOPDIR)/dtn/api/nativeapi.jar $(SMALLSRCS) 
	$(JAR) cf $(TOPDIR)/dtn/api/nativeagent/nativeagent.jar $(ALLSRCS) 


clean:
	for I in $(SUBDIRS) ; do make -C $$I $@ ; done
	$(RM) *~
# DO NOT DELETE
