Converted to new build method.
This commit is contained in:
@@ -1,3 +1,29 @@
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG_APP
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
|
||||
#----------------------------------------------------
|
||||
# Optimization of db files using dbst (DEFAULT: NO)
|
||||
#DB_OPT = YES
|
||||
|
||||
#----------------------------------------------------
|
||||
# Optimization needs the name of the appropriate
|
||||
# dbd file (compare with ../src/Makefile.Vx)
|
||||
#DBDNAME = exampleApp.dbd
|
||||
|
||||
#----------------------------------------------------
|
||||
# Add databases, templates, substitutions like this
|
||||
DB += dbExample1.db dbExample2.db
|
||||
|
||||
#----------------------------------------------------
|
||||
# Declare template files which do not show up in DB
|
||||
#USES_TEMPLATE += dbExample2.template
|
||||
|
||||
#----------------------------------------------------
|
||||
# The following line is for local dbd expansion
|
||||
#DBDEXPAND = exampleInclude.dbd
|
||||
|
||||
include $(TOP)/configure/RULES.Db
|
||||
#----------------------------------------
|
||||
# ADD RULES AFTER THIS LINE
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
|
||||
#----------------------------------------------------
|
||||
# Optimization of db files using dbst (DEFAULT: NO)
|
||||
#DB_OPT = YES
|
||||
|
||||
#----------------------------------------------------
|
||||
# Optimization needs the name of the appropriate
|
||||
# dbd file (compare with ../src/Makefile.Vx)
|
||||
#DBDNAME = exampleApp.dbd
|
||||
|
||||
#----------------------------------------------------
|
||||
# Add databases, templates, substitutions like this
|
||||
DB += dbExample1.db dbExample2.db
|
||||
|
||||
#----------------------------------------------------
|
||||
# Declare template files which do not show up in DB
|
||||
#USES_TEMPLATE += dbExample2.template
|
||||
|
||||
#----------------------------------------------------
|
||||
# The following line is for local dbd expansion
|
||||
#DBDEXPAND = exampleInclude.dbd
|
||||
|
||||
include $(TOP)/configure/RULES.Db
|
||||
#----------------------------------------
|
||||
# ADD RULES AFTER THIS LINE
|
||||
@@ -1,6 +1,43 @@
|
||||
TOP=../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
|
||||
include $(TOP)/configure/RULES_ARCHS
|
||||
#USR_CFLAGS +=
|
||||
PROD_LIBS += ca
|
||||
PROD_LIBS += Db
|
||||
PROD_LIBS += Com
|
||||
ca_DIR = $(EPICS_BASE_LIB)
|
||||
Db_DIR = $(EPICS_BASE_LIB)
|
||||
Com_DIR = $(EPICS_BASE_LIB)
|
||||
|
||||
PROD += caExample
|
||||
|
||||
#USR_CFLAGS +=
|
||||
|
||||
RECTYPES += xxxRecord.h
|
||||
DBDEXPAND = exampleInclude.dbd
|
||||
DBDNAME = exampleApp.dbd
|
||||
|
||||
LIBRARY_IOC = exampleLib
|
||||
|
||||
exampleLib_SRCS += xxxRecord.c
|
||||
exampleLib_SRCS += devXxxSoft.c
|
||||
exampleLib_SRCS += sncExample.c
|
||||
|
||||
#exampleLib_SRCS += registerRecordDeviceDriver.c
|
||||
|
||||
LIBOBJS += $(EPICS_BASE_BIN)/registerRecordDeviceDriver.o
|
||||
|
||||
LIBOBJS += $(EPICS_BASE_BIN)/iocCore
|
||||
LIBOBJS += $(EPICS_BASE_BIN)/seq
|
||||
|
||||
-include ../baseLIBOBJS
|
||||
|
||||
#Note that the command line that builds the
|
||||
#library $(LIBRARY_IOC) may be HUGE (>3kB)
|
||||
#
|
||||
include $(TOP)/configure/RULES
|
||||
#----------------------------------------
|
||||
# ADD RULES AFTER THIS LINE
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
|
||||
#USR_CFLAGS +=
|
||||
PROD_LIBS += ca
|
||||
PROD_LIBS += Db
|
||||
PROD_LIBS += Com
|
||||
ca_DIR = $(EPICS_BASE_LIB)
|
||||
Db_DIR = $(EPICS_BASE_LIB)
|
||||
Com_DIR = $(EPICS_BASE_LIB)
|
||||
|
||||
PROD += caExample
|
||||
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
#----------------------------------------
|
||||
# ADD RULES AFTER THIS LINE
|
||||
@@ -1,32 +0,0 @@
|
||||
TOP=../..
|
||||
include $(TOP)/configure/CONFIG
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
|
||||
#USR_CFLAGS +=
|
||||
|
||||
RECTYPES += xxxRecord.h
|
||||
DBDEXPAND = exampleInclude.dbd
|
||||
DBDNAME = exampleApp.dbd
|
||||
|
||||
LIBRARY_vxWorks = exampleLib
|
||||
|
||||
exampleLib_SRCS += xxxRecord.c
|
||||
exampleLib_SRCS += devXxxSoft.c
|
||||
exampleLib_SRCS += sncExample.c
|
||||
|
||||
#exampleLib_SRCS += registerRecordDeviceDriver.c
|
||||
|
||||
LIBOBJS += $(EPICS_BASE_BIN)/registerRecordDeviceDriver.o
|
||||
|
||||
LIBOBJS += $(EPICS_BASE_BIN)/iocCore
|
||||
LIBOBJS += $(EPICS_BASE_BIN)/seq
|
||||
|
||||
include ../baseLIBOBJS
|
||||
|
||||
#Note that the command line that builds the
|
||||
#library $(LIBNAME) may be HUGE (>3kB)
|
||||
#
|
||||
include $(TOP)/configure/RULES_BUILD
|
||||
#----------------------------------------
|
||||
# ADD RULES AFTER THIS LINE
|
||||
Reference in New Issue
Block a user