diff --git a/AG33220A/AG33220A-IOC-02App/Db/Makefile b/AG33220A/AG33220A-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/AG33220A/AG33220A-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/AG33220A/AG33220A-IOC-02App/Makefile b/AG33220A/AG33220A-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/AG33220A/AG33220A-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/AG33220A/AG33220A-IOC-02App/src/AG33220A-IOC-02Main.cpp b/AG33220A/AG33220A-IOC-02App/src/AG33220A-IOC-02Main.cpp new file mode 100644 index 000000000..af390da0d --- /dev/null +++ b/AG33220A/AG33220A-IOC-02App/src/AG33220A-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* AG33220A-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/AG33220A/AG33220A-IOC-02App/src/Makefile b/AG33220A/AG33220A-IOC-02App/src/Makefile new file mode 100644 index 000000000..789376c30 --- /dev/null +++ b/AG33220A/AG33220A-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=AG33220A-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/AG33220A-IOC-01App/src/build.mak diff --git a/AG33220A/iocBoot/iocAG33220A-IOC-02/Makefile b/AG33220A/iocBoot/iocAG33220A-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/AG33220A/iocBoot/iocAG33220A-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/AG33220A/iocBoot/iocAG33220A-IOC-02/st.cmd b/AG33220A/iocBoot/iocAG33220A-IOC-02/st.cmd new file mode 100644 index 000000000..efb5ad769 --- /dev/null +++ b/AG33220A/iocBoot/iocAG33220A-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/AG33220A-IOC-02 + +## You may have to change AG33220A-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/AG33220A-IOC-02.dbd" +AG33220A_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocAG33220A-IOC-01/st-common.cmd diff --git a/AG53220A/AG53220A-IOC-02App/Db/Makefile b/AG53220A/AG53220A-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/AG53220A/AG53220A-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/AG53220A/AG53220A-IOC-02App/Makefile b/AG53220A/AG53220A-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/AG53220A/AG53220A-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/AG53220A/AG53220A-IOC-02App/src/AG53220A-IOC-02Main.cpp b/AG53220A/AG53220A-IOC-02App/src/AG53220A-IOC-02Main.cpp new file mode 100644 index 000000000..a3e8e7b47 --- /dev/null +++ b/AG53220A/AG53220A-IOC-02App/src/AG53220A-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* AG53220A-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/AG53220A/AG53220A-IOC-02App/src/Makefile b/AG53220A/AG53220A-IOC-02App/src/Makefile new file mode 100644 index 000000000..9cedfc3b8 --- /dev/null +++ b/AG53220A/AG53220A-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=AG53220A-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/AG53220A-IOC-01App/src/build.mak diff --git a/AG53220A/iocBoot/iocAG53220A-IOC-02/Makefile b/AG53220A/iocBoot/iocAG53220A-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/AG53220A/iocBoot/iocAG53220A-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/AG53220A/iocBoot/iocAG53220A-IOC-02/st.cmd b/AG53220A/iocBoot/iocAG53220A-IOC-02/st.cmd new file mode 100644 index 000000000..0f67082cd --- /dev/null +++ b/AG53220A/iocBoot/iocAG53220A-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/AG53220A-IOC-02 + +## You may have to change AG53220A-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/AG53220A-IOC-02.dbd" +AG53220A_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocAG53220A-IOC-01/st-common.cmd diff --git a/CAENMCA/CAENMCA-IOC-02App/Db/Makefile b/CAENMCA/CAENMCA-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/CAENMCA/CAENMCA-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/CAENMCA/CAENMCA-IOC-02App/Makefile b/CAENMCA/CAENMCA-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/CAENMCA/CAENMCA-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/CAENMCA/CAENMCA-IOC-02App/src/CAENMCA-IOC-02Main.cpp b/CAENMCA/CAENMCA-IOC-02App/src/CAENMCA-IOC-02Main.cpp new file mode 100644 index 000000000..39bab336b --- /dev/null +++ b/CAENMCA/CAENMCA-IOC-02App/src/CAENMCA-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* CAENMCA-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/CAENMCA/CAENMCA-IOC-02App/src/Makefile b/CAENMCA/CAENMCA-IOC-02App/src/Makefile new file mode 100644 index 000000000..5f28521de --- /dev/null +++ b/CAENMCA/CAENMCA-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=CAENMCA-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/CAENMCA-IOC-01App/src/build.mak diff --git a/CAENMCA/iocBoot/iocCAENMCA-IOC-02/Makefile b/CAENMCA/iocBoot/iocCAENMCA-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/CAENMCA/iocBoot/iocCAENMCA-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/CAENMCA/iocBoot/iocCAENMCA-IOC-02/st.cmd b/CAENMCA/iocBoot/iocCAENMCA-IOC-02/st.cmd new file mode 100644 index 000000000..2c53dcf50 --- /dev/null +++ b/CAENMCA/iocBoot/iocCAENMCA-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/CAENMCA-IOC-02 + +## You may have to change CAENMCA-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/CAENMCA-IOC-02.dbd" +CAENMCA_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocCAENMCA-IOC-01/st-common.cmd diff --git a/CAENV895/CAENV895-IOC-02App/Db/Makefile b/CAENV895/CAENV895-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/CAENV895/CAENV895-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/CAENV895/CAENV895-IOC-02App/Makefile b/CAENV895/CAENV895-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/CAENV895/CAENV895-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/CAENV895/CAENV895-IOC-02App/src/CAENV895-IOC-02Main.cpp b/CAENV895/CAENV895-IOC-02App/src/CAENV895-IOC-02Main.cpp new file mode 100644 index 000000000..c4a7dd49e --- /dev/null +++ b/CAENV895/CAENV895-IOC-02App/src/CAENV895-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* CAENV895-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/CAENV895/CAENV895-IOC-02App/src/Makefile b/CAENV895/CAENV895-IOC-02App/src/Makefile new file mode 100644 index 000000000..bd84bfa0d --- /dev/null +++ b/CAENV895/CAENV895-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=CAENV895-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/CAENV895-IOC-01App/src/build.mak diff --git a/CAENV895/iocBoot/iocCAENV895-IOC-02/Makefile b/CAENV895/iocBoot/iocCAENV895-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/CAENV895/iocBoot/iocCAENV895-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/CAENV895/iocBoot/iocCAENV895-IOC-02/st.cmd b/CAENV895/iocBoot/iocCAENV895-IOC-02/st.cmd new file mode 100644 index 000000000..35ab7adbc --- /dev/null +++ b/CAENV895/iocBoot/iocCAENV895-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/CAENV895-IOC-02 + +## You may have to change CAENV895-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/CAENV895-IOC-02.dbd" +CAENV895_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/ioc_01_APP_NAME_/st-common.cmd diff --git a/CONEXAGP/CONEXAGP-IOC-02App/Db/Makefile b/CONEXAGP/CONEXAGP-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/CONEXAGP/CONEXAGP-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/CONEXAGP/CONEXAGP-IOC-02App/Makefile b/CONEXAGP/CONEXAGP-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/CONEXAGP/CONEXAGP-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/CONEXAGP/CONEXAGP-IOC-02App/src/CONEXAGP-IOC-02Main.cpp b/CONEXAGP/CONEXAGP-IOC-02App/src/CONEXAGP-IOC-02Main.cpp new file mode 100644 index 000000000..722ec2cc0 --- /dev/null +++ b/CONEXAGP/CONEXAGP-IOC-02App/src/CONEXAGP-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* CONEXAGP-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/CONEXAGP/CONEXAGP-IOC-02App/src/Makefile b/CONEXAGP/CONEXAGP-IOC-02App/src/Makefile new file mode 100644 index 000000000..ed84567a8 --- /dev/null +++ b/CONEXAGP/CONEXAGP-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=CONEXAGP-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/CONEXAGP-IOC-01App/src/build.mak diff --git a/CONEXAGP/iocBoot/iocCONEXAGP-IOC-02/Makefile b/CONEXAGP/iocBoot/iocCONEXAGP-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/CONEXAGP/iocBoot/iocCONEXAGP-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/CONEXAGP/iocBoot/iocCONEXAGP-IOC-02/st.cmd b/CONEXAGP/iocBoot/iocCONEXAGP-IOC-02/st.cmd new file mode 100644 index 000000000..acc5ece01 --- /dev/null +++ b/CONEXAGP/iocBoot/iocCONEXAGP-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/CONEXAGP-IOC-02 + +## You may have to change CONEXAGP-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/CONEXAGP-IOC-02.dbd" +CONEXAGP_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocCONEXAGP-IOC-01/st-common.cmd diff --git a/DELFTSHEAR/DELFTSHEAR-IOC-02App/Db/Makefile b/DELFTSHEAR/DELFTSHEAR-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/DELFTSHEAR/DELFTSHEAR-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/DELFTSHEAR/DELFTSHEAR-IOC-02App/Makefile b/DELFTSHEAR/DELFTSHEAR-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/DELFTSHEAR/DELFTSHEAR-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/DELFTSHEAR/DELFTSHEAR-IOC-02App/src/DELFTSHEAR-IOC-02Main.cpp b/DELFTSHEAR/DELFTSHEAR-IOC-02App/src/DELFTSHEAR-IOC-02Main.cpp new file mode 100644 index 000000000..e67720b35 --- /dev/null +++ b/DELFTSHEAR/DELFTSHEAR-IOC-02App/src/DELFTSHEAR-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* DELFTSHEAR-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/DELFTSHEAR/DELFTSHEAR-IOC-02App/src/Makefile b/DELFTSHEAR/DELFTSHEAR-IOC-02App/src/Makefile new file mode 100644 index 000000000..3bb9557d2 --- /dev/null +++ b/DELFTSHEAR/DELFTSHEAR-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=DELFTSHEAR-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/DELFTSHEAR-IOC-01App/src/build.mak diff --git a/DELFTSHEAR/iocBoot/iocDELFTSHEAR-IOC-02/Makefile b/DELFTSHEAR/iocBoot/iocDELFTSHEAR-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/DELFTSHEAR/iocBoot/iocDELFTSHEAR-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/DELFTSHEAR/iocBoot/iocDELFTSHEAR-IOC-02/st.cmd b/DELFTSHEAR/iocBoot/iocDELFTSHEAR-IOC-02/st.cmd new file mode 100644 index 000000000..9f7c39e9f --- /dev/null +++ b/DELFTSHEAR/iocBoot/iocDELFTSHEAR-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/DELFTSHEAR-IOC-02 + +## You may have to change DELFTSHEAR-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/DELFTSHEAR-IOC-02.dbd" +DELFTSHEAR_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocDELFTSHEAR-IOC-01/st-common.cmd diff --git a/DETADC/DETADC-IOC-02App/Db/Makefile b/DETADC/DETADC-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/DETADC/DETADC-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/DETADC/DETADC-IOC-02App/Makefile b/DETADC/DETADC-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/DETADC/DETADC-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/DETADC/DETADC-IOC-02App/src/DETADC-IOC-02Main.cpp b/DETADC/DETADC-IOC-02App/src/DETADC-IOC-02Main.cpp new file mode 100644 index 000000000..39c58c879 --- /dev/null +++ b/DETADC/DETADC-IOC-02App/src/DETADC-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* DETADC-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/DETADC/DETADC-IOC-02App/src/Makefile b/DETADC/DETADC-IOC-02App/src/Makefile new file mode 100644 index 000000000..0169737ed --- /dev/null +++ b/DETADC/DETADC-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=DETADC-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/DETADC-IOC-01App/src/build.mak diff --git a/DETADC/iocBoot/iocDETADC-IOC-02/Makefile b/DETADC/iocBoot/iocDETADC-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/DETADC/iocBoot/iocDETADC-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/DETADC/iocBoot/iocDETADC-IOC-02/st.cmd b/DETADC/iocBoot/iocDETADC-IOC-02/st.cmd new file mode 100644 index 000000000..16159dcd6 --- /dev/null +++ b/DETADC/iocBoot/iocDETADC-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/DETADC-IOC-02 + +## You may have to change DETADC-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/DETADC-IOC-02.dbd" +DETADC_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocDETADC-IOC-01/st-common.cmd diff --git a/ECLAB/ECLAB-IOC-02App/Db/Makefile b/ECLAB/ECLAB-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/ECLAB/ECLAB-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/ECLAB/ECLAB-IOC-02App/Makefile b/ECLAB/ECLAB-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/ECLAB/ECLAB-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/ECLAB/ECLAB-IOC-02App/src/ECLAB-IOC-02Main.cpp b/ECLAB/ECLAB-IOC-02App/src/ECLAB-IOC-02Main.cpp new file mode 100644 index 000000000..2a0ce8bee --- /dev/null +++ b/ECLAB/ECLAB-IOC-02App/src/ECLAB-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* ECLAB-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/ECLAB/ECLAB-IOC-02App/src/Makefile b/ECLAB/ECLAB-IOC-02App/src/Makefile new file mode 100644 index 000000000..fe2ea1716 --- /dev/null +++ b/ECLAB/ECLAB-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=ECLAB-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/ECLAB-IOC-01App/src/build.mak diff --git a/ECLAB/iocBoot/iocECLAB-IOC-02/Makefile b/ECLAB/iocBoot/iocECLAB-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/ECLAB/iocBoot/iocECLAB-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/ECLAB/iocBoot/iocECLAB-IOC-02/st.cmd b/ECLAB/iocBoot/iocECLAB-IOC-02/st.cmd new file mode 100644 index 000000000..b90a2d14a --- /dev/null +++ b/ECLAB/iocBoot/iocECLAB-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/ECLAB-IOC-02 + +## You may have to change ECLAB-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/ECLAB-IOC-02.dbd" +ECLAB_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocECLAB-IOC-01/st-common.cmd diff --git a/GAMRY/GAMRY-IOC-02App/Db/Makefile b/GAMRY/GAMRY-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/GAMRY/GAMRY-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/GAMRY/GAMRY-IOC-02App/Makefile b/GAMRY/GAMRY-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/GAMRY/GAMRY-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/GAMRY/GAMRY-IOC-02App/src/GAMRY-IOC-02Main.cpp b/GAMRY/GAMRY-IOC-02App/src/GAMRY-IOC-02Main.cpp new file mode 100644 index 000000000..b7c6b735c --- /dev/null +++ b/GAMRY/GAMRY-IOC-02App/src/GAMRY-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* GAMRY-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/GAMRY/GAMRY-IOC-02App/src/Makefile b/GAMRY/GAMRY-IOC-02App/src/Makefile new file mode 100644 index 000000000..5344be0f0 --- /dev/null +++ b/GAMRY/GAMRY-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=GAMRY-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/GAMRY-IOC-01App/src/build.mak diff --git a/GAMRY/iocBoot/iocGAMRY-IOC-02/Makefile b/GAMRY/iocBoot/iocGAMRY-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/GAMRY/iocBoot/iocGAMRY-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/GAMRY/iocBoot/iocGAMRY-IOC-02/st.cmd b/GAMRY/iocBoot/iocGAMRY-IOC-02/st.cmd new file mode 100644 index 000000000..c61012020 --- /dev/null +++ b/GAMRY/iocBoot/iocGAMRY-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/GAMRY-IOC-02 + +## You may have to change GAMRY-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/GAMRY-IOC-02.dbd" +GAMRY_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocGAMRY-IOC-01/st-common.cmd diff --git a/HVCAEN/HVCAEN-IOC-02App/Db/Makefile b/HVCAEN/HVCAEN-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/HVCAEN/HVCAEN-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/HVCAEN/HVCAEN-IOC-02App/Makefile b/HVCAEN/HVCAEN-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/HVCAEN/HVCAEN-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/HVCAEN/HVCAEN-IOC-02App/src/HVCAEN-IOC-02Main.cpp b/HVCAEN/HVCAEN-IOC-02App/src/HVCAEN-IOC-02Main.cpp new file mode 100644 index 000000000..c9e69c871 --- /dev/null +++ b/HVCAEN/HVCAEN-IOC-02App/src/HVCAEN-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* HVCAEN-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/HVCAEN/HVCAEN-IOC-02App/src/Makefile b/HVCAEN/HVCAEN-IOC-02App/src/Makefile new file mode 100644 index 000000000..bb50cf0ab --- /dev/null +++ b/HVCAEN/HVCAEN-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=HVCAEN-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/HVCAEN-IOC-01App/src/build.mak diff --git a/HVCAEN/iocBoot/iocHVCAEN-IOC-02/Makefile b/HVCAEN/iocBoot/iocHVCAEN-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/HVCAEN/iocBoot/iocHVCAEN-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/HVCAEN/iocBoot/iocHVCAEN-IOC-02/st.cmd b/HVCAEN/iocBoot/iocHVCAEN-IOC-02/st.cmd new file mode 100644 index 000000000..5da69ac39 --- /dev/null +++ b/HVCAEN/iocBoot/iocHVCAEN-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/HVCAEN-IOC-02 + +## You may have to change HVCAEN-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/HVCAEN-IOC-02.dbd" +HVCAEN_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocHVCAEN-IOC-01/st-common.cmd diff --git a/IEG/IEG-IOC-02App/Db/Makefile b/IEG/IEG-IOC-02App/Db/Makefile new file mode 100644 index 000000000..8eb97279d --- /dev/null +++ b/IEG/IEG-IOC-02App/Db/Makefile @@ -0,0 +1,18 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +#DB += xxx.db + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/IEG/IEG-IOC-02App/Makefile b/IEG/IEG-IOC-02App/Makefile new file mode 100644 index 000000000..373b86bfc --- /dev/null +++ b/IEG/IEG-IOC-02App/Makefile @@ -0,0 +1,9 @@ +TOP = .. +include $(TOP)/configure/CONFIG +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*)) +DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *protocol*)) +include $(TOP)/configure/RULES_DIRS + diff --git a/IEG/IEG-IOC-02App/src/IEG-IOC-02Main.cpp b/IEG/IEG-IOC-02App/src/IEG-IOC-02Main.cpp new file mode 100644 index 000000000..5a4e0ef9a --- /dev/null +++ b/IEG/IEG-IOC-02App/src/IEG-IOC-02Main.cpp @@ -0,0 +1,23 @@ +/* IEG-IOC-02Main.cpp */ +/* Author: Marty Kraimer Date: 17MAR2000 */ + +#include +#include +#include +#include +#include + +#include "epicsExit.h" +#include "epicsThread.h" +#include "iocsh.h" + +int main(int argc,char *argv[]) +{ + if(argc>=2) { + iocsh(argv[1]); + epicsThreadSleep(.2); + } + iocsh(NULL); + epicsExit(0); + return(0); +} diff --git a/IEG/IEG-IOC-02App/src/Makefile b/IEG/IEG-IOC-02App/src/Makefile new file mode 100644 index 000000000..00ef85e06 --- /dev/null +++ b/IEG/IEG-IOC-02App/src/Makefile @@ -0,0 +1,9 @@ +TOP=../.. +# This file should do very little - it's purpose is to set the APPNAME and then load build.mak + +# this definition is used in build.mak +APPNAME=IEG-IOC-02 + +# If we are ###-IOC-01 leave this as is, if we are ###-IOC-02 or higher change to ###-IOC-01 and delete build.mak from this directory +# there should only be a single build.mak for all IOCs of a given family and it is located in the ###-IOC-01 directory +include $(TOP)/IEG-IOC-01App/src/build.mak diff --git a/IEG/iocBoot/iocIEG-IOC-02/Makefile b/IEG/iocBoot/iocIEG-IOC-02/Makefile new file mode 100644 index 000000000..d5e26aae9 --- /dev/null +++ b/IEG/iocBoot/iocIEG-IOC-02/Makefile @@ -0,0 +1,6 @@ +TOP = ../.. +include $(TOP)/configure/CONFIG +#ARCH = windows-x64-debug +ARCH = $(EPICS_HOST_ARCH) +TARGETS = envPaths dllPath.bat relPaths.sh runIOC.bat runIOC.sh +include $(TOP)/configure/RULES.ioc diff --git a/IEG/iocBoot/iocIEG-IOC-02/st.cmd b/IEG/iocBoot/iocIEG-IOC-02/st.cmd new file mode 100644 index 000000000..839ece5dc --- /dev/null +++ b/IEG/iocBoot/iocIEG-IOC-02/st.cmd @@ -0,0 +1,18 @@ +#!../../bin/windows-x64-debug/IEG-IOC-02 + +## You may have to change IEG-IOC-02 to something else +## everywhere it appears in this file + +# Increase this if you get <> or discarded messages warnings in your errlog output +errlogInit2(65536, 256) + +< envPaths + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/IEG-IOC-02.dbd" +IEG_IOC_02_registerRecordDeviceDriver pdbbase + +## calling common command file in ioc 01 boot dir +< ${TOP}/iocBoot/iocIEG-IOC-01/st-common.cmd