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
7b4fc886
Commit
7b4fc886
authored
7 years ago
by
rivers
Browse files
Options
Downloads
Patches
Plain Diff
Simplified using suggestions from Andrew Johnson
parent
0201cc03
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
+16
-30
16 additions, 30 deletions
xxxApp/src/Makefile
with
16 additions
and
30 deletions
xxxApp/src/Makefile
+
16
−
30
View file @
7b4fc886
...
...
@@ -30,26 +30,13 @@ PROD_IOC = $(PROD_NAME)
# First, define $(DBD_NAME)_DBD and $(PROD_NAME)_LIBS from the modules
# defined in RELEASE
##################################################################
ifeq
(win32-x86, $(findstring win32-x86, $(T_A)))
DBD_NAME
=
$(
DBD_PREFIX
)
Win32
WINDOWS_TARGET
=
YES
endif
ifeq
(windows-x64, $(findstring windows-x64, $(T_A)))
DBD_NAME
=
$(
DBD_PREFIX
)
Win64
WINDOWS_TARGET
=
YES
endif
ifeq
(vxWorks,$(findstring vxWorks, $(T_A)))
DBD_NAME
=
$(
DBD_PREFIX
)
VX
endif
ifeq
(linux,$(findstring linux, $(T_A)))
DBD_NAME
=
$(
DBD_PREFIX
)
Linux
endif
ifeq
($(OS_CLASS), Darwin)
DBD_NAME
=
$(
DBD_PREFIX
)
Darwin
endif
DBD_SUFFIX_cygwin32
=
$(
error Cygwin not supported
)
DBD_SUFFIX_Darwin
=
Darwin
DBD_SUFFIX_Linux
=
Linux
DBD_SUFFIX_RTEMS
=
$(
error RTEMS not supported
)
DBD_SUFFIX_vxWorks
=
VX
DBD_SUFFIX_WIN32
=
Win
$(
if
$(
findstring 32,
$(
T_A
))
,32,64
)
DBD_NAME
=
$(
DBD_PREFIX
)$(
DBD_SUFFIX_
$(
OS_CLASS
))
DBD
+=
$(
DBD_NAME
)
.dbd
...
...
@@ -217,7 +204,7 @@ endif
##################################################################
if
def
WINDOWS_TARGET
if
eq
($(OS_CLASS), WIN32)
ifdef
MEASCOMP
$(DBD_NAME)_DBD
+=
measCompSupport.dbd
$(PROD_NAME)_LIBS
:=
measComp
$($(
PROD_NAME
)
_LIBS
)
...
...
@@ -253,7 +240,7 @@ ifdef WINDOWS_TARGET
endif
##################################################################
ifeq
(
vxWorks,$(findstring vxWorks, $(T_A)))
ifeq
(
$(OS_CLASS), vxWorks)
ifdef
ALLEN_BRADLEY
$(PROD_NAME)_LIBS
:=
allenBradley
$($(
PROD_NAME
)
_LIBS
)
endif
...
...
@@ -339,7 +326,7 @@ ifeq (vxWorks,$(findstring vxWorks, $(T_A)))
endif
##################################################################
if
n
eq
(
,
$(
findstring linux, $(T_A)))
ifeq
($(
OS_CLASS), Linux)
ifdef
DXP
# If your host supports parallel port or USB interfaces to Saturn DXP, set
# LINUX_USB_INSTALLED to YES in <synApps>/configure/CONFIG_SITE.
...
...
@@ -394,15 +381,14 @@ ifneq (,$(findstring linux, $(T_A)))
endif
endif
$(PROD_NAME)_LIBS
:=
$($(
PROD_NAME
)
_LIBS
)
$(
EPICS_BASE_IOC_LIBS
)
$(PROD_NAME)_LIBS
+=
$(
EPICS_BASE_IOC_LIBS
)
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
$(PROD_NAME)_SRCS_vxWorks
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
$(PROD_NAME)_SRCS_Linux
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
$(
PROD_NAME
)
Main.cpp
$(PROD_NAME)_SRCS_WIN32
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
$(
PROD_NAME
)
Main.cpp
$(PROD_NAME)_SRCS_cygwin32
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
$(
PROD_NAME
)
Main.cpp
$(PROD_NAME)_SRCS_solaris
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
$(
PROD_NAME
)
Main.cpp
$(PROD_NAME)_SRCS_Darwin
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
$(
PROD_NAME
)
Main.cpp
ifeq
($(OS_CLASS), vxWorks)
$(PROD_NAME)_SRCS
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
else
$(PROD_NAME)_SRCS
+=
$(
DBD_NAME
)
_registerRecordDeviceDriver.cpp
$(
PROD_NAME
)
Main.cpp
endif
#The following adds support from base/src/vxWorks
$(PROD_NAME)_OBJS_vxWorks
+=
$(
EPICS_BASE_BIN
)
/vxComLibrary
...
...
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