mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Substituted string "acs" with "dsm".
The following case replacements were applied (in order): AcsRegister -> dsmRegister Acs_LIBS -> dsm_LIBS ' Acs' -> ' dsm' acs -> dsm Acs -> Dsm ACS -> DSM
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
DIRS += acsIOC
|
||||
DIRS += dsmIOC
|
||||
|
||||
include $(TOP)/configure/RULES_TOP
|
||||
|
||||
|
@@ -37,8 +37,8 @@ CHECK_RELEASE = YES
|
||||
|
||||
# Include motor's CONFIG_SITE.local when building inside motor
|
||||
-include $(TOP)/../../../../configure/CONFIG_SITE.local
|
||||
# Include motorAcs's CONFIG_SITE.local when building inside motorAcs
|
||||
# Include motorDsm's CONFIG_SITE.local when building inside motorDsm
|
||||
-include $(TOP)/../../configure/CONFIG_SITE.local
|
||||
# Use acsIOC's CONFIG_SITE.local
|
||||
# Use dsmIOC's CONFIG_SITE.local
|
||||
-include $(TOP)/configure/CONFIG_SITE.local
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# Use the following lines if motorAcs was built inside motor
|
||||
# Use the following lines if motorDsm was built inside motor
|
||||
MOTOR=
|
||||
-include $(MOTOR)/configure/RELEASE
|
||||
# Use the following lines if motorAcs was built outside motor
|
||||
#!MOTOR_ACS=
|
||||
#!-include $(MOTOR_ACS)/configure/RELEASE.local
|
||||
# Use the following lines if motorDsm was built outside motor
|
||||
#!MOTOR_DSM=
|
||||
#!-include $(MOTOR_DSM)/configure/RELEASE.local
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
# Use motor/module's generated release file when buidling inside motor
|
||||
-include $(TOP)/../../../RELEASE.$(EPICS_HOST_ARCH).local
|
||||
# Use motorAcs's release file when building inside motorAcs, but outside motor
|
||||
# Use motorDsm's release file when building inside motorDsm, but outside motor
|
||||
-include $(TOP)/../../configure/RELEASE.local
|
||||
# Use acsIOC's RELEASE.local when building outside motorAcs
|
||||
# Use dsmIOC's RELEASE.local when building outside motorDsm
|
||||
-include $(TOP)/configure/RELEASE.local
|
||||
|
@@ -11,44 +11,44 @@ include $(TOP)/configure/CONFIG
|
||||
#=============================
|
||||
# Build the IOC application
|
||||
|
||||
PROD_IOC = acs
|
||||
# acs.dbd will be created and installed
|
||||
DBD += acs.dbd
|
||||
PROD_IOC = dsm
|
||||
# dsm.dbd will be created and installed
|
||||
DBD += dsm.dbd
|
||||
|
||||
# acs.dbd will be made up from these files:
|
||||
acs_DBD += base.dbd
|
||||
# dsm.dbd will be made up from these files:
|
||||
dsm_DBD += base.dbd
|
||||
|
||||
# Include dbd files from all support applications:
|
||||
#ifdef ASYN
|
||||
acs_DBD += asyn.dbd
|
||||
acs_DBD += drvAsynSerialPort.dbd
|
||||
acs_DBD += drvAsynIPPort.dbd
|
||||
dsm_DBD += asyn.dbd
|
||||
dsm_DBD += drvAsynSerialPort.dbd
|
||||
dsm_DBD += drvAsynIPPort.dbd
|
||||
#endif
|
||||
acs_DBD += motorSupport.dbd
|
||||
acs_DBD += devAcsMotor.dbd
|
||||
dsm_DBD += motorSupport.dbd
|
||||
dsm_DBD += devDsmMotor.dbd
|
||||
|
||||
# Add all the support libraries needed by this IOC
|
||||
acs_LIBS += Acs
|
||||
acs_LIBS += motor
|
||||
dsm_LIBS += dsm
|
||||
dsm_LIBS += motor
|
||||
#ifdef ASYN
|
||||
acs_LIBS += asyn
|
||||
dsm_LIBS += asyn
|
||||
#endif
|
||||
#ifdef SNCSEQ
|
||||
acs_LIBS += seq pv
|
||||
dsm_LIBS += seq pv
|
||||
#endif
|
||||
|
||||
# acs_registerRecordDeviceDriver.cpp derives from acs.dbd
|
||||
acs_SRCS += acs_registerRecordDeviceDriver.cpp
|
||||
# dsm_registerRecordDeviceDriver.cpp derives from dsm.dbd
|
||||
dsm_SRCS += dsm_registerRecordDeviceDriver.cpp
|
||||
|
||||
# Build the main IOC entry point on workstation OSs.
|
||||
acs_SRCS_DEFAULT += acsMain.cpp
|
||||
acs_SRCS_vxWorks += -nil-
|
||||
dsm_SRCS_DEFAULT += dsmMain.cpp
|
||||
dsm_SRCS_vxWorks += -nil-
|
||||
|
||||
# Add support from base/src/vxWorks if needed
|
||||
#acs_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
|
||||
#dsm_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
|
||||
|
||||
# Finally link to the EPICS Base libraries
|
||||
acs_LIBS += $(EPICS_BASE_IOC_LIBS)
|
||||
dsm_LIBS += $(EPICS_BASE_IOC_LIBS)
|
||||
|
||||
#===========================
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
/* acsMain.cpp */
|
||||
/* dsmMain.cpp */
|
||||
/* Author: Marty Kraimer Date: 17MAR2000 */
|
||||
|
||||
#include <stddef.h>
|
||||
|
@@ -1,24 +1,24 @@
|
||||
#!../../bin/linux-x86_64/acs
|
||||
#!../../bin/linux-x86_64/dsm
|
||||
|
||||
< envPaths
|
||||
|
||||
cd "${TOP}"
|
||||
|
||||
## Register all support components
|
||||
dbLoadDatabase "dbd/acs.dbd"
|
||||
acs_registerRecordDeviceDriver pdbbase
|
||||
dbLoadDatabase "dbd/dsm.dbd"
|
||||
dsm_registerRecordDeviceDriver pdbbase
|
||||
|
||||
cd "${TOP}/iocBoot/${IOC}"
|
||||
|
||||
|
||||
## motorUtil (allstop & alldone)
|
||||
dbLoadRecords("$(MOTOR)/db/motorUtil.db", "P=acs:")
|
||||
dbLoadRecords("$(MOTOR)/db/motorUtil.db", "P=dsm:")
|
||||
|
||||
##
|
||||
|
||||
iocInit
|
||||
|
||||
## motorUtil (allstop & alldone)
|
||||
motorUtilInit("acs:")
|
||||
motorUtilInit("dsm:")
|
||||
|
||||
# Boot complete
|
||||
|
@@ -2,8 +2,8 @@
|
||||
< envPaths
|
||||
|
||||
# Tell EPICS all about the record types, device-support modules, drivers, etc.
|
||||
dbLoadDatabase("../../dbd/acs.dbd")
|
||||
acs_registerRecordDeviceDriver(pdbbase)
|
||||
dbLoadDatabase("../../dbd/dsm.dbd")
|
||||
dsm_registerRecordDeviceDriver(pdbbase)
|
||||
|
||||
# Port 2 on a Moxa
|
||||
#!drvAsynIPPortConfigure("serial0", "192.168.1.16:4002",0,0,0)
|
||||
|
Reference in New Issue
Block a user