* move the pseudo_axis_related_axes_update in the PseudoAxisAdapter constructor
[diffractometer.git] / src / Makefile.linux
bloba1e901023115ed6c1c98094fe53b7dfc709ee49d
1 #=============================================================================
2 # OUTPUT_TYPE can be one of the following :
3 #   - 'STATIC_LIB' for a static library (.a)
4 #   - 'DYNAMIC_LIB' for a dynamic library (.so)
5 #   - 'DEVICE' for a device server (will automatically include and link
6 #            with Tango dependencies)
7 #   - 'SIMPLE_EXE' for an executable with no dependency (for exemple the test tool
8 #                of a library with no Tango dependencies)
10 OUTPUT_TYPE = DEVICE
12 #=============================================================================
13 # OUTPUT_DIR  is the directory which contains the build result.
14 # if not set, the standard location is :
15 #       - $HOME/DeviceServers if OUTPUT_TYPE is DEVICE
16 #       - ../bin for others
18 OUTPUT_DIR =
20 #=============================================================================
21 # PACKAGE_NAME is the name of the library/device/exe you want to build
22 #   - for a device server, PACKAGE_NAME will be prefixed by 'ds_'
23 #   - for a library (static or dynamic), PACKAGE_NAME will be prefixed by 'lib'
24 #   - for a simple executable, PACKAGE_NAME will be the name of the executable
26 PACKAGE_NAME = DiffractometerDevice
28 #=============================================================================
29 # INC_DIR_USER is the list of all include path needed by your sources
30 #   - for a device server, tango dependencies are automatically appended
31 #   - '-I ../include' and '-I .' are automatically appended in all cases
33 # -I$(ACE_HOME)/include for ACE library
34 # -I$(ASL_HOME)/include for ASL library
36 #INC_DIR_USER=-I../../HKL/include -Ipseudoaxis
37 INC_DIR_USER=-I$(SOLEIL_ROOT)/sw-support/HKL/include -Ipseudoaxis
39 #=============================================================================
40 # LIB_DIR_USER is the list of user library directories
41 #   - for a device server, tango libraries directories are automatically appended
42 #   - '-L ../lib' is automatically appended in all cases
44 #LIB_DIR_USER=-L ../../HKL/bin
45 LIB_DIR_USER=-L $(SOLEIL_ROOT)/sw-support/HKL/lib
47 #=============================================================================
48 # LFLAGS_USR is the list of user link flags
49 #   - for a device server, tango libraries directories are automatically appended
50 #   - '-ldl -lpthread' is automatically appended in all cases
52 # !!! ATTENTION !!!
53 # Be aware that the order matters. 
54 # For example if you must link with libA, and if libA depends itself on libB
55 # you must use '-lA -lB' in this order as link flags, otherwise you will get
56 # 'undefined reference' errors
58 # -lACE for ACE
60 LFLAGS_USR=-lHKL
62 #=============================================================================
63 # CXXFLAGS_USR lists the compilation flags specific for your library/device/exe
64 # This is the place where to put your compile-time macros using '-Dmy_macro'
66 # -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ for ACE
68 CXXFLAGS_USR=
71 #       include Standard TANGO compilation options
73 include $(SOLEIL_ROOT)/env/tango.opt
75 #=============================================================================
76 # SVC_OBJS is the list of all objects needed to make the output
78 SVC_OBJS =      $(OBJDIR)/pseudoaxis/PseudoAxisClass.o  \
79                 $(OBJDIR)/pseudoaxis/PseudoAxis.o  \
80                 $(OBJDIR)/pseudoaxis/PseudoAxisStateMachine.o  \
81                 $(OBJDIR)/TangoHKLAdapter.o  \
82                 $(OBJDIR)/TangoHKLAdapterFactory.o  \
83                 $(OBJDIR)/ClassFactory.o  \
84                 $(OBJDIR)/DynamicAttrAxis.o  \
85                 $(OBJDIR)/main.o  \
86                 $(OBJDIR)/$(PACKAGE_NAME)Class.o \
87                 $(OBJDIR)/$(PACKAGE_NAME)Extra.o \
88                 $(OBJDIR)/$(PACKAGE_NAME).o \
89                 $(OBJDIR)/$(PACKAGE_NAME)StateMachine.o
91 # Verbose mode
93 #.SILENT:
96 #       include common targets
98 include $(SOLEIL_ROOT)/env/common_target.opt