diff --git a/streamApp/Makefile b/streamApp/Makefile index 16e2f6a..f201fb9 100644 --- a/streamApp/Makefile +++ b/streamApp/Makefile @@ -29,17 +29,10 @@ PROD_SRCS_vxWorks = -nil- PROD_LIBS = stream ifdef ASYN -# Which types of asyn busses do you have? - -# asynDriver up to version 4-16 does not support serial port for Windows! -#ifneq ($(OS_CLASS), WIN32) -streamApp_DBD += drvAsynSerialPort.dbd -#endif - -streamApp_DBD += drvAsynIPPort.dbd -#streamApp_DBD += drvGsIP488.dbd -#streamApp_DBD += drvNi1014.dbd -streamApp_DBD += drvVxi11.dbd +# edit asynRegistrars.dbd if necessary +streamApp_DBD += asynRegistrars.dbd +# add asyn.dbd if you want to have asyn Record and asyn device supports +# streamApp_DBD += asyn.dbd PROD_LIBS += asyn endif @@ -73,7 +66,11 @@ CPPFLAGS += -DDEBUGFILE=StreamDebug.log include $(TOP)/configure/RULES +ifeq ($(EPICS_REVISION),14) clean:: myclean +else +clean: myclean +endif myclean: $(RM) core* StreamDebug.log diff --git a/streamApp/asynRegistrars.dbd b/streamApp/asynRegistrars.dbd new file mode 100644 index 0000000..5d2b750 --- /dev/null +++ b/streamApp/asynRegistrars.dbd @@ -0,0 +1,9 @@ +registrar(asynRegister) +registrar(asynInterposeFlushRegister) +registrar(asynInterposeEosRegister) + +# asynDriver up to version 4-16 does not support serial port for Windows! +registrar(drvAsynSerialPortRegisterCommands) +registrar(drvAsynIPPortRegisterCommands) +registrar(drvAsynIPServerPortRegisterCommands) +registrar(vxi11RegisterCommands)