source: Sophya/trunk/SophyaLib/SysTools/Makefile@ 3879

Last change on this file since 3879 was 3879, checked in by cmv, 15 years ago

generation Makefile et smakefile en prevision du tag, cmv 10/09/2010

File size: 3.5 KB
Line 
1include ../BuildMgr/sophyamake.inc
2
3all: $(SOPHYALIBP)libSysTools.a
4
5clean:
6 rm -f $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)parlex.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)zthread.o $(SOPHYAOBJP)timing.o
7 rm -f $(SOPHYALIBP)libSysTools.a
8
9$(SOPHYALIBP)libSysTools.a : $(SOPHYAOBJP)cexpre.o $(SOPHYAOBJP)commander.o $(SOPHYAOBJP)ctimer.o $(SOPHYAOBJP)cxxcmplnk.o $(SOPHYAOBJP)parlex.o $(SOPHYAOBJP)pdlmgr.o $(SOPHYAOBJP)periodic.o $(SOPHYAOBJP)psighand.o $(SOPHYAOBJP)resusage.o $(SOPHYAOBJP)rpneval.o $(SOPHYAOBJP)timing.o $(SOPHYAOBJP)zthread.o
10 $(AR) $(ARFLAGS) $@ $?
11 touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
12
13$(SOPHYAOBJP)cexpre.o: cexpre.cc \
14 $(SOPHYAINCP)sopnamsp.h \
15 cexpre.h \
16 $(SOPHYAINCP)machdefs.h \
17 $(SOPHYAINCP)pexceptions.h \
18 $(SOPHYAINCP)machdefs.h \
19 $(SOPHYAINCP)srandgen.h \
20 $(SOPHYAINCP)randinterf.h \
21 $(SOPHYAINCP)anydataobj.h
22 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cexpre.cc
23
24$(SOPHYAOBJP)commander.o: commander.cc \
25 $(SOPHYAINCP)sopnamsp.h \
26 commander.h \
27 $(SOPHYAINCP)machdefs.h \
28 pdlmgr.h \
29 $(SOPHYAINCP)dvlist.h \
30 $(SOPHYAINCP)objfio.h \
31 $(SOPHYAINCP)machdefs.h \
32 $(SOPHYAINCP)anydataobj.h \
33 $(SOPHYAINCP)ppersist.h \
34 $(SOPHYAINCP)pexceptions.h \
35 $(SOPHYAINCP)gnumd5.h \
36 $(SOPHYAINCP)ppfbinstream.h \
37 $(SOPHYAINCP)rawstream.h \
38 $(SOPHYAINCP)ppfnametag.h \
39 $(SOPHYAINCP)mutyv.h \
40 $(SOPHYAINCP)timestamp.h \
41 ctimer.h \
42 $(SOPHYAINCP)strutil.h \
43 $(SOPHYAINCP)strutilxx.h \
44 cexpre.h \
45 $(SOPHYAINCP)pexceptions.h \
46 rpneval.h \
47 $(SOPHYAINCP)srandgen.h \
48 $(SOPHYAINCP)randinterf.h \
49 zthread.h
50 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ commander.cc
51
52$(SOPHYAOBJP)ctimer.o: ctimer.cc \
53 $(SOPHYAINCP)machdefs.h \
54 ctimer.h
55 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ctimer.cc
56
57$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc \
58 $(SOPHYAINCP)sopnamsp.h \
59 cxxcmplnk.h \
60 $(SOPHYAINCP)machdefs.h \
61 $(SOPHYAINCP)sspvflags.h
62 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cxxcmplnk.cc
63
64$(SOPHYAOBJP)parlex.o: parlex.cc parlex.h zthread.h \
65 $(SOPHYAINCP)machdefs.h \
66 $(SOPHYAINCP)pexceptions.h \
67 $(SOPHYAINCP)machdefs.h
68 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ parlex.cc
69
70$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc \
71 $(SOPHYAINCP)machdefs.h \
72 $(SOPHYAINCP)sopnamsp.h \
73 pdlmgr.h
74 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pdlmgr.cc
75
76$(SOPHYAOBJP)periodic.o: periodic.cc \
77 $(SOPHYAINCP)sopnamsp.h \
78 $(SOPHYAINCP)machdefs.h \
79 periodic.h
80 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ periodic.cc
81
82$(SOPHYAOBJP)psighand.o: psighand.cc \
83 $(SOPHYAINCP)sopnamsp.h \
84 psighand.h \
85 $(SOPHYAINCP)machdefs.h \
86 $(SOPHYAINCP)pexceptions.h \
87 $(SOPHYAINCP)machdefs.h
88 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ psighand.cc
89
90$(SOPHYAOBJP)resusage.o: resusage.cc \
91 $(SOPHYAINCP)sopnamsp.h \
92 resusage.h \
93 $(SOPHYAINCP)machdefs.h
94 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ resusage.cc
95
96$(SOPHYAOBJP)rpneval.o: rpneval.cc \
97 $(SOPHYAINCP)sopnamsp.h \
98 rpneval.h \
99 $(SOPHYAINCP)machdefs.h \
100 $(SOPHYAINCP)pexceptions.h \
101 $(SOPHYAINCP)machdefs.h \
102 $(SOPHYAINCP)strutilxx.h \
103 $(SOPHYAINCP)srandgen.h \
104 $(SOPHYAINCP)randinterf.h \
105 $(SOPHYAINCP)anydataobj.h
106 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rpneval.cc
107
108$(SOPHYAOBJP)zthread.o: zthread.cc \
109 $(SOPHYAINCP)sopnamsp.h \
110 zthread.h \
111 $(SOPHYAINCP)machdefs.h \
112 $(SOPHYAINCP)pexceptions.h \
113 $(SOPHYAINCP)machdefs.h
114 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ zthread.cc
115
116$(SOPHYAOBJP)timing.o: timing.c timing.h
117 $(CCOMPILE) -o $@ timing.c
118
Note: See TracBrowser for help on using the repository browser.