1 | include $(SOPHYABASE)/include/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)rawstream.o $(SOPHYAOBJP)sophyainit.o $(SOPHYAOBJP)timestamp.o $(SOPHYAOBJP)gnumd5.o $(SOPHYAOBJP)srandgen.o
|
---|
7 | rm -f $(SOPHYALIBP)libBaseTools.a
|
---|
8 |
|
---|
9 | $(SOPHYALIBP)libBaseTools.a : $(SOPHYAOBJP)datatype.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)rawstream.o $(SOPHYAOBJP)sophyainit.o $(SOPHYAOBJP)srandgen.o $(SOPHYAOBJP)timestamp.o
|
---|
10 | $(AR) $(ARFLAGS) $@ $?
|
---|
11 | touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
|
---|
12 |
|
---|
13 | $(SOPHYAOBJP)datatype.o: datatype.cc sopnamsp.h datatype.h \
|
---|
14 | $(SOPHYAINCP)machdefs.h
|
---|
15 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ datatype.cc
|
---|
16 |
|
---|
17 | $(SOPHYAOBJP)dvlist.o: dvlist.cc sopnamsp.h \
|
---|
18 | $(SOPHYAINCP)machdefs.h dvlist.h objfio.h \
|
---|
19 | anydataobj.h ppersist.h pexceptions.h gnumd5.h ppfbinstream.h \
|
---|
20 | rawstream.h ppfnametag.h mutyv.h \
|
---|
21 | $(SOPHYAINCP)strutil.h
|
---|
22 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ dvlist.cc
|
---|
23 |
|
---|
24 | $(SOPHYAOBJP)fiondblock.o: fiondblock.cc sopnamsp.h \
|
---|
25 | $(SOPHYAINCP)machdefs.h pexceptions.h \
|
---|
26 | datatype.h fiondblock.h ppersist.h gnumd5.h ppfbinstream.h rawstream.h \
|
---|
27 | ppfnametag.h ndatablock.h anydataobj.h
|
---|
28 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ fiondblock.cc
|
---|
29 |
|
---|
30 | $(SOPHYAOBJP)mutyv.o: mutyv.cc sopnamsp.h mutyv.h \
|
---|
31 | $(SOPHYAINCP)machdefs.h
|
---|
32 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ mutyv.cc
|
---|
33 |
|
---|
34 | $(SOPHYAOBJP)ndatablock.o: ndatablock.cc sopnamsp.h \
|
---|
35 | $(SOPHYAINCP)machdefs.h pexceptions.h \
|
---|
36 | ndatablock.h anydataobj.h
|
---|
37 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ndatablock.cc
|
---|
38 |
|
---|
39 | $(SOPHYAOBJP)pexceptions.o: pexceptions.cc sopnamsp.h pexceptions.h \
|
---|
40 | $(SOPHYAINCP)machdefs.h
|
---|
41 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ pexceptions.cc
|
---|
42 |
|
---|
43 | $(SOPHYAOBJP)ppersist.o: ppersist.cc sopnamsp.h \
|
---|
44 | $(SOPHYAINCP)machdefs.h pexceptions.h \
|
---|
45 | ppersist.h gnumd5.h ppfbinstream.h rawstream.h ppfnametag.h \
|
---|
46 | anydataobj.h
|
---|
47 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ppersist.cc
|
---|
48 |
|
---|
49 | $(SOPHYAOBJP)ppfbinstream.o: ppfbinstream.cc sopnamsp.h \
|
---|
50 | $(SOPHYAINCP)machdefs.h ppfbinstream.h \
|
---|
51 | rawstream.h pexceptions.h
|
---|
52 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ppfbinstream.cc
|
---|
53 |
|
---|
54 | $(SOPHYAOBJP)ppftpointerio.o: ppftpointerio.cc \
|
---|
55 | $(SOPHYAINCP)machdefs.h sopnamsp.h \
|
---|
56 | ppftpointerio.h ppersist.h pexceptions.h gnumd5.h ppfbinstream.h \
|
---|
57 | rawstream.h ppfnametag.h
|
---|
58 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ ppftpointerio.cc
|
---|
59 |
|
---|
60 | $(SOPHYAOBJP)rawstream.o: rawstream.cc sopnamsp.h rawstream.h \
|
---|
61 | $(SOPHYAINCP)machdefs.h pexceptions.h
|
---|
62 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rawstream.cc
|
---|
63 |
|
---|
64 | $(SOPHYAOBJP)sophyainit.o: sophyainit.cc sopnamsp.h \
|
---|
65 | $(SOPHYAINCP)machdefs.h sophyainit.h \
|
---|
66 | pexceptions.h ppersist.h gnumd5.h ppfbinstream.h rawstream.h \
|
---|
67 | ppfnametag.h fiondblock.h ndatablock.h anydataobj.h dvlist.h objfio.h \
|
---|
68 | mutyv.h fiosegdb.h segdatablock.h ppftpointerio.h ppfwrapstlv.h \
|
---|
69 | sversion.h
|
---|
70 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ sophyainit.cc
|
---|
71 |
|
---|
72 | $(SOPHYAOBJP)timestamp.o: timestamp.cc sopnamsp.h \
|
---|
73 | $(SOPHYAINCP)machdefs.h timestamp.h \
|
---|
74 | pexceptions.h
|
---|
75 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ timestamp.cc
|
---|
76 |
|
---|
77 | $(SOPHYAOBJP)gnumd5.o: gnumd5.c $(SOPHYAINCP)machdefs.h \
|
---|
78 | bithelp.h gnumd5.h
|
---|
79 | $(CCOMPILE) -o $@ gnumd5.c
|
---|
80 |
|
---|
81 | $(SOPHYAOBJP)srandgen.o: srandgen.c \
|
---|
82 | $(SOPHYAINCP)machdefs.h srandgen.h \
|
---|
83 | smathconst.h
|
---|
84 | $(CCOMPILE) -o $@ srandgen.c
|
---|
85 |
|
---|