# # Name: Makehead.win32 # # Purpose: This file is used to customize operating system and installation # dependent features of the MpCa makefiles. This version is # customized for Win32. # MXSRC = ../../mx MPSRC = ../../mp MXWSRC = ..\\..\\mx MPWSRC = ..\\..\\mp include $(MPSRC)/libMp/Makehead.win32 include $(MXSRC)/modules/epics/Makefile.config # #========================================================================= # # Generally, you should not have to modify anything after this point. # MPCA_MAKEDEPEND = ( rm Makefile.depend ; makedepend -o.obj -Y \ -I../../mx/libMx -I../../mp/libMp -I. -f- *.c 2>nul > Makefile.depend ) MPCA_MAKEDEPEND_CLEAN = rm Makefile.depend MPCA_MODULE_NAME = MpCaPrivate.pyd MPCA_MODULE_OBJS = $(MPCA_MODULE_SRCS:.c=.$(OBJ)) #--------------------------------------------------------------------- MPCA_MODULE_DELETE = rm $(MPCA_MODULE_NAME) $(MPCA_MODULE_NAME): $(MPCA_MODULE_OBJS) -$(MPCA_MODULE_DELETE) link /dll /debug /out:$(MPCA_MODULE_NAME) /nodefaultlib:libc \ $(MPCA_MODULE_OBJS) $(MPWSRC)\\libMp\\libMp.lib \ $(PYTHON_LIBRARY) $(EPICS_LIBS) $(LIBMX) $(WIN32_LIBS) \ $(MXWSRC)\\modules\\epics\\epics.lib #--------------------------------------------------------------------- INCLUDES = -I$(MXSRC)/libMx -I$(MPSRC)/libMp #--------------------------------------------------------------------- mpca_install: -mkdir $(MX_INSTALL_DIR)/bin -mkdir $(MX_INSTALL_DIR)/lib -mkdir $(MX_INSTALL_DIR)/lib/mp cp *.py $(MX_INSTALL_DIR)/lib/mp cp *.pyc $(MX_INSTALL_DIR)/lib/mp cp *.pyd $(MX_INSTALL_DIR)/lib/mp