info:
	@echo ""
	@echo "build for \`MobileGear and X Emulator'"
	@echo "	make freebsd        FreeBSD"
	@echo "	make linux          Linux"
	@echo ""
	@echo "build for \`Psion5 (linux/7k)'"
	@echo "	make arm-linux      Linux"
	@echo ""
	@echo "for X Emulator build"
	@echo "	make solaris+gcc    Solaris 2.x + gcc"
	@echo "	make sunos+gcc      SunOS 4.1.x + gcc"
	@echo "	make irix           SGI IRIX"
	@echo ""
	@echo "\`make help' for more help."
	@echo ""

help:
	@echo ""
	@echo "you can use follow targets."
	@echo "	{plathome}                  for all build"
	@echo "	{plathome}-xonly            for X Emulator only build"
	@echo "	{plathome}-install          for all install"
	@echo "	{plathome}-install-xonly    for X Emulator only install"
	@echo "	{plathome}-install-mg       for MobileGear install under /mnt"
	@echo "	{plathome}-package          for creat package"
	@echo ""
	@echo "	plathome is freebsd and linux."
	@echo "	the other plathome is working now."
	@echo ""

freebsd:
	@make -f Makefile.freebsd
freebsd-xonly:
	@make -f Makefile.freebsd xonly
freebsd-install:
	@make -f Makefile.freebsd install
freebsd-install-xonly:
	@make -f Makefile.freebsd install-xonly
freebsd-install-mg:
	@make -f Makefile.freebsd install-mg
freebsd-package:
	@make -f Makefile.freebsd package

linux:
	@make -f Makefile.linux
linux-xonly:
	@make -f Makefile.linux xonly
linux-install:
	@make -f Makefile.linux install
linux-install-xonly:
	@make -f Makefile.linux install-xonly
linux-install-mg:
	@make -f Makefile.linux install-mg
linux-package:
	@make -f Makefile.linux package
arm-linux linux7k psion5:
	@make -f Makefile.arm-linux

solaris+gcc:
	@echo "This plathome is working now."
sunos+gcc:
	@echo "This plathome is working now."
irix:
	@echo "This plathome is working now."

clean:
	rm -f *.o *.po *.tgz libmgl.a objMG/* objX/*
	(cd mgterm; make clean)
	(cd demos; make clean)
	(cd mil; make clean)
