Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxx-R6-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
synApps_6_1_Working
xxx-R6-1
Commits
667a6c27
Commit
667a6c27
authored
21 years ago
by
mooney
Browse files
Options
Downloads
Patches
Plain Diff
Make separate .dbd files, but target-specific library
parent
6caeb609
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xxxApp/src/Makefile
+107
-50
107 additions, 50 deletions
xxxApp/src/Makefile
with
107 additions
and
50 deletions
xxxApp/src/Makefile
+
107
−
50
View file @
667a6c27
# Makefile
TOP
=
../..
include
$(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
DBD
+=
xxx.dbd
DBD
+=
xxxVx.dbd
PROD_IOC_DEFAULT
=
xxx
PROD_IOC_vxWorks
=
xxxVx
xxx_SRCS
+=
xxx_registerRecordDeviceDriver.cpp
xxxVx_SRCS
+=
xxxVx_registerRecordDeviceDriver.cpp
xxx_SRCS_DEFAULT
+=
xxxMain.cpp
#The following adds support from base/src/vxWorks
xxxVx_OBJS_vxWorks
+=
$(
EPICS_BASE_BIN
)
/vxComLibrary
# For Kate Feng's implementation of devScaler.c, which uses Till
# Straumann's basicIoOps.h to bridge any mismatch between endianness
# of Joerger scaler hardware and endianness of processor.
#USR_CFLAGS += -DHAS_IOOPS_H
# Support from ipac
xxxVx_LDOBJS_vxWorks
+=
$(
IPAC_BIN
)
/ipacLib
xxxVx_OBJS_vxWorks
+=
$(
IPAC_BIN
)
/tyGSOctal
# Locally built ca-client application
#PROD_HOST += caExample
#caExample_SRCS += caExample.c
#caExample_LIBS += ca
#caExample_LIBS += Com
#ca_DIR = $(EPICS_BASE_LIB)
#Com_DIR = $(EPICS_BASE_LIB)
# MCA libraries
xxxVx_LIBS
+=
mcaSIS
xxxVx_LIBS
+=
mcaCanberra
xxxVx_LIBS
+=
mca
#
IP libraries.
xxxVx_LIBS
+=
ip
#
==================================================
# build a support library that some other application can use
# IP330 libraries
xxxVx_LIBS
+=
ip330
xxxVx_LIBS
+=
devIp330
LIBRARY_IOC
+=
xxxSupport
#
STD libraries
xxx_LIBS
+=
st
d
xxxVx_LIBS
+=
st
d
#
xxxVx_OBJS_vxWorks += $(STD_BIN)/module_types.o
#
xxxRecord.h will be created from xxxRecord.dbd
#DBDINC += xxxRecor
d
# install support-library .dbd into <top>/db
d
#
DBD += xxxSupport.dbd
# MOTOR libraries
xxx_LIBS
+=
Newport softMotor motorCOM_mpf motor
xxxVx_LIBS
+=
oms Newport softMotor motorCOM_mpf motor
# The following are compiled and added to the Support library
#xxxSupport_SRCS += xxxRecord.c
# LOVE libraries
xxxVx_LIBS
+=
love
#xxxSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
# IPUNIDIG libraries
xxxVx_LIBS
+=
ipUnidig
# DAC128V libraries
xxxVx_LIBS
+=
dac128V
#=============================
# build an ioc application
# MPF libraries.
xxx_LIBS
+=
mpfSerial mpfEpics mpf
xxxVx_LIBS
+=
mpfSerial mpfEpics mpf
PROD_IOC_vxWorks
=
xxx
#
SNCSEQ libraries.
xxx_LIBS
+=
seq
pv
xxxVx_LIBS
+=
seq
pv
#
<name>.dbd will be created from <name>Include.dbd
DBD
+=
xxx.dbd
DBD
+=
xxxVX.dbd
# Support from vxStats
xxxVx_OBJS_vxWorks
+=
$(
VXSTATS_BIN
)
/devVXStats
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
xxx_SRCS_DEFAULT
+=
xxx_registerRecordDeviceDriver.cpp
xxx_SRCS_vxWorks
+=
xxxVX_registerRecordDeviceDriver.cpp
xxx_LIBS
+=
$(
EPICS_BASE_IOC_LIBS
)
xxxVx_LIBS
+=
$(
EPICS_BASE_IOC_LIBS
)
xxx_SRCS_DEFAULT
+=
xxxMain.cpp
xxx_SRCS_vxWorks
+=
-nil-
# The following builds xxxSNL as a component of xxx
# NOTE: for suffix .st, code is run through cpp; for .stt, it's not
#xxx_SRCS += xxxSNL.st
#xxx_SRCS_vxWorks += xxxSNL.st
#xxx_LIBS += xxxSupport
### from support
xxx_LIBS_DEFAULT
+=
mca mcaCanberra mcaSIS
xxx_LIBS_solaris
+=
-nil-
mca_DIR
=
$(
MCA_LIB
)
mcaCanberra_DIR
=
$(
MCA_LIB
)
mcaSIS_DIR
=
$(
MCA_LIB
)
xxx_LIBS_DEFAULT
+=
dac128V
xxx_LIBS_solaris
+=
-nil-
dac128V_DIR
=
$(
DAC128V_LIB
)
xxx_LIBS_DEFAULT
+=
gpib
xxx_LIBS_solaris
+=
gpib
gpib_DIR
=
$(
GPIBCORE_LIB
)
xxx_LIBS_DEFAULT
+=
ip
xxx_LIBS_solaris
+=
-nil-
ip_DIR
=
$(
IP_LIB
)
xxx_LIBS_DEFAULT
+=
ip330 devIp330
xxx_LIBS_solaris
+=
-nil-
ip330_DIR
=
$(
IP330_LIB
)
devip330_DIR
=
$(
IP330_LIB
)
xxx_LIBS_DEFAULT
+=
ipUnidig
xxx_LIBS_solaris
+=
-nil-
ipUnidig_DIR
=
$(
IPUNIDIG_LIB
)
xxx_LIBS_DEFAULT
+=
love
xxx_LIBS_solaris
+=
-nil-
love_DIR
=
$(
LOVE_LIB
)
xxx_LDOBJS_vxWorks
+=
$(
IPAC_BIN
)
/ipacLib
xxx_OBJS_vxWorks
+=
$(
IPAC_BIN
)
/tyGSOctal
xxx_LIBS_DEFAULT
+=
oms softMotor motor
xxx_LIBS_solaris
+=
softMotor motor
motor_DIR
=
$(
MOTOR_LIB
)
softMotor_DIR
=
$(
MOTOR_LIB
)
oms_DIR
=
$(
MOTOR_LIB
)
xxx_LIBS_DEFAULT
+=
seq
pv seqDev
xxx_LIBS_solaris
+=
seq
pv seqDev
seq_DIR
=
$(
SEQ_LIB
)
pv_DIR
=
$(
SEQ_LIB
)
seqDev_DIR
=
$(
SEQ_LIB
)
#xxx_LIBS_DEFAULT += vxStats
#xxx_LIBS_solaris += BSlib
#vxStats_DIR = $(VXSTATS_LIB)
#BSlib_DIR = $(VXSTATS_LIB)
xxx_LIBS
+=
std
std_DIR
=
$(
STD_LIB
)
xxx_LIBS
+=
mpf mpfEpics mpfSerial
mpf_DIR
=
$(
MPF_LIB
)
mpfEpics_DIR
=
$(
MPF_LIB
)
mpfSerial_DIR
=
$(
MPF_LIB
)
### from base
xxx_LIBS
+=
$(
EPICS_BASE_IOC_LIBS
)
# The following adds support from base/src/vxWorks
xxx_OBJS_vxWorks
+=
$(
EPICS_BASE_BIN
)
/vxComLibrary
#===========================
include
$(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment