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
RevLine 
[2743]1include ../BuildMgr/sophyamake.inc
[1601]2
[2743]3all: $(SOPHYALIBP)libSysTools.a
4
[1601]5clean:
[2743]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
[1601]8
[2743]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) $@ $?
[2763]11 touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
[2743]12
[2765]13$(SOPHYAOBJP)cexpre.o: cexpre.cc $(SOPHYAINCP)sopnamsp.h \
14 cexpre.h $(SOPHYAINCP)machdefs.h \
[2743]15 $(SOPHYAINCP)pexceptions.h \
16 $(SOPHYAINCP)srandgen.h
[2765]17 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cexpre.cc
[2743]18
19$(SOPHYAOBJP)commander.o: commander.cc \
[2765]20 $(SOPHYAINCP)sopnamsp.h commander.h \
[2743]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 \
[2834]31 $(SOPHYAINCP)mutyv.h \
32 $(SOPHYAINCP)timestamp.h ctimer.h \
[2743]33 $(SOPHYAINCP)strutil.h \
[2765]34 $(SOPHYAINCP)strutilxx.h cexpre.h rpneval.h \
35 $(SOPHYAINCP)srandgen.h zthread.h
36 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ commander.cc
[2743]37
[2765]38$(SOPHYAOBJP)ctimer.o: ctimer.cc $(SOPHYAINCP)sopnamsp.h \
[2743]39 $(SOPHYAINCP)machdefs.h ctimer.h
[2765]40 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ctimer.cc
[2743]41
42$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc \
[2765]43 $(SOPHYAINCP)sopnamsp.h cxxcmplnk.h \
[2743]44 $(SOPHYAINCP)machdefs.h
[2765]45 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cxxcmplnk.cc
[2743]46
[2765]47$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc $(SOPHYAINCP)sopnamsp.h \
48 pdlmgr.h
49 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pdlmgr.cc
[2743]50
51$(SOPHYAOBJP)periodic.o: periodic.cc \
52 $(SOPHYAINCP)sopnamsp.h \
[2765]53 $(SOPHYAINCP)machdefs.h periodic.h
54 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ periodic.cc
[2743]55
56$(SOPHYAOBJP)psighand.o: psighand.cc \
[2765]57 $(SOPHYAINCP)sopnamsp.h psighand.h \
[2743]58 $(SOPHYAINCP)machdefs.h \
59 $(SOPHYAINCP)pexceptions.h
[2765]60 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ psighand.cc
[2743]61
62$(SOPHYAOBJP)resusage.o: resusage.cc \
[2765]63 $(SOPHYAINCP)sopnamsp.h resusage.h \
[2743]64 $(SOPHYAINCP)machdefs.h
[2765]65 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ resusage.cc
[2743]66
[2765]67$(SOPHYAOBJP)rpneval.o: rpneval.cc $(SOPHYAINCP)sopnamsp.h \
68 rpneval.h $(SOPHYAINCP)machdefs.h \
[2743]69 $(SOPHYAINCP)pexceptions.h \
70 $(SOPHYAINCP)strutilxx.h \
71 $(SOPHYAINCP)srandgen.h
[2765]72 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rpneval.cc
[2743]73
[2765]74$(SOPHYAOBJP)zthread.o: zthread.cc $(SOPHYAINCP)sopnamsp.h \
75 zthread.h $(SOPHYAINCP)machdefs.h \
[2743]76 $(SOPHYAINCP)pexceptions.h
[2765]77 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ zthread.cc
[2743]78
79$(SOPHYAOBJP)timing.o: timing.c timing.h
[2765]80 $(CCOMPILE) -o $@ timing.c
[2743]81
Note: See TracBrowser for help on using the repository browser.