make clear distinction between support and ioc apps

This commit is contained in:
Marty Kraimer
2003-04-04 15:01:42 +00:00
parent 34b8c943c5
commit 14b069660f
28 changed files with 229 additions and 109 deletions

View File

@@ -5,25 +5,30 @@ include $(TOP)/configure/CONFIG
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
#==================================================
# build a support library
LIBRARY_IOC += _APPNAME_Support
# xxxRecord.h will be created from xxxRecord.dbd
DBDINC += xxxRecord
# install devXxxSoft.dbd into <top>/dbd
DBD += _APPNAME_Support.dbd
# The following are compiled and added to the Support library
_APPNAME_Support_SRCS += xxxRecord.c
_APPNAME_Support_SRCS += devXxxSoft.c
_APPNAME_Support_SRCS += dbSubExample.c
_APPNAME_Support_LIBS += $(EPICS_BASE_IOC_LIBS)
#=============================
# build an ioc application
PROD_IOC = _APPNAME_
# <name>.dbd will be created from <name>Include.dbd
DBD += _APPNAME_.dbd
#=============================
LIBRARY_IOC += _APPNAME_Ioc
_APPNAME_Ioc_SRCS += xxxRecord.c
_APPNAME_Ioc_SRCS += devXxxSoft.c
_APPNAME_Ioc_SRCS += dbSubExample.c
_APPNAME_Ioc_LIBS += $(EPICS_BASE_IOC_LIBS)
#=============================
PROD_IOC = _APPNAME_
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
_APPNAME__SRCS += _APPNAME__registerRecordDeviceDriver.cpp
@@ -33,7 +38,7 @@ _APPNAME__SRCS_vxWorks += -nil-
#The following adds support from base/src/vxWorks
_APPNAME__OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
_APPNAME__LIBS += _APPNAME_Ioc
_APPNAME__LIBS += _APPNAME_Support
#NOTES:
# 1)It is not possible to build sncExample both as a component of _APPNAME_

View File

@@ -1,4 +1,2 @@
include "base.dbd"
include "xxxRecord.dbd"
device(xxx,CONSTANT,devXxxSoft,"SoftChannel")
registrar("mySub")
include "_APPNAME_Support.dbd"

View File

@@ -0,0 +1,3 @@
include "xxxRecord.dbd"
device(xxx,CONSTANT,devXxxSoft,"SoftChannel")
registrar(mySub)