Change the registerRecordDeviceDriver.pl script to create

registerRecordDeviceDriver.c as a C++ file (.cpp) so that it can
use a static constructor to register the registerRecordDeviceDriver()
command with the IOC shell
Remove the old registerRecordDeviceDriverRegister.[ch] source files.
This commit is contained in:
W. Eric Norum
2000-12-21 15:57:21 +00:00
parent d3c0f075cf
commit fe4cad085e
7 changed files with 33 additions and 74 deletions

View File

@@ -53,12 +53,11 @@ example_SRCS += xxxRecord.c
example_SRCS += devXxxSoft.c
example_SRCS += caMonitor.c
example_SRCS_DEFAULT += registerRecordDeviceDriver.c
example_SRCS_DEFAULT += registerRecordDeviceDriver.cpp
example_SRCS_DEFAULT += exampleMain.c
example_SRCS_vxWorks += -nil-
#example_SRCS_vxWorks += sncExample.c
example_OBJS_DEFAULT += $(EPICS_BASE_BIN)/registerRecordDeviceDriverRegister
example_OBJS_vxWorks += $(EPICS_BASE_BIN)/registerRecordDeviceDriver
example_OBJS_vxWorks += $(EPICS_BASE_BIN)/iocCoreLibrary
#example_OBJS_vxWorks += $(SEQ_BIN)/seq