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

Last change on this file since 2753 was 2751, checked in by cmv, 20 years ago

gestion CXXCOMPILE-LIB-PROG cmv 20/05/05

File size: 2.7 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
12$(SOPHYAOBJP)cexpre.o: cexpre.cc \
13 $(SOPHYAINCP)sopnamsp.h cexpre.h \
14 $(SOPHYAINCP)machdefs.h \
15 $(SOPHYAINCP)pexceptions.h \
16 $(SOPHYAINCP)srandgen.h
17 $(CXXCOMPILELIB) -o $@ $<
18
19$(SOPHYAOBJP)commander.o: commander.cc \
20 $(SOPHYAINCP)sopnamsp.h \
21 commander.h \
22 $(SOPHYAINCP)machdefs.h pdlmgr.h \
23 $(SOPHYAINCP)dvlist.h \
24 $(SOPHYAINCP)objfio.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 ctimer.h \
33 $(SOPHYAINCP)strutil.h \
34 $(SOPHYAINCP)strutilxx.h \
35 cexpre.h rpneval.h \
36 $(SOPHYAINCP)srandgen.h \
37 zthread.h
38 $(CXXCOMPILELIB) -o $@ $<
39
40$(SOPHYAOBJP)ctimer.o: ctimer.cc \
41 $(SOPHYAINCP)sopnamsp.h \
42 $(SOPHYAINCP)machdefs.h ctimer.h
43 $(CXXCOMPILELIB) -o $@ $<
44
45$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc \
46 $(SOPHYAINCP)sopnamsp.h \
47 cxxcmplnk.h \
48 $(SOPHYAINCP)machdefs.h
49 $(CXXCOMPILELIB) -o $@ $<
50
51$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc \
52 $(SOPHYAINCP)machdefs.h \
53 $(SOPHYAINCP)sopnamsp.h pdlmgr.h
54 $(CXXCOMPILELIB) -o $@ $<
55
56$(SOPHYAOBJP)periodic.o: periodic.cc \
57 $(SOPHYAINCP)sopnamsp.h \
58 $(SOPHYAINCP)machdefs.h \
59 periodic.h
60 $(CXXCOMPILELIB) -o $@ $<
61
62$(SOPHYAOBJP)psighand.o: psighand.cc \
63 $(SOPHYAINCP)sopnamsp.h \
64 psighand.h \
65 $(SOPHYAINCP)machdefs.h \
66 $(SOPHYAINCP)pexceptions.h
67 $(CXXCOMPILELIB) -o $@ $<
68
69$(SOPHYAOBJP)resusage.o: resusage.cc \
70 $(SOPHYAINCP)sopnamsp.h \
71 resusage.h \
72 $(SOPHYAINCP)machdefs.h
73 $(CXXCOMPILELIB) -o $@ $<
74
75$(SOPHYAOBJP)rpneval.o: rpneval.cc \
76 $(SOPHYAINCP)sopnamsp.h \
77 rpneval.h \
78 $(SOPHYAINCP)machdefs.h \
79 $(SOPHYAINCP)pexceptions.h \
80 $(SOPHYAINCP)strutilxx.h \
81 $(SOPHYAINCP)srandgen.h
82 $(CXXCOMPILELIB) -o $@ $<
83
84$(SOPHYAOBJP)zthread.o: zthread.cc \
85 $(SOPHYAINCP)sopnamsp.h \
86 zthread.h \
87 $(SOPHYAINCP)machdefs.h \
88 $(SOPHYAINCP)pexceptions.h
89 $(CXXCOMPILELIB) -o $@ $<
90
91$(SOPHYAOBJP)timing.o: timing.c timing.h
92 $(CCOMPILE) -o $@ $<
93
Note: See TracBrowser for help on using the repository browser.