Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CryoCooler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Tango devices
Temperature
CryoCooler
Commits
8d8f6f62
Commit
8d8f6f62
authored
Mar 11, 2009
by
Jean Coquet
Browse files
Options
Downloads
Patches
Plain Diff
added linux support
parent
5edf0a2d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile.linux
+167
-0
167 additions, 0 deletions
src/Makefile.linux
with
167 additions
and
0 deletions
src/Makefile.linux
0 → 100644
+
167
−
0
View file @
8d8f6f62
#=============================================================================
#
# file : Makefile.h
#
# description : Makefile for DeviceServer
#
# $Author: $
#
# $Revision: $
#
# $Log: Makefile.linux,v $
#
#
#
#=============================================================================
#=============================================================================
# OUTPUT_TYPE can be one of the following :
# - 'STATIC_LIB' for a static library (.a)
# - 'DYNAMIC_LIB' for a dynamic library (.so)
# - 'DEVICE' for a device server (will automatically include and link
# with Tango dependencies)
# - 'SIMPLE_EXE' for an executable with no dependency (for exemple the test tool
# of a library with no Tango dependencies)
#
OUTPUT_TYPE
=
DEVICE
#=============================================================================
# OUTPUT_DIR is the directory which contains the build result.
# if not set, the standard location is :
# - $HOME/DeviceServers if OUTPUT_TYPE is DEVICE
# - ../bin for others
#
OUTPUT_DIR
=
#=============================================================================
# PACKAGE_NAME is the name of the library/device/exe you want to build
# - for a device server, PACKAGE_NAME will be prefixed by 'ds_'
# - for a library (static or dynamic), PACKAGE_NAME will be prefixed by 'lib'
# - for a simple executable, PACKAGE_NAME will be the name of the executable
#
PACKAGE_NAME
=
CryoCooler
#=============================================================================
# INC_DIR_USER is the list of all include path needed by your sources
# - for a device server, tango dependencies are automatically appended
# - '-I ../include' and '-I .' are automatically appended in all cases
#
# -I$(SOLEIL_ROOT)/hw-support/ace/include for ACE library
# -I$(SOLEIL_ROOT)/hw-support/asl/include for ASL library
# -I$(SOLEIL_ROOT)/sw-support/hkl/include for HKL library
# ...etc
#
INC_DIR_USER
=
-I
$(
SOLEIL_ROOT
)
/hw-support/plc/include
\
-I
$(
SOLEIL_ROOT
)
/sw-support/YAT/include
\
-I
$(
SOLEIL_ROOT
)
/sw-support/YAT4tango/include
\
-I
./cryo_support
#=============================================================================
# LIB_DIR_USER is the list of user library directories
# - for a device server, tango libraries directories are automatically appended
# - '-L ../lib' is automatically appended in all cases
# -L $(SOLEIL_ROOT)/hw-support/ace/lib for ACE library
# -L $(SOLEIL_ROOT)/hw-support/asl/lib for ASL library
# -L $(SOLEIL_ROOT)/sw-support/hkl/lib for HKL library
# ...etc
#
LIB_DIR_USER
=
-L
$(
SOLEIL_ROOT
)
/sw-support/YAT4tango/lib/static/linux
\
-L
$(
SOLEIL_ROOT
)
/sw-support/YAT/lib/static/linux
\
-L
$(
SOLEIL_ROOT
)
/hw-support/plc/lib/
#=============================================================================
# LFLAGS_USR is the list of user link flags
# - for a device server, tango libraries directories are automatically appended
# - '-ldl -lpthread' is automatically appended in all cases
#
# !!! ATTENTION !!!
# Be aware that the order matters.
# For example if you must link with libA, and if libA depends itself on libB
# you must use '-lA -lB' in this order as link flags, otherwise you will get
# 'undefined reference' errors
#
# -lACE for ACE
# -lASL for ASL
# -lHKL for HKL
#
LFLAGS_USR
=
-lPLCServerProxy
-lYAT
-lYAT4Tango
#=============================================================================
# CXXFLAGS_USR lists the compilation flags specific for your library/device/exe
# This is the place where to put your compile-time macros using '-Dmy_macro'
#
# -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ for ACE
#
#CXXFLAGS_USR=-DSIMULATED_AXIS
#
# include Standard TANGO compilation options
#
include
$(SOLEIL_ROOT)/env/tango.opt
CPPDIRUSER
=
./cryo_support
#=============================================================================
# SVC_OBJS is the list of all objects needed to make the output
#
SVC_OBJS
=
\
$(
OBJDIR
)
/ClassFactory.o
\
$(
OBJDIR
)
/main.o
\
$(
OBJDIR
)
/cryo_support/HWProxy.o
\
$(
OBJDIR
)
/cryo_support/Parts.o
\
$(
OBJDIR
)
/
$(
PACKAGE_NAME
)
.o
\
$(
OBJDIR
)
/
$(
PACKAGE_NAME
)
Class.o
\
$(
OBJDIR
)
/
$(
PACKAGE_NAME
)
StateMachine.o
\
$(
OBJDIR
)
/CryoAnalogValve.o
\
$(
OBJDIR
)
/CryoAnalogValveClass.o
\
$(
OBJDIR
)
/CryoAnalogValveStateMachine.o
\
$(
OBJDIR
)
/CryoDigitalValve.o
\
$(
OBJDIR
)
/CryoDigitalValveClass.o
\
$(
OBJDIR
)
/CryoDigitalValveStateMachine.o
\
$(
OBJDIR
)
/Temperature.o
\
$(
OBJDIR
)
/TemperatureClass.o
\
$(
OBJDIR
)
/TemperatureStateMachine.o
\
$(
OBJDIR
)
/Level.o
\
$(
OBJDIR
)
/LevelClass.o
\
$(
OBJDIR
)
/LevelStateMachine.o
\
$(
OBJDIR
)
/Pressure.o
\
$(
OBJDIR
)
/PressureClass.o
\
$(
OBJDIR
)
/PressureStateMachine.o
\
$(
OBJDIR
)
/LN2.o
\
$(
OBJDIR
)
/LN2Class.o
\
$(
OBJDIR
)
/LN2StateMachine.o
\
$(
OBJDIR
)
/HeaterVessel.o
\
$(
OBJDIR
)
/HeaterVesselClass.o
\
$(
OBJDIR
)
/HeaterVesselStateMachine.o
# Verbose mode
#
#.SILENT:
#
# include common targets
#
include
$(SOLEIL_ROOT)/env/common_target.opt
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