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
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
=
../..
TOP
=
../..
include
$(TOP)/configure/CONFIG
include
$(TOP)/configure/CONFIG
#----------------------------------------
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
#=============================
DBD
+=
xxx.dbd
# For Kate Feng's implementation of devScaler.c, which uses Till
DBD
+=
xxxVx.dbd
# Straumann's basicIoOps.h to bridge any mismatch between endianness
# of Joerger scaler hardware and endianness of processor.
PROD_IOC_DEFAULT
=
xxx
#USR_CFLAGS += -DHAS_IOOPS_H
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
# Support from ipac
# Locally built ca-client application
xxxVx_LDOBJS_vxWorks
+=
$(
IPAC_BIN
)
/ipacLib
#PROD_HOST += caExample
xxxVx_OBJS_vxWorks
+=
$(
IPAC_BIN
)
/tyGSOctal
#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
LIBRARY_IOC
+=
xxxSupport
xxxVx_LIBS
+=
ip330
xxxVx_LIBS
+=
devIp330
#
STD libraries
#
xxxRecord.h will be created from xxxRecord.dbd
xxx_LIBS
+=
st
d
#DBDINC += xxxRecor
d
xxxVx_LIBS
+=
st
d
# install support-library .dbd into <top>/db
d
#
xxxVx_OBJS_vxWorks += $(STD_BIN)/module_types.o
#
DBD += xxxSupport.dbd
# MOTOR libraries
# The following are compiled and added to the Support library
xxx_LIBS
+=
Newport softMotor motorCOM_mpf motor
#xxxSupport_SRCS += xxxRecord.c
xxxVx_LIBS
+=
oms Newport softMotor motorCOM_mpf motor
# LOVE libraries
#xxxSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
xxxVx_LIBS
+=
love
# IPUNIDIG libraries
#=============================
xxxVx_LIBS
+=
ipUnidig
# build an ioc application
# DAC128V libraries
xxxVx_LIBS
+=
dac128V
# MPF libraries.
PROD_IOC_vxWorks
=
xxx
xxx_LIBS
+=
mpfSerial mpfEpics mpf
xxxVx_LIBS
+=
mpfSerial mpfEpics mpf
#
SNCSEQ libraries.
#
<name>.dbd will be created from <name>Include.dbd
xxx_LIBS
+=
seq
pv
DBD
+=
xxx.dbd
xxxVx_LIBS
+=
seq
pv
DBD
+=
xxxVX.dbd
# Support from vxStats
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
xxxVx_OBJS_vxWorks
+=
$(
VXSTATS_BIN
)
/devVXStats
xxx_SRCS_DEFAULT
+=
xxx_registerRecordDeviceDriver.cpp
xxx_SRCS_vxWorks
+=
xxxVX_registerRecordDeviceDriver.cpp
xxx_LIBS
+=
$(
EPICS_BASE_IOC_LIBS
)
xxx_SRCS_DEFAULT
+=
xxxMain.cpp
xxxVx_LIBS
+=
$(
EPICS_BASE_IOC_LIBS
)
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
include
$(TOP)/configure/RULES
#----------------------------------------
#----------------------------------------
# ADD RULES AFTER THIS LINE
# 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