-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
73 lines (64 loc) · 1.76 KB
/
Makefile
File metadata and controls
73 lines (64 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# $Log:
#
.DELETE_ON_ERROR: ;
# Put any variables needed by all makefiles in etc/Makefile.variables
include etc/Makefile.variables
.PHONY: all info coda ctp engine exe hack htracking include oneev online port \
stracking syncfilter t20 tracking utilsubs clean distclean
#Missing from all: oneev online t20
#There is no way to compile t20
#make fails when running on t20 or online
#oneev seems to work
all: info include utilsubs ctp coda tracking htracking stracking hack port \
engine syncfilter exe
info:
@echo HOSTNAME = $(HOSTNAME)
@echo ROOTSYS = $(ROOTSYS)
@echo CERN_ROOT = $(CERN_ROOT)
@echo NFSDIRECTORY = $(NFSDIRECTORY)
@echo Using GCC $(gccversion) with CC = $(CC), CXX = $(CXX) and FC = $(FC)
@echo
coda:
$(MAKE) -C CODA
ctp:
$(MAKE) -C CTP
engine:
$(MAKE) -C ENGINE
exe:
$(MAKE) -C EXE
hack:
$(MAKE) -C HACK
htracking:
$(MAKE) -C HTRACKING
include:
$(MAKE) -C INCLUDE
oneev:
$(MAKE) -C ONEEV
online:
$(MAKE) -C ONLINE csoft
port:
$(MAKE) -C PORT
stracking:
$(MAKE) -C STRACKING
syncfilter:
$(MAKE) -C SYNCFILTER
t20: ;
tracking:
$(MAKE) -C TRACKING
utilsubs:
$(MAKE) -C UTILSUBS
clean:
-$(RM) */O.$(MYOS)/*.[do]
-rm ../$(MYOS)/lib/*.a
# -(cd ../$(MYOS)/lib; $(RM) libcoda.a libctpclient_root.a libctp_root.a \
libengine.a libhack.a libhtracking.a libport.a libstracking.a \
libtracking.a libutils.a libctp.a libctpclient.a )
-(cd ../$(MYOS)/bin; $(RM) engine_replay makereg syncfilter)
-$(RM) CTP/daVarRpc_svc.c CTP/daVarRpc_xdr.c CTP/daVarRpc_clnt.c CTP/daVarRpc.h
# This rule deletes almost everything possible. It makes no attempt to clean
# anything that would be created if NFSDIRECTORY were defined
distclean: clean
-$(RM) -r */O.$(MYOS)
# r_*.f files are generated automatically and saved because they are .PRECIOUS
-$(RM) */r_*.f