WWW_MACH=os2
WWW=../..
WTMP=../..

#	These are the subproducts:

LIBRARY=$(WTMP)/Library/libwww.a
LINEMODE=$(WWW)/LineMode/www
DAEMON=$(WWW)/Daemon/httpd

all:	$(LIBRARY) $(LINEMODE) # $(DAEMON)
	@echo BUILD complete!

daemon: $(DAEMON)
	@echo BUILD complete!

linemode: $(LINEMODE)
	@echo BUILD complete!

library: $(LIBRARY)
	@echo BUILD complete!

$(LIBRARY):
	@cat	$(WWW)/All/Makefile.include \
		$(WWW)/Library/Implementation/Version.make \
		$(WWW)/Library/Implementation/CommonMakefile > \
		$(WWW)/Library/Makefile;
	@(cd $(WWW)/Library; make)

$(LINEMODE): $(LIBRARY)
	@cat	$(WWW)/All/Makefile.include \
		$(WWW)/LineMode/Implementation/Version.make \
		$(WWW)/LineMode/Implementation/CommonMakefile > \
		$(WWW)/LineMode/Makefile;
	@(cd $(WWW)/LineMode; make)

$(DAEMON): $(LIBRARY)
	@cat	$(WWW)/All/Makefile.include \
		$(WWW)/Daemon/Implementation/Version.make \
		$(WWW)/Daemon/Implementation/CommonMakefile > \
		$(WWW)/Daemon/Makefile;
	@(cd $(WWW)/Daemon; make)

