# # Change the value of the MX_ARCH variable below to match the platform you # are compiling the MX Blu-Ice server for. The available platforms are: # # linux - Compile for x86 under Linux # macosx - Compile for MacOS X # solaris - Compile for Solaris with the native compiler # solaris-gcc - Compile for Solaris with GCC # win32 - Compile for Microsoft Win32 with Visual C++ # # To build the MX Blu-Ice server, you must first build the MX library itself. # Next set the variables MX_ARCH and LIBMXSRC below. Then do a "make depend" # and finally a "make". # MX_ARCH = win32 #MX_INSTALL_DIR = /opt/mx #MX_INSTALL_DIR = /home/lavender/local/mx MX_INSTALL_DIR = c:/opt/mx-2.0.1-2016_03_16 # The following trick with different levels of .. for LIBMXSRC and MAKEHEAD # is only necessary if you are using relative paths. If you are using # absolute paths, just set MAKEHEAD to $(LIBMXSRC)/Makehead.$(MX_ARCH). LIBMX = ..\\\\..\\\\mx\\\\libMx\\\\libMx.lib LIBMXSRC = ../../mx/libMx MAKEHEAD = ../mx/libMx/Makehead.$(MX_ARCH) all: build include $(MAKEHEAD) MAKECMD = $(MAKE) MX_ARCH=$(MX_ARCH) MX_INSTALL_DIR=$(MX_INSTALL_DIR) \ LIBMX=$(LIBMX) LIBMXSRC=$(LIBMXSRC) build: depend_files ( cd server ; $(MAKECMD) ) clean: depend_files ( cd server ; $(MAKECMD) clean ) distclean: depend_files ( cd server ; $(MAKECMD) distclean ) depend: depend_files ( cd server ; $(MAKECMD) depend ) install: ( cd server ; $(MAKECMD) install ) depend_files: server/Makefile.depend server/Makefile.depend: touch server/Makefile.depend