Make rec, softDev, and testDev libs shared.
This commit is contained in:
@@ -11,8 +11,6 @@ TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
SHARED_LIBRARIES = NO
|
||||
|
||||
SRCS += devAiSoft.c
|
||||
SRCS += devAiSoftRaw.c
|
||||
SRCS += devAoSoft.c
|
||||
@@ -39,6 +37,7 @@ SRCS += devSoSoft.c
|
||||
SRCS += devWfSoft.c
|
||||
|
||||
LIBRARY_IOC += softDevIoc
|
||||
softDevIoc_LIBS += dbIoc
|
||||
|
||||
# For R3.13 compatability
|
||||
OBJS_vxWorks = $(SRCS:%.c=%)
|
||||
|
||||
@@ -27,10 +27,13 @@
|
||||
#include "devSup.h"
|
||||
#include "link.h"
|
||||
#include "aiRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devAiSoft */
|
||||
static long init_record();
|
||||
static long read_ai();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -28,10 +28,13 @@
|
||||
#include "devSup.h"
|
||||
#include "link.h"
|
||||
#include "aiRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devAiSoftRaw */
|
||||
static long init_record(aiRecord *pai);
|
||||
static long read_ai(aiRecord *pai);
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -30,13 +30,15 @@
|
||||
#include "link.h"
|
||||
#include "special.h"
|
||||
#include "aoRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* added for Channel Access Links */
|
||||
static long init_record();
|
||||
|
||||
/* Create the dset for devAoSoft */
|
||||
static long write_ao();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -30,10 +30,12 @@
|
||||
#include "link.h"
|
||||
#include "special.h"
|
||||
#include "aoRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devAoSoftRaw */
|
||||
static long write_ao(aoRecord *pao);
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "biRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devBiSoft */
|
||||
static long init_record();
|
||||
static long read_bi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "biRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devBiSoftRaw */
|
||||
static long init_record();
|
||||
static long read_bi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -29,13 +29,16 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "boRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
|
||||
static long init_record();
|
||||
|
||||
/* Create the dset for devBoSoft */
|
||||
static long write_bo();
|
||||
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "boRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
|
||||
/* added for Channel Access Links */
|
||||
static long init_record();
|
||||
@@ -35,7 +38,7 @@ static long init_record();
|
||||
/* Create the dset for devBoSoftRaw */
|
||||
static long write_bo();
|
||||
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -24,11 +24,14 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "eventRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
|
||||
/* Create the dset for devEventSoft */
|
||||
static long init_record();
|
||||
static long read_event();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -26,10 +26,13 @@
|
||||
#include "devSup.h"
|
||||
#include "link.h"
|
||||
#include "histogramRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devHistogramSoft */
|
||||
static long init_record();
|
||||
static long read_histogram();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -24,12 +24,15 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "longinRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
|
||||
/* Create the dset for devLiSoft */
|
||||
static long init_record();
|
||||
static long read_longin();
|
||||
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -24,10 +24,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "longoutRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devLoSoft */
|
||||
static long init_record();
|
||||
static long write_longout();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbbiDirectRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbbiSoft */
|
||||
static long init_record();
|
||||
static long read_mbbi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbbiDirectRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbbiDirectSoftRaw */
|
||||
static long init_record();
|
||||
static long read_mbbi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbbiRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbbiSoft */
|
||||
static long init_record();
|
||||
static long read_mbbi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbbiRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbbiSoftRaw */
|
||||
static long init_record();
|
||||
static long read_mbbi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbboDirectRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbboSoft */
|
||||
static long init_record();
|
||||
static long write_mbbo();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,11 +25,14 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbboDirectRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
|
||||
/* Create the dset for devMbboDirectSoftRaw */
|
||||
static long init_record();
|
||||
static long write_mbbo();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,10 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbboRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbboSoft */
|
||||
static long init_record();
|
||||
static long write_mbbo();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -24,10 +24,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "mbboRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbboSoftRaw */
|
||||
static long init_record();
|
||||
static long write_mbbo();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,13 +25,15 @@
|
||||
#include "devSup.h"
|
||||
#include "link.h"
|
||||
#include "subArrayRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
static int sizeofTypes[] = {MAX_STRING_SIZE,1,1,2,2,4,4,4,8,2};
|
||||
|
||||
/* Create the dset for devSASoft */
|
||||
static long init_record();
|
||||
static long read_sa();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -26,11 +26,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "stringinRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devSiSoft */
|
||||
static long init_record();
|
||||
static long read_stringin();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -25,11 +25,13 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "stringoutRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devSoSoft */
|
||||
static long init_record();
|
||||
static long write_stringout();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -30,11 +30,13 @@
|
||||
#include "devSup.h"
|
||||
#include "link.h"
|
||||
#include "waveformRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devWfSoft */
|
||||
static long init_record();
|
||||
static long read_wf();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -11,8 +11,6 @@ TOP=../../..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
SHARED_LIBRARIES = NO
|
||||
|
||||
SRCS += devAiTestAsyn.c
|
||||
SRCS += devAoTestAsyn.c
|
||||
SRCS += devBiTestAsyn.c
|
||||
@@ -26,6 +24,7 @@ SRCS += devSoTestAsyn.c
|
||||
SRCS += devWfTestAsyn.c
|
||||
|
||||
LIBRARY_IOC = testDevIoc
|
||||
testDevIoc_LIBS += dbIoc
|
||||
|
||||
# For R3.13 compatability
|
||||
OBJS_vxWorks = $(SRCS:%.c=%)
|
||||
|
||||
@@ -33,11 +33,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "aiRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devAiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_ai();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -54,6 +56,7 @@ struct {
|
||||
read_ai,
|
||||
NULL};
|
||||
|
||||
|
||||
static long init_record(pai)
|
||||
struct aiRecord *pai;
|
||||
{
|
||||
|
||||
@@ -34,11 +34,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "aoRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devAoTestAsyn */
|
||||
static long init_record();
|
||||
static long write_ao();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -33,11 +33,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "biRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devBiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_bi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -34,11 +34,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "boRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devBoTestAsyn */
|
||||
static long init_record();
|
||||
static long write_bo();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -27,11 +27,14 @@
|
||||
#include "recSup.h"
|
||||
#include "devSup.h"
|
||||
#include "eventRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devEventTestIoEvent */
|
||||
static long init_record();
|
||||
static long get_ioint_info();
|
||||
static long read_event();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -29,11 +29,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "histogramRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devHistogramTestAsyn */
|
||||
static long init_record();
|
||||
static long read_histogram();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -33,11 +33,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "mbbiRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbbiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_mbbi();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -34,11 +34,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "mbboRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devMbboTestAsyn */
|
||||
static long init_record();
|
||||
static long write_mbbo();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -32,11 +32,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "stringinRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devSiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_stringin();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -33,11 +33,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "stringoutRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devSoTestAsyn */
|
||||
static long init_record();
|
||||
static long write_stringout();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
@@ -33,11 +33,13 @@
|
||||
#include "link.h"
|
||||
#include "dbCommon.h"
|
||||
#include "waveformRecord.h"
|
||||
#define epicsExportSharedSymbols
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Create the dset for devWfTestAsyn */
|
||||
static long init_record();
|
||||
static long read_wf();
|
||||
struct {
|
||||
epicsShareExtern struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
|
||||
Reference in New Issue
Block a user