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
RevLine 
[2743]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) $@ $?
[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 \
[3007]16 $(SOPHYAINCP)machdefs.h \
[2743]17 $(SOPHYAINCP)srandgen.h
[2765]18 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cexpre.cc
[2743]19
[3405]20$(SOPHYAOBJP)commander.o: commander.cc $(SOPHYAINCP)sopnamsp.h \
21 commander.h $(SOPHYAINCP)machdefs.h pdlmgr.h \
[2743]22 $(SOPHYAINCP)dvlist.h \
23 $(SOPHYAINCP)objfio.h \
[3007]24 $(SOPHYAINCP)machdefs.h \
[2743]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 \
[3007]32 $(SOPHYAINCP)mutyv.h \
33 $(SOPHYAINCP)timestamp.h ctimer.h \
[2743]34 $(SOPHYAINCP)strutil.h \
[3007]35 $(SOPHYAINCP)strutilxx.h cexpre.h \
36 $(SOPHYAINCP)pexceptions.h rpneval.h \
[2765]37 $(SOPHYAINCP)srandgen.h zthread.h
38 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ commander.cc
[2743]39
[2765]40$(SOPHYAOBJP)ctimer.o: ctimer.cc $(SOPHYAINCP)sopnamsp.h \
[2743]41 $(SOPHYAINCP)machdefs.h ctimer.h
[2765]42 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ctimer.cc
[2743]43
[3405]44$(SOPHYAOBJP)cxxcmplnk.o: cxxcmplnk.cc $(SOPHYAINCP)sopnamsp.h \
45 cxxcmplnk.h $(SOPHYAINCP)machdefs.h \
[3066]46 $(SOPHYAINCP)sspvflags.h
[2765]47 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ cxxcmplnk.cc
[2743]48
[3007]49$(SOPHYAOBJP)pdlmgr.o: pdlmgr.cc $(SOPHYAINCP)machdefs.h \
50 $(SOPHYAINCP)sopnamsp.h pdlmgr.h
[2765]51 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pdlmgr.cc
[2743]52
[3405]53$(SOPHYAOBJP)periodic.o: periodic.cc $(SOPHYAINCP)sopnamsp.h \
[2765]54 $(SOPHYAINCP)machdefs.h periodic.h
55 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ periodic.cc
[2743]56
[3405]57$(SOPHYAOBJP)psighand.o: psighand.cc $(SOPHYAINCP)sopnamsp.h \
58 psighand.h $(SOPHYAINCP)machdefs.h \
[3007]59 $(SOPHYAINCP)pexceptions.h \
60 $(SOPHYAINCP)machdefs.h
[2765]61 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ psighand.cc
[2743]62
[3405]63$(SOPHYAOBJP)resusage.o: resusage.cc $(SOPHYAINCP)sopnamsp.h \
64 resusage.h $(SOPHYAINCP)machdefs.h
[2765]65 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ resusage.cc
[2743]66
[3405]67$(SOPHYAOBJP)rpneval.o: rpneval.cc $(SOPHYAINCP)sopnamsp.h \
68 rpneval.h $(SOPHYAINCP)machdefs.h \
[2743]69 $(SOPHYAINCP)pexceptions.h \
[3007]70 $(SOPHYAINCP)machdefs.h \
[2743]71 $(SOPHYAINCP)strutilxx.h \
72 $(SOPHYAINCP)srandgen.h
[2765]73 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rpneval.cc
[2743]74
[3405]75$(SOPHYAOBJP)zthread.o: zthread.cc $(SOPHYAINCP)sopnamsp.h \
76 zthread.h $(SOPHYAINCP)machdefs.h \
[3007]77 $(SOPHYAINCP)pexceptions.h \
78 $(SOPHYAINCP)machdefs.h
[2765]79 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ zthread.cc
[2743]80
81$(SOPHYAOBJP)timing.o: timing.c timing.h
[2765]82 $(CCOMPILE) -o $@ timing.c
[2743]83
Note: See TracBrowser for help on using the repository browser.