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

Last change on this file since 2912 was 2834, checked in by ansari, 20 years ago

MAJ Makefile - Reza 8/11/2005

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