1 #/**************************************************************************
2 # * This file is property of and copyright by the ALICE HLT Project *
3 # * All rights reserved. *
6 # * Artur Szostak <artursz@iafrica.com> *
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 # **************************************************************************/
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
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
41 HDRS := $(SRCS:.cxx=.h)
42 DEPS := $(SRCS:.cxx=.d)
43 OBJS := $(SRCS:.cxx=.o)
52 dHLTdumpraw : $(OBJS) dHLTdumpraw.o
53 g++ -O -static -static-libgcc $^ -o $@
56 g++ -O -I../../BASE -I../ -Wall -Weffc++ -c $< -o $@
58 SEDCMD := "s/\(.*\)\.o/$(subst /,\/,$(@D)/)\1\.o $(subst /,\/,$(@D)/)\1\.d/g"
61 g++ -I../../BASE -I../ -MM $< | sed $(SEDCMD) > $@