]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/MUON/utils/Makefile
Really make sure we anounce enough buffer space to AliHLTSystem framework.
[u/mrichter/AliRoot.git] / HLT / MUON / utils / Makefile
1 #/**************************************************************************
2 # * This file is property of and copyright by the ALICE HLT Project        * 
3 # * All rights reserved.                                                   *
4 # *                                                                        *
5 # * Primary Authors:                                                       *
6 # *   Artur Szostak <artursz@iafrica.com>                                  *
7 # *                                                                        *
8 # * Permission to use, copy, modify and distribute this software and its   *
9 # * documentation strictly for non-commercial purposes is hereby granted   *
10 # * without fee, provided that the above copyright notice appears in all   *
11 # * copies and that both the copyright notice and this permission notice   *
12 # * appear in the supporting documentation. The authors make no claims     *
13 # * about the suitability of this software for any purpose. It is          * 
14 # * provided "as is" without express or implied warranty.                  *
15 # **************************************************************************/
16
17 # This makefile allows the dHLTdumpraw utility to be built standalone without
18 # requiring external libraries. All system libraries are built with -static.
19 # It may be useful in certain cases where no AliRoot libraries are available or
20 # it is not certain which library versions are in use.
21 # In general and usual cases one should rather use the utilities as built by
22 # the normal AliRoot build system since this makefile is less portable between
23 # platforms.
24
25 SRCS =  AliHLTMUONUtils.cxx \
26         AliHLTMUONConstants.cxx \
27         AliHLTMUONTriggerRecordsBlockStruct.cxx \
28         AliHLTMUONTrigRecsDebugBlockStruct.cxx \
29         AliHLTMUONTriggerChannelsBlockStruct.cxx \
30         AliHLTMUONRecHitsBlockStruct.cxx \
31         AliHLTMUONClustersBlockStruct.cxx \
32         AliHLTMUONChannelsBlockStruct.cxx \
33         AliHLTMUONMansoTracksBlockStruct.cxx \
34         AliHLTMUONMansoCandidatesBlockStruct.cxx \
35         AliHLTMUONSinglesDecisionBlockStruct.cxx \
36         AliHLTMUONPairsDecisionBlockStruct.cxx
37
38 vpath %.h ../
39 vpath %.cxx ../
40
41 HDRS := $(SRCS:.cxx=.h)
42 DEPS := $(SRCS:.cxx=.d)
43 OBJS := $(SRCS:.cxx=.o)
44
45 .PHONY : all clean
46
47 all : dHLTdumpraw
48
49 clean :
50         rm -f *.o *.d
51
52 dHLTdumpraw : $(OBJS) dHLTdumpraw.o
53         g++ -O -static -static-libgcc $^ -o $@
54
55 %.o : %.cxx
56         g++ -O -I../../BASE -I../ -Wall -Weffc++ -c $< -o $@
57
58 SEDCMD := "s/\(.*\)\.o/$(subst /,\/,$(@D)/)\1\.o $(subst /,\/,$(@D)/)\1\.d/g"
59
60 %.d : %.cxx
61         g++ -I../../BASE -I../ -MM $< | sed $(SEDCMD) > $@
62
63 -include $(DEPS)