LIBMP_SRCS = libMp.c MP_MODULE_SRCS = mp_amplifier.c mp_analog_input.c mp_analog_output.c \ mp_area_detector.c mp_autoscale.c mp_camac.c \ mp_digital_input.c mp_digital_output.c \ mp_encoder.c mp_field.c mp_gpib.c mp_image.c mp_main.c \ mp_mca.c mp_mce.c mp_mcs.c mp_modbus.c mp_motor.c \ mp_net.c mp_output.c \ mp_portio.c mp_ptz.c mp_pulse_generator.c \ mp_record.c mp_relay.c mp_rs232.c mp_sample_changer.c \ mp_sca.c mp_scaler.c mp_scan.c mp_server.c \ mp_table.c mp_timer.c \ mp_usb.c mp_user_interrupt.c mp_util.c mp_variable.c mp_vme.c all: build include $(LIBMXSRC)/Makefile.version include $(LIBMXSRC)/Makehead.$(MX_ARCH) include Makehead.$(MX_ARCH) EXTRA_FLAGS=$(DEFINE)__MX_LIBRARY__ build: $(LIBMP_NAME) $(MP_MODULE_NAME) Mp.pyc MpScan.pyc $(OPTIONAL_MODULES) clean: -$(RM) *.$(OBJ) -$(RM) *.pyc -$(RM) *.pyo -$(RM) *.bak -$(RM) so_locations -$(LIBMP_DELETE) -$(MP_MODULE_DELETE) distclean: clean -$(MAKEDEPEND_CLEAN) depend: $(MAKEDEPEND) install: mp_install include Makefile.depend #------------------------------------------------------------------------- Mp.pyc: Mp.py $(MP_MODULE_NAME) $(PYTHON) MpBuildPyc.pyx Mp MpScan.pyc: MpScan.py $(PYTHON) MpBuildPyc.pyx MpScan #------------------------------------------------------------------------- # # The following optional modules import external Python modules that may not # be available at all sites and for all operating systems. # # MpNum.py - Requires the 'numpy' module. It does not support # 'numarray' or 'Numeric'. MpNum.pyc: MpNum.py -$(PYTHON) MpBuildPyc.pyx MpNum