Files
motorBase/iocBoot/iocWithMPF

To build any examples;

- in <motor>/configure/RELEASE: EPICS_BASE and MOTOR must be defined.

- in <motor>/Makefile: the following two lines must be uncommented;
  #DIRS := $(DIRS) $(filter-out $(DIRS), motorExApp)
  #DIRS := $(DIRS) $(filter-out $(DIRS), iocBoot)

To build this Newport MM4000/5/6 example;

- in <motor>/configure/RELEASE: IPAC and ASYN must all be defined.

- in <motor>/motorApp/Makefile: #DIRS += NewportSrc must be uncommented.

- in <motor>/motorExApp/Makefile: #DIRS += WithMPF must be uncommented.

- in <motor>/motorExApp/WithMPF/Makefile: uncomment both,
  #!WithMPF_LIBS   += Newport
    and,
  #!WithMPFVx_LIBS += Newport

- in both <motor>/motorExApp/WithMPF/WithMPFInclude.dbd, and in
  <motor>/motorExApp/WithMPF/WithMPFVxInclude.dbd
  uncomment,  #include "devNewport.dbd"
          
Finally, cd <motor>; gnumake clean uninstall; gnumake

To run this Newport MM4000/5, "asyn" example on a Unix OS;
- Set the EPICS_HOST_ARCH environment variable correctly.
- Edit the st.cmd.unix file for either sun or linux.
- Start the ioc from this directory by executing the following command.

../../bin/${EPICS_HOST_ARCH}/WithMPF st.cmd.unix