1 ###############################################################################
2 # @file Makefile.specific
4 # @brief TEMPLATE. Specific driver description
6 # @author Yury GEORGIEVSKIY, CERN.
8 # Should be adapted for a specific driver
10 # Makefile.specific from the current directory suppressing one from ../
11 # directory (see 'ctr' driver for example).
13 # @date Created on 29/04/2009
14 ###############################################################################
16 # Driver (Module) name. Comming from the DB. Will be converted to lowercase.
20 # If this driver is using skeleton (y/n)
23 # If driver is CDCM compliant
26 # If driver is VME one (valid only if IS_CDCM = y)
29 # If driver is PCI/PMC one (valid only if IS_CDCM = y)
32 # If driver will use extra handy utils (load info file etc...)
35 # If driver will use libinst library to get configuration from XML file
38 # If test program is using extended test program?
41 # If driver has plx9030 and wants to use its standart operations
44 # If driver has plx9656 and wants to use its standart operations
47 # Driver library will always be compiled as .a library.
48 # Say 'y' -- if you want driver library also to be compiled as an
49 # archive (.a) and a shared object library (.so)
50 # Say 'n' -- if you want only .a library
51 COMPILE_LIB_SHARED = n
53 # If needed, add extra directories that should be compiled
54 # during driver framework compilation.
57 # You can change ROOTDIR to locate your own path with cdcm, skel, utils etc..
58 # It *should* be a relative path, starting from driver framework directory
59 #+ (one with driver/ test/ include/ lib/) up to the directory, where cdcm/,
60 #+ skel/, utils/ etc... is nested.
63 # TODO. To be removed.
64 # As whole coht is under git -- CDCM is always in a standart tree.
66 # If you want to compile with CDCM that is _not_ in the ROOTDIR
67 #+ (i.e. out-of-standart-tree) - you _SHOULD_ set CDCM_D in the COMMAND LINE!
68 #+ See 'out-of-tree-cdcm' file on howto do this.
71 # You can redefine FINAL_DEST to deliver compiled object to other then
72 #+ ../object_<drvr_name> dir. Prefix ../ is always added to it.
75 # To change driver src directory from standart one (driver)
78 # To override standard kernel dir location
79 #+ Allows ut to compile with local kernels
82 # Compile for kernel other then default one
88 # Extra include dir for the library
89 ADDINCLUDES = -I./jtag -I/acc/src/dsc/drivers/ctr/src/driver
91 # Extra libraries, needed by the test program
92 LOCAL_LIBS = -ltgm -ldscrt -lerr -lerr_dummy -lnetinet -lm -ltgv -lgm
94 # User-defined name for the test program.
95 # Use it to change test program name.
96 # $(TEST_PROG_NAME).c should present in test/ directory!
97 # <driver-name>Test is used as a default one.
98 TEST_PROG_NAME = mtttest