Skip to content
Snippets Groups Projects
Commit 8d8f6f62 authored by Jean Coquet's avatar Jean Coquet
Browse files

added linux support

parent 5edf0a2d
Branches
Tags
No related merge requests found
#=============================================================================
#
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment