Skip to content
Snippets Groups Projects
Commit 51156e64 authored by Sylvain Dupuy's avatar Sylvain Dupuy
Browse files

initial import

parent 4e89f5de
No related branches found
No related tags found
No related merge requests found
#=============================================================================
#-- SOLEIL_ROOT - default install directory
#=============================================================================
ifndef SOLEIL_ROOT
SOLEIL_ROOT = /usr/Local/soleil-root
endif
#=============================================================================
# PROJECT_TYPE
#=============================================================================
# - STATIC_LIB : your project is a static library (.a)
# - SHARED_LIB : your project is a shared library (.so)
# - DEVICE : your project is a TANGO device
# - SIMPLE_EXE : your project is a simple executable binary
#-----------------------------------------------------------------------------
#####> PROJECT_TYPE = DEVICE, STATIC_LIB, SHARED_LIB or SIMPLE_EXE
PROJECT_TYPE = DEVICE
#=============================================================================
# RELEASE_TYPE
#=============================================================================
# - DEBUG : debug symbols - no optimization
# - OPTIMIZED : no debug symbols - optimization level set to O2
#-----------------------------------------------------------------------------
#####> RELEASE_TYPE = DEBUG or OPTIMIZED
RELEASE_TYPE = OPTIMIZED
#=============================================================================
# TANGO_REQUIRED
#=============================================================================
# - TRUE : your project depends on TANGO
# - FALSE : your project does not depend on TANGO
#-----------------------------------------------------------------------------
# - NOTE : if PROJECT_TYPE is set to DEVICE, TANGO will be auto. added
#-----------------------------------------------------------------------------
#####> TANGO_REQUIRED = TRUE or FALSE
#=============================================================================
# OUTPUT_DIR - this directory will contain the build result
#=============================================================================
# - STATIC_LIB : defaults to ../lib
# - SHARED_LIB : defaults to ../lib
# - DEVICE : defaults to $(HOME)/DeviceServers
# - SIMPLE_EXE : defaults to ../bin
#-----------------------------------------------------------------------------
#####> OUTPUT_DIR = <your bin directory>
#=============================================================================
# PROJECT_NAME is the name of the library/device/exe you want to build
#=============================================================================
# - for a DEVICE : PROJECT_NAME will be prefixed by 'ds_'
# - for a STATIC_LIB : PROJECT_NAME will be prefixed by 'lib'
# - for a SHARED_LIB : PROJECT_NAME will be prefixed by 'lib'
# - for a SIMPLE_EXE : PROJECT_NAME will be the name of the executable
#-----------------------------------------------------------------------------
#####> PROJECT_NAME = <your project name>
PROJECT_NAME = SY900S_Channel
#=============================================================================
# INC_DIR_USER - user defined include paths
#=============================================================================
# - for a DEVICE : TANGO dependencies are automatically added
# - any PROJECT_TYPE : "../include" and "." are automatically added
#-----------------------------------------------------------------------------
#####> INC_DIR_USER = <your include paths>
#=============================================================================
# LIB_DIR_USER - user defined library paths
#=============================================================================
# - for a DEVICE : the TANGO libraries directories are automatically added
# - any PROJECT_TYPE : "../lib" is automatically added
#-----------------------------------------------------------------------------
#####> LIB_DIR_USER = <your library paths>
#=============================================================================
# CXXFLAGS_USER - compiler options or user defined macros
#=============================================================================
# - NOTE : put your compile-time macros here using '-Dmy_macro'
#-----------------------------------------------------------------------------
#####> CXXFLAGS_USER = <your macros and/or compiler options>
#=============================================================================
# LDFLAGS_USER - linker options or user defined libraries
#=============================================================================
# - for a DEVICE : the TANGO libraries are automatically added
# - any PROJECT_TYPE : '-ldl -lpthread' are automatically added
#-----------------------------------------------------------------------------
# - NOTE : Be aware that the order matters! For instance, if you link your
# project versus libA, and libA depends itself on libB, you must
# use '-lA -lB', you will get 'undefined reference' errors otherwise
#----------------------------------------------------------------------------
#####> LDFLAGS_USER = <your linker options and/or libraries>
#=============================================================================
# TANGO.OPT - include standard TANGO compilation options
#=============================================================================
include $(SOLEIL_ROOT)/env/tango.opt
#=============================================================================
# SVC_OBJS - is the list of all objects needed in order to build the project
#=============================================================================
# - NOTE : the following example is given for the average TANGO device
#-----------------------------------------------------------------------------
SVC_OBJS = $(OBJ_DIR)/ClassFactory.o \
$(OBJ_DIR)/main.o \
$(OBJ_DIR)/$(PROJECT_NAME)Class.o \
$(OBJ_DIR)/$(PROJECT_NAME).o \
$(OBJ_DIR)/$(PROJECT_NAME)StateMachine.o
#=============================================================================
# VERBOSE - comment the following line if you want a verbose compilation
#=============================================================================
#.SILENT:
#=============================================================================
# COMMON_TARGET.OPT - include standard TANGO compilation options
#=============================================================================
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