SUBDIRS = base base2 base3 win advance wsbuilder net title wstracer wsagent j3wlib opengl odbc mysql postgres

all::
	cd base && $(MAKE) -f make.win all
	cd base1 && $(MAKE) -f make.win all
	cd base2 && $(MAKE) -f make.win all
	cd base3 && $(MAKE) -f make.win all
	cd win && $(MAKE) -f make.win all
	cd advance && $(MAKE) -f make.win all
	cd wsbuilder && $(MAKE) -f make.win all
	cd net && $(MAKE) -f make.win all
	cd title && $(MAKE) -f make.win all
	cd wstracer && $(MAKE) all
	cd wsagent && $(MAKE) all
	cd wsagent-local && $(MAKE) all
	cd j3wlib && $(MAKE) -f make.win all
	cd opengl && $(MAKE) -f make.win all
	cd sheet && $(MAKE) -f make.win all
	cd odbc && $(MAKE) -f make.win all
	cd postgres && $(MAKE) -f make.win all
	cd mysql && $(MAKE) -f make.win all
	cd rubylib && $(MAKE) -f make.win
	cd pythonlib && $(MAKE) -f make.win
	cd perllib && $(MAKE) -f make.win
	cd perllib2 && $(MAKE) -f make.win
	cd wsinst && $(MAKE)
	cd wsinst-ee && $(MAKE)
	cd wsuninst && $(MAKE)
	cd wsuninst-ee && $(MAKE)
	cd nsplugin && $(MAKE)
	cd ieplugin && $(MAKE) -f make.win

clean::
	cd base && $(MAKE) -f make.win clean
	cd base1 && $(MAKE) -f make.win clean
	cd base2 && $(MAKE) -f make.win clean
	cd base3 && $(MAKE) -f make.win clean
	cd win && $(MAKE) -f make.win clean
	cd advance && $(MAKE) -f make.win clean
	cd wsbuilder && $(MAKE) -f make.win clean
	cd net && $(MAKE) -f make.win clean
	cd title && $(MAKE) -f make.win clean
	cd wstracer && $(MAKE) clean
	cd wsagent && $(MAKE) clean
	cd wsagent-local && $(MAKE) clean
	cd j3wlib && $(MAKE) -f make.win clean
	cd opengl && $(MAKE) -f make.win clean
	cd sheet && $(MAKE) -f make.win clean
	cd odbc && $(MAKE) -f make.win clean
	cd postgres && $(MAKE) -f make.win clean
	cd mysql && $(MAKE) -f make.win clean
	cd rubylib && $(MAKE)  -f make.win clean
	cd pythonlib && $(MAKE) -f make.win clean
	cd perllib && $(MAKE) -f make.win clean
	cd perllib2 && $(MAKE) -f make.win clean
	cd wsinst && $(MAKE) clean
	cd wsinst-ee && $(MAKE) clean
	cd wsuninst && $(MAKE) clean
	cd wsuninst-ee && $(MAKE) clean
	cd nsplugin && $(MAKE) clean
	cd ieplugin && $(MAKE) -f make.win clean

debug::
	cd base && $(MAKE) -f make.win debug
	cd base1 && $(MAKE) -f make.win debug
	cd base2 && $(MAKE) -f make.win debug
	cd base3 && $(MAKE) -f make.win debug
	cd win && $(MAKE) -f make.win debug
	cd advance && $(MAKE) -f make.win debug
	cd wsbuilder && $(MAKE) -f make.win debug
	cd net && $(MAKE) -f make.win debug
	cd title && $(MAKE) -f make.win debug
	cd wstracer && $(MAKE) debug
	cd wsagent && $(MAKE) debug
	cd wsagent-local && $(MAKE) debug
	cd j3wlib && $(MAKE) -f make.win debug
	cd opengl && $(MAKE) -f make.win debug
	cd sheet && $(MAKE) -f make.win debug
	cd odbc && $(MAKE) -f make.win debug
	cd postgres && $(MAKE) -f make.win debug
	cd mysql && $(MAKE) -f make.win debug
	cd rubylib && $(MAKE) -f make.win debug
	cd pythonlib && $(MAKE) -f make.win
	cd perllib && $(MAKE) -f make.win
	cd perllib2 && $(MAKE) -f make.win
	cd wsinst && $(MAKE) 
	cd wsinst-ee && $(MAKE) 
	cd wsuninst && $(MAKE) 
	cd wsuninst-ee && $(MAKE)
	cd nsplugin && $(MAKE)
	cd ieplugin && $(MAKE) -f make.win

runtime::
	cd base && $(MAKE) -f make.win runtime
	cd base1 && $(MAKE) -f make.win runtime
	cd base2 && $(MAKE) -f make.win runtime
	cd base3 && $(MAKE) -f make.win runtime
	cd win && $(MAKE) -f make.win runtime
	cd advance && $(MAKE) -f make.win runtime
	cd wsbuilder && $(MAKE) -f make.win runtime
	cd net && $(MAKE) -f make.win runtime
	cd title && $(MAKE) -f make.win runtime
	cd wstracer && $(MAKE) runtime
	cd wsagent && $(MAKE) runtime
	cd wsagent-local && $(MAKE) runtime
	cd j3wlib && $(MAKE) -f make.win runtime
	cd opengl && $(MAKE) -f make.win runtime
	cd sheet && $(MAKE) -f make.win runtime
	cd odbc && $(MAKE) -f make.win runtime
	cd postgres && $(MAKE) -f make.win runtime
	cd mysql && $(MAKE) -f make.win runtime
	cd rubylib && $(MAKE) -f make.win
	cd pythonlib && $(MAKE) -f make.win
	cd perllib && $(MAKE) -f make.win
	cd perllib2 && $(MAKE) -f make.win
	cd wsinst && $(MAKE) 
	cd wsinst-ee && $(MAKE) 
	cd wsuninst && $(MAKE) 
	cd wsuninst-ee && $(MAKE)
	cd nsplugin && $(MAKE)
	cd ieplugin && $(MAKE) -f make.win

te-sh7751r::
	cd base && $(MAKE) -f makefile.te-sh7751r
	cd base1 && $(MAKE) -f makefile.te-sh7751r
	cd base2 && $(MAKE) -f makefile.te-sh7751r
	cd base3 && $(MAKE) -f makefile.te-sh7751r
	cd btron && $(MAKE) -f makefile.te-sh7751r
	cd advance && $(MAKE) -f makefile.te-sh7751r
	cd wsagent && $(MAKE) -f makefile.te-sh7751r
	cd wsbuilder && $(MAKE) -f makefile.te-sh7751r
	cd net && $(MAKE) -f makefile.te-sh7751r
	cd j3wlib && $(MAKE) -f makefile.te-sh7751r

te-sh7751r-clean::
	cd base && $(MAKE) -f makefile.te-sh7751r clean
	cd base1 && $(MAKE) -f makefile.te-sh7751r clean
	cd base2 && $(MAKE) -f makefile.te-sh7751r clean
	cd base3 && $(MAKE) -f makefile.te-sh7751r clean
	cd btron && $(MAKE) -f makefile.te-sh7751r clean
	cd advance && $(MAKE) -f makefile.te-sh7751r clean
	cd wsagent && $(MAKE) -f makefile.te-sh7751r clean
	cd wsbuilder && $(MAKE) -f makefile.te-sh7751r clean
	cd net && $(MAKE) -f makefile.te-sh7751r clean
	cd j3wlib && $(MAKE) -f makefile.te-sh7751r clean

