source: Sophya/trunk/SophyaLib/SysTools/smakefile@ 3405

Last change on this file since 3405 was 3405, checked in by cmv, 18 years ago

makefile pour tag , cmv 23/11/2007

File size: 3.1 KB
Line 
1include $(SOPHYABASE)/include/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)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)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 $(SOPHYAINCP)sopnamsp.h \
14 cexpre.h $(SOPHYAINCP)machdefs.h \
15 $(SOPHYAINCP)pexceptions.h \
16 $(SOPHYAINCP)machdefs.h \
17 $(SOPHYAINCP)srandgen.h
18 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cexpre.cc
19
20$(SOPHYAOBJP)commander.o: commander.cc $(SOPHYAINCP)sopnamsp.h \
21 commander.h $(SOPHYAINCP)machdefs.h pdlmgr.h \
22 $(SOPHYAINCP)dvlist.h \
23 $(SOPHYAINCP)objfio.h \
24 $(SOPHYAINCP)machdefs.h \
25 $(SOPHYAINCP)anydataobj.h \
26 $(SOPHYAINCP)ppersist.h \
27 $(SOPHYAINCP)pexceptions.h \
28 $(SOPHYAINCP)gnumd5.h \
29 $(SOPHYAINCP)ppfbinstream.h \
30 $(SOPHYAINCP)rawstream.h \
31 $(SOPHYAINCP)ppfnametag.h \
32 $(SOPHYAINCP)mutyv.h \
33 $(SOPHYAINCP)timestamp.h ctimer.h \
34 $(SOPHYAINCP)strutil.h \
35 $(SOPHYAINCP)strutilxx.h cexpre.h \
36 $(SOPHYAINCP)pexceptions.h rpneval.h \
37 $(SOPHYAINCP)srandgen.h zthread.h
38 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ commander.cc
39
40$(SOPHYAOBJP)ctimer.o: ctimer.cc $(SOPHYAINCP)sopnamsp.h \
41 $(SOPHYAINCP)machdefs.h ctimer.h
42 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ctimer.cc
43
44$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc $(SOPHYAINCP)sopnamsp.h \
45 cxxcmplnk.h $(SOPHYAINCP)machdefs.h \
46 $(SOPHYAINCP)sspvflags.h
47 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cxxcmplnk.cc
48
49$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc $(SOPHYAINCP)machdefs.h \
50 $(SOPHYAINCP)sopnamsp.h pdlmgr.h
51 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pdlmgr.cc
52
53$(SOPHYAOBJP)periodic.o: periodic.cc $(SOPHYAINCP)sopnamsp.h \
54 $(SOPHYAINCP)machdefs.h periodic.h
55 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ periodic.cc
56
57$(SOPHYAOBJP)psighand.o: psighand.cc $(SOPHYAINCP)sopnamsp.h \
58 psighand.h $(SOPHYAINCP)machdefs.h \
59 $(SOPHYAINCP)pexceptions.h \
60 $(SOPHYAINCP)machdefs.h
61 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ psighand.cc
62
63$(SOPHYAOBJP)resusage.o: resusage.cc $(SOPHYAINCP)sopnamsp.h \
64 resusage.h $(SOPHYAINCP)machdefs.h
65 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ resusage.cc
66
67$(SOPHYAOBJP)rpneval.o: rpneval.cc $(SOPHYAINCP)sopnamsp.h \
68 rpneval.h $(SOPHYAINCP)machdefs.h \
69 $(SOPHYAINCP)pexceptions.h \
70 $(SOPHYAINCP)machdefs.h \
71 $(SOPHYAINCP)strutilxx.h \
72 $(SOPHYAINCP)srandgen.h
73 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rpneval.cc
74
75$(SOPHYAOBJP)zthread.o: zthread.cc $(SOPHYAINCP)sopnamsp.h \
76 zthread.h $(SOPHYAINCP)machdefs.h \
77 $(SOPHYAINCP)pexceptions.h \
78 $(SOPHYAINCP)machdefs.h
79 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ zthread.cc
80
81$(SOPHYAOBJP)timing.o: timing.c timing.h
82 $(CCOMPILE) -o $@ timing.c
83
Note: See TracBrowser for help on using the repository browser.