Added system.dbd which contains the registrar for the system command.

Include this in the softIoc.
This commit is contained in:
Andrew Johnson
2007-04-12 18:54:04 +00:00
parent 0968cdebe4
commit 8ba19206c2
3 changed files with 5 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ TOP=../..
include $(TOP)/configure/CONFIG
DBD += base.dbd
DBD += system.dbd
INC += epicsRelease.h
INC += iocInit.h

3
src/misc/system.dbd Normal file
View File

@@ -0,0 +1,3 @@
# Including this DBD file adds a 'system' command to the IOC shell.
registrar(iocshSystemCommand)

View File

@@ -16,6 +16,7 @@ PROD_IOC = softIoc
DBD += softIoc.dbd
softIoc_DBD += base.dbd
softIoc_DBD += system.dbd
ABS_INSTALL_DIR = $(shell $(PERL) $(TOOLS)/fullPathName.pl $(INSTALL_LOCATION))
USR_CXXFLAGS += -DEPICS_BASE=$(ABS_INSTALL_DIR)