# Default makefile for the various versions of dmake that we
# have available.  This is a bootstrap version and uses /bin/sh to
# execute a script which compiles dmake.
#
# Note the DOS commands actually invoke command.com to run the .bat file
# to make the script.

all:
	@echo "You must issue one of:"
	@echo "   make bsd43         - Generic BSD 4.3"
	@echo "   make bsd43uw       - Generic BSD 4.3 at U of Waterloo"
	@echo "   make bsd43vf       - Generic BSD 4.3 that needs vfprintf"
	@echo "   make sysvr3        - Generic SysV R3 UNIX"
	@echo "   make sysvr1        - Generic SysV R1 UNIX"
	@echo "   make 386ix         - 386/ix (SysV R3) [NOTE: not tested]"
	@echo "   make dynix         - Sequent DYNIX system"
	@echo "   make ultrix        - Ultrix 3.0 system"
	@echo "   make mips          - Any MIPS box"
	@echo "   make tcc           - DOS with tcc 2.0"
	@echo "   make tccswp        - swapping DOS version with tcc 2.0"
	@echo "   make msc           - DOS with MSC 4.0 to 5.1"
	@echo "   make msc60         - DOS with MSC 6.0"
	@echo "   make mscswp        - swapping DOS version with MSC 4.0 to 5.1"
	@echo "   make msc60swp      - swapping DOS version with MSC 6.0"

bsd43uw :; /bin/sh -x < unix/bsd43/uw/make.sh
bsd43vf dynix mips        :; /bin/sh -x < unix/bsd43/vf/make.sh
sysvr1 sysvr3 bsd43 386ix :; /bin/sh -x < unix/$@/make.sh
ultrix : sysvr3;

# DOS with some form of make and sh
# Note if you do not have a 'make and/or sh' program under MSDOS then
# typing 'make' in the dmake distribution directory will invoke the make.bat
# batch file which will issue the appropriate instructions.
tcc tccswp msc msc60 mscswp msc60swp:; make.bat $@
