1 | include ../BuildMgr/sophyamake.inc
|
---|
2 |
|
---|
3 | all: $(SOPHYALIBP)libBaseTools.a
|
---|
4 |
|
---|
5 | clean:
|
---|
6 | rm -f $(SOPHYAOBJP)datatype.o $(SOPHYAOBJP)dvlist.o $(SOPHYAOBJP)fiondblock.o $(SOPHYAOBJP)mutyv.o $(SOPHYAOBJP)ndatablock.o $(SOPHYAOBJP)pexceptions.o $(SOPHYAOBJP)ppersist.o $(SOPHYAOBJP)ppfbinstream.o $(SOPHYAOBJP)ppftpointerio.o $(SOPHYAOBJP)randfmt.o $(SOPHYAOBJP)randinterf.o $(SOPHYAOBJP)randr48.o $(SOPHYAOBJP)rawstream.o $(SOPHYAOBJP)sophyainit.o $(SOPHYAOBJP)stsrand.o $(SOPHYAOBJP)timestamp.o $(SOPHYAOBJP)dSFMT.o $(SOPHYAOBJP)gnumd5.o
|
---|
7 | rm -f $(SOPHYALIBP)libBaseTools.a
|
---|
8 |
|
---|
9 | $(SOPHYALIBP)libBaseTools.a : $(SOPHYAOBJP)datatype.o $(SOPHYAOBJP)dSFMT.o $(SOPHYAOBJP)dvlist.o $(SOPHYAOBJP)fiondblock.o $(SOPHYAOBJP)gnumd5.o $(SOPHYAOBJP)mutyv.o $(SOPHYAOBJP)ndatablock.o $(SOPHYAOBJP)pexceptions.o $(SOPHYAOBJP)ppersist.o $(SOPHYAOBJP)ppfbinstream.o $(SOPHYAOBJP)ppftpointerio.o $(SOPHYAOBJP)randfmt.o $(SOPHYAOBJP)randinterf.o $(SOPHYAOBJP)randr48.o $(SOPHYAOBJP)rawstream.o $(SOPHYAOBJP)sophyainit.o $(SOPHYAOBJP)stsrand.o $(SOPHYAOBJP)timestamp.o
|
---|
10 | $(AR) $(ARFLAGS) $@ $?
|
---|
11 | touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
|
---|
12 |
|
---|
13 | $(SOPHYAOBJP)datatype.o: datatype.cc datatype.h \
|
---|
14 | $(SOPHYAINCP)machdefs.h
|
---|
15 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datatype.cc
|
---|
16 |
|
---|
17 | $(SOPHYAOBJP)dvlist.o: dvlist.cc $(SOPHYAINCP)machdefs.h \
|
---|
18 | dvlist.h objfio.h anydataobj.h ppersist.h pexceptions.h gnumd5.h \
|
---|
19 | ppfbinstream.h rawstream.h ppfnametag.h mutyv.h timestamp.h \
|
---|
20 | $(SOPHYAINCP)strutil.h
|
---|
21 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ dvlist.cc
|
---|
22 |
|
---|
23 | $(SOPHYAOBJP)fiondblock.o: fiondblock.cc sopnamsp.h \
|
---|
24 | $(SOPHYAINCP)machdefs.h pexceptions.h \
|
---|
25 | datatype.h fiondblock.h ppersist.h gnumd5.h ppfbinstream.h rawstream.h \
|
---|
26 | ppfnametag.h ndatablock.h anydataobj.h
|
---|
27 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ fiondblock.cc
|
---|
28 |
|
---|
29 | $(SOPHYAOBJP)mutyv.o: mutyv.cc sopnamsp.h mutyv.h \
|
---|
30 | $(SOPHYAINCP)machdefs.h timestamp.h objfio.h \
|
---|
31 | anydataobj.h ppersist.h pexceptions.h gnumd5.h ppfbinstream.h \
|
---|
32 | rawstream.h ppfnametag.h
|
---|
33 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ mutyv.cc
|
---|
34 |
|
---|
35 | $(SOPHYAOBJP)ndatablock.o: ndatablock.cc sopnamsp.h \
|
---|
36 | $(SOPHYAINCP)machdefs.h pexceptions.h \
|
---|
37 | ndatablock.h anydataobj.h thsafeop.h
|
---|
38 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ndatablock.cc
|
---|
39 |
|
---|
40 | $(SOPHYAOBJP)pexceptions.o: pexceptions.cc sopnamsp.h pexceptions.h \
|
---|
41 | $(SOPHYAINCP)machdefs.h
|
---|
42 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pexceptions.cc
|
---|
43 |
|
---|
44 | $(SOPHYAOBJP)ppersist.o: ppersist.cc sopnamsp.h \
|
---|
45 | $(SOPHYAINCP)machdefs.h pexceptions.h \
|
---|
46 | ppersist.h gnumd5.h ppfbinstream.h rawstream.h ppfnametag.h \
|
---|
47 | anydataobj.h
|
---|
48 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ppersist.cc
|
---|
49 |
|
---|
50 | $(SOPHYAOBJP)ppfbinstream.o: ppfbinstream.cc sopnamsp.h \
|
---|
51 | $(SOPHYAINCP)machdefs.h ppfbinstream.h \
|
---|
52 | rawstream.h pexceptions.h
|
---|
53 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ppfbinstream.cc
|
---|
54 |
|
---|
55 | $(SOPHYAOBJP)ppftpointerio.o: ppftpointerio.cc \
|
---|
56 | $(SOPHYAINCP)machdefs.h ppftpointerio.h \
|
---|
57 | ppersist.h pexceptions.h gnumd5.h ppfbinstream.h rawstream.h \
|
---|
58 | ppfnametag.h
|
---|
59 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ppftpointerio.cc
|
---|
60 |
|
---|
61 | $(SOPHYAOBJP)randfmt.o: randfmt.cc randfmt.h \
|
---|
62 | $(SOPHYAINCP)machdefs.h objfio.h anydataobj.h \
|
---|
63 | ppersist.h pexceptions.h gnumd5.h ppfbinstream.h rawstream.h \
|
---|
64 | ppfnametag.h dsfmtflags.h dSFMT.h randinterf.h
|
---|
65 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ randfmt.cc
|
---|
66 |
|
---|
67 | $(SOPHYAOBJP)randinterf.o: randinterf.cc sopnamsp.h \
|
---|
68 | $(SOPHYAINCP)machdefs.h pexceptions.h \
|
---|
69 | randinterf.h anydataobj.h
|
---|
70 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ randinterf.cc
|
---|
71 |
|
---|
72 | $(SOPHYAOBJP)randr48.o: randr48.cc $(SOPHYAINCP)machdefs.h \
|
---|
73 | thsafeop.h pexceptions.h fiondblock.h ppersist.h gnumd5.h \
|
---|
74 | ppfbinstream.h rawstream.h ppfnametag.h ndatablock.h anydataobj.h \
|
---|
75 | randr48.h objfio.h randinterf.h
|
---|
76 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ randr48.cc
|
---|
77 |
|
---|
78 | $(SOPHYAOBJP)rawstream.o: rawstream.cc sopnamsp.h rawstream.h \
|
---|
79 | $(SOPHYAINCP)machdefs.h pexceptions.h
|
---|
80 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rawstream.cc
|
---|
81 |
|
---|
82 | $(SOPHYAOBJP)sophyainit.o: sophyainit.cc sopnamsp.h \
|
---|
83 | $(SOPHYAINCP)machdefs.h sophyainit.h \
|
---|
84 | pexceptions.h ppersist.h gnumd5.h ppfbinstream.h rawstream.h \
|
---|
85 | ppfnametag.h fiondblock.h ndatablock.h anydataobj.h dvlist.h objfio.h \
|
---|
86 | mutyv.h timestamp.h randr48.h randinterf.h randfmt.h dsfmtflags.h \
|
---|
87 | dSFMT.h fiosegdb.h segdatablock.h thsafeop.h ppftpointerio.h \
|
---|
88 | ppfwrapstlv.h sversion.h
|
---|
89 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ sophyainit.cc
|
---|
90 |
|
---|
91 | $(SOPHYAOBJP)stsrand.o: stsrand.cc stsrand.h \
|
---|
92 | $(SOPHYAINCP)machdefs.h objfio.h anydataobj.h \
|
---|
93 | ppersist.h pexceptions.h gnumd5.h ppfbinstream.h rawstream.h \
|
---|
94 | ppfnametag.h ndatablock.h thsafeop.h fiondblock.h
|
---|
95 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ stsrand.cc
|
---|
96 |
|
---|
97 | $(SOPHYAOBJP)timestamp.o: timestamp.cc $(SOPHYAINCP)machdefs.h \
|
---|
98 | timestamp.h objfio.h anydataobj.h ppersist.h pexceptions.h gnumd5.h \
|
---|
99 | ppfbinstream.h rawstream.h ppfnametag.h
|
---|
100 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ timestamp.cc
|
---|
101 |
|
---|
102 | $(SOPHYAOBJP)dSFMT.o: dSFMT.c dsfmtflags.h dSFMT-params.h dSFMT.h dSFMT-params19937.h
|
---|
103 | $(CCOMPILE) -o $@ dSFMT.c
|
---|
104 |
|
---|
105 | $(SOPHYAOBJP)gnumd5.o: gnumd5.c $(SOPHYAINCP)machdefs.h \
|
---|
106 | bithelp.h gnumd5.h
|
---|
107 | $(CCOMPILE) -o $@ gnumd5.c
|
---|
108 |
|
---|