# # Change the value of the MX_ARCH variable below to match the platform you # are compiling the MX system for. The available platforms are: # # bsd - Compile for FreeBSD, NetBSD, or OpenBSD # cygwin - Compile for Cygwin 1.5 or 1.7 # djgpp - Compile for DOS extender with DJGPP 2.0.3 or above # ecos - Compile for i386 under eCos # hpux - Compile for HP 9000/8xx under HP-UX 11v2 # hpux-gcc - Compile for HP 9000/8xx under HP-UX 11v2 using GCC # irix - Compile for SGI under Irix 6.3 or above # irix-gcc - Compile for SGI under Irix 6.5 using GCC # linux - Compile for Linux 2.2 or above using GCC # linux-icc - Compile for Linux 2.6 using Intel C++. # macosx - Compile for powerpc under MacOS X # qnx - Compile for i386 under QNX Neutrino # rtems - Compile for i386/m68k/powerpc under RTEMS # solaris - Compile for sparc under Solaris 8 or above # solaris-gcc - Compile for sparc under Solaris 8 or above using GCC # tru64 - Compile for alpha under HP Tru64 Unix 5.1b # tru64-gcc - Compile for alpha under HP Tru64 Unix 5.1b using GCC # vms - Compile for alpha/vax/ia64 under OpenVMS 7.3.1 or 8.x # vms-gnv - Compile for ia64 under OpenVMS 8.3 using GNV 1.6-4 # vxworks - Compile for VxWorks Tornado 2.0 using GCC # win32 - Compile for Microsoft Win32 with Visual C++ 4 or above # win32-borland - Compile for Microsoft Win32 with Borland C++ Builder 5.5.1 # win32-mingw - Compile for Microsoft Win32 with MinGW 4.1.1 and MSYS 1.0.10 # # Set MX_INSTALL_DIR to the directory that you want to install MX in. # Next, check "mx/libMx/mxconfig.h" to see if any of the defines need to # be changed. Then do the command "make depend" followed by "make". # If MX builds correctly, do "make install" to install the binaries # in the requested location. The directory $(MX_INSTALL_DIR) must exist # before you do "make install". # # On 'win32', $(MX_INSTALL_DIR) should use forward slashes like / rather # than backslashes. # # For 'djgpp' and 'vms' platforms, the 'scripts' subdirectory contains # modified versions of the top level MX Makefile which, for those plaforms, # should be used instead of this file. # # More detailed instructions may be found in the file "mx/README.install". # MX_ARCH = linux MX_INSTALL_DIR = /opt/mx #MX_INSTALL_DIR = c:/opt/mx #MX_INSTALL_DIR = $(HOME)/mxtest #MX_INSTALL_DIR = c:/docume~1/lavender/mxtest #MX_INSTALL_DIR = c:/opt/mx-1.5.2-v1 MAKECMD = $(MAKE) MX_ARCH=$(MX_ARCH) MX_INSTALL_DIR=$(MX_INSTALL_DIR) all: build build: depend_files ( cd tools ; $(MAKECMD) -f Makefile.$(MX_ARCH) ) ( cd libMx ; $(MAKECMD) ) ( cd motor ; $(MAKECMD) ) ( cd server ; $(MAKECMD) ) ( cd update ; $(MAKECMD) ) ( cd util ; $(MAKECMD) ) clean: depend_files ( cd tools ; $(MAKECMD) -f Makefile.$(MX_ARCH) mx_clean ) ( cd libMx ; $(MAKECMD) mx_clean ) ( cd motor ; $(MAKECMD) mx_clean ) ( cd server ; $(MAKECMD) mx_clean ) ( cd update ; $(MAKECMD) mx_clean ) ( cd util ; $(MAKECMD) mx_clean ) distclean: depend_files ( cd tools ; $(MAKECMD) -f Makefile.$(MX_ARCH) mx_clean ) ( cd libMx ; $(MAKECMD) mx_distclean ) ( cd motor ; $(MAKECMD) mx_distclean ) ( cd server ; $(MAKECMD) mx_distclean ) ( cd update ; $(MAKECMD) mx_distclean ) ( cd util ; $(MAKECMD) mx_distclean ) depend: depend_files ( cd libMx ; $(MAKECMD) mx_depend ) ( cd motor ; $(MAKECMD) mx_depend ) ( cd server ; $(MAKECMD) mx_depend ) ( cd update ; $(MAKECMD) mx_depend ) ( cd util ; $(MAKECMD) mx_depend ) install: depend_files ( cd libMx ; $(MAKECMD) mx_install ) ( cd motor ; $(MAKECMD) mx_install ) ( cd server ; $(MAKECMD) mx_install ) ( cd update ; $(MAKECMD) mx_install ) ( cd util ; $(MAKECMD) mx_install ) #------------------------------------------------------------------------------ MD = Makefile.depend depend_files: libMx/$(MD) motor/$(MD) server/$(MD) update/$(MD) util/$(MD) libMx/$(MD): touch libMx/$(MD) motor/$(MD): touch motor/$(MD) server/$(MD): touch server/$(MD) update/$(MD): touch update/$(MD) util/$(MD): touch util/$(MD)