source: cpp/gdk/Makefile @ 104

Last change on this file since 104 was 104, checked in by sz, 11 years ago

introducing object de/serialization - see serialtest.cpp
the core GDK classes can be now used in multiple threads (ifdef MULTITHREADED)

  • Property svn:eol-style set to native
File size: 11.5 KB
RevLine 
[5]1#
2# Framsticks GDK makefile
3#
[69]4#
5#  frams->GDK differences:
6# -------------------------
7#  #define GDK_WITHOUT_FRAMS
8#  f0.def (removed some neurons)
9#  gen-config.h (only f1->f0 is supported)
10#  neuroimpl-body-gdk.h (dummy implementations)
11#
12#  autogenerated files can differ:
13#   defassign-f0_joint.h defassign-f0_part.h defassign-f0_neuro.h f0classes.h
14#   defassign-f0_neuroconn.h f0def.xml neurocls-library.h neurocls-factory.h model.def
[5]15
[104]16TARGETS=convtest gdktest genotest neurotest loadertest serialtest f0def.xml model.def
[5]17
18all: $(TARGETS)
19
[89]20CXXOPTS= -DGDK_WITHOUT_FRAMS -DNEURO_IMPL_FILES=\"neuroimplfiles.h\" -DNEURO_CLS_FACTORY=\"neurocls-factory.h\" -DNEURO_CLS_LIBRARY=\"neurocls-library.h\" -DGEN_CONFIG_FILE=\"gen-config.h\" -DEASYMAPDEBUG -g -Wno-parentheses -Wno-overloaded-virtual -Wno-format
[5]21# -DEASYMAPDEBUG is required for convtest
22
23AUTOGENERATED=defassign-f0_joint.h defassign-f0_part.h defassign-f0_neuro.h f0classes.h \
24        defassign-f0_neuroconn.h f0def.xml neurocls-library.h neurocls-factory.h model.def
25
26CONVMODULES=conv_f1.o
27
28GDKOBJS=list.o advlist.o param.o sstring.o 3d.o model.o modelparts.o errmanager.o \
29        neurolibrary.o geno.o genoconv.o extvalue.o framsg.o callbacks.o syntparam.o \
[104]30        multirange.o multimap.o paramtabobj.o defgenoconv.o sstringutils.o paramobj.o \
31        rndutil.o collectionobj.o hashtable.o stderrors.o 3dobject.o \
[5]32        $(CONVMODULES)
33
34libgdk.a: $(GDKOBJS)
35
36CONVTESTOBJS= convtest.o printconvmap.o stdouterr.o virtfile.o
37
38convtest: libgdk.a $(CONVTESTOBJS)
39        g++ $(CONVTESTOBJS) -L. -lgdk -o $@
40
41GDKTESTOBJS= gdktest.o stdouterr.o virtfile.o
42
43gdktest: libgdk.a $(GDKTESTOBJS)
44        g++ $(GDKTESTOBJS) -L. -lgdk -o $@
45
46GENOTESTOBJS= genotest.o virtfile.o
47
48genotest: libgdk.a $(GENOTESTOBJS)
49        g++ $(GENOTESTOBJS) -L. -lgdk -o $@
50
51NEUROTESTOBJS= neurotest.o stdouterr.o virtfile.o neuroimpl.o neurofactory.o \
52        neuroimpl-simple.o neuroimpl-channels.o neuroimpl-fuzzy.o neuroimpl-fuzzy-f0.o
53
54neurotest: libgdk.a $(NEUROTESTOBJS)
55        g++ $(NEUROTESTOBJS) -L. -lgdk -o $@
56
[89]57LOADERTESTOBJS=genotypeloader.o loadertest.o virtfile.o multiparamload.o stdiofile-autoinit.o stdiofile.o nonstd_stdio.cpp
[5]58
59loadertest: libgdk.a $(LOADERTESTOBJS)
60        g++ $(LOADERTESTOBJS) -L. -lgdk -o $@
61
[104]62SERIALTESTOBJS=serialtest.o virtfile.o stdiofile-autoinit.o stdiofile.o nonstd_stdio.o
63
64serialtest: libgdk.a $(SERIALTESTOBJS)
65        g++ $(SERIALTESTOBJS) -L. -lgdk -o $@
66
[5]67neurocls-library.h: f0.def neurocls-library.m4
68        m4 neurocls-library.m4 f0.def >neurocls-library.h
69
70neurocls-factory.h: f0.def neurocls-factory.m4
71        m4 neurocls-factory.m4 f0.def >neurocls-factory.h
72
73f0classes.h: f0.def f0classes.m4
74        m4 f0classes.m4 f0.def >f0classes.h
75
76f0def.xml: f0.def f0defxml.m4
77        m4 f0defxml.m4 f0.def >f0def.xml
78
79model.def: f0-modeldef.m4 f0.def
80        m4 f0-modeldef.m4 f0.def >model.def
81
82defassign-%.h: defassign.m4 f0.def
83        m4 -DUSECLASS=$* defassign.m4 f0.def >$@
84
85neurolibrary.cpp: neurocls-library.h
86neurofactory.cpp: neurocls-factory.h
87modelparts.cpp: f0classes.h defassign-f0_part.h defassign-f0_joint.h \
88                defassign-f0_neuro.h defassign-f0_neuroconn.h
89
90#############
91
92%.o : %.cpp
93        g++ -c $(CXXOPTS) $<
94
95%.a:
96        rm -f $@
97        ar r $@ $^
98        ranlib $@
99
100clean:
101        rm -f *.o *~ *.bak *.a
102
103fullclean:      clean
104        rm -f $(TARGETS) $(AUTOGENERATED)
105
106depend:
107        makedepend -Y *.cpp
108
109# DO NOT DELETE
110
[104]1113d.o: nonstd_math.h framsg.h 3d.h
1123dobject.o: 3d.h 3dobject.h extvalue.h sstring.h param.h list.h nonstd.h
1133dobject.o: statrick.h virtfile.h framsg.h nonstd_stl.h threads.h
1143dobject.o: collectionobj.h hashtable.h
[5]115advlist.o: advlist.h list.h nonstd.h callbacks.h statrick.h
116callbacks.o: callbacks.h list.h nonstd.h statrick.h
[104]117collectionobj.o: collectionobj.h param.h sstring.h list.h nonstd.h statrick.h
118collectionobj.o: virtfile.h framsg.h extvalue.h nonstd_stl.h threads.h
119collectionobj.o: hashtable.h 3d.h nonstd_math.h stderrors.h sstringutils.h
[5]120conv_f1.o: conv_f1.h genoconv.h geno.h sstring.h extvalue.h param.h list.h
[104]121conv_f1.o: nonstd.h statrick.h virtfile.h framsg.h nonstd_stl.h threads.h
122conv_f1.o: model.h nonstd_math.h modelparts.h 3d.h sstringutils.h syntparam.h
123conv_f1.o: usertags.h paramtabobj.h advlist.h callbacks.h multirange.h
124conv_f1.o: multimap.h
[5]125convtest.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h nonstd.h
[104]126convtest.o: statrick.h virtfile.h framsg.h nonstd_stl.h threads.h model.h
127convtest.o: nonstd_math.h modelparts.h 3d.h sstringutils.h syntparam.h
128convtest.o: usertags.h paramtabobj.h advlist.h callbacks.h multimap.h
129convtest.o: multirange.h conv_f1.h printconvmap.h stdouterr.h errmanager.h
[5]130defgenoconv.o: defgenoconv.h genoconv.h geno.h sstring.h extvalue.h param.h
[104]131defgenoconv.o: list.h nonstd.h statrick.h virtfile.h framsg.h nonstd_stl.h
132defgenoconv.o: threads.h
133errmanager.o: errmanager.h list.h nonstd.h sstring.h framsg.h threads.h
[5]134extvalue.o: extvalue.h sstring.h param.h list.h nonstd.h statrick.h
[104]135extvalue.o: virtfile.h framsg.h nonstd_stl.h threads.h sstringutils.h
136extvalue.o: collectionobj.h hashtable.h 3d.h 3dobject.h
137framsg.o: framsg.h nonstd_stdio.h
138fullprops.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h model.h
139fullprops.o: nonstd_math.h modelparts.h 3d.h genoconv.h geno.h extvalue.h
140fullprops.o: param.h list.h nonstd.h statrick.h framsg.h nonstd_stl.h
141fullprops.o: threads.h sstringutils.h syntparam.h usertags.h paramtabobj.h
142fullprops.o: advlist.h callbacks.h defgenoconv.h stdouterr.h errmanager.h
143gdktest.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h model.h
144gdktest.o: nonstd_math.h modelparts.h 3d.h genoconv.h geno.h extvalue.h
145gdktest.o: param.h list.h nonstd.h statrick.h framsg.h nonstd_stl.h threads.h
146gdktest.o: sstringutils.h syntparam.h usertags.h paramtabobj.h advlist.h
147gdktest.o: callbacks.h defgenoconv.h stdouterr.h errmanager.h
[5]148genoconv.o: nonstd.h genoconv.h geno.h sstring.h extvalue.h param.h list.h
[104]149genoconv.o: statrick.h virtfile.h framsg.h nonstd_stl.h threads.h multimap.h
150genoconv.o: multirange.h
[5]151geno.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
[104]152geno.o: virtfile.h framsg.h nonstd_stl.h threads.h genoconv.h model.h
153geno.o: nonstd_math.h modelparts.h 3d.h sstringutils.h syntparam.h usertags.h
154geno.o: paramtabobj.h advlist.h callbacks.h
[5]155genotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
[104]156genotest.o: virtfile.h framsg.h nonstd_stl.h threads.h genoconv.h stdiofile.h
157genotest.o: nonstd_dir.h sstringutils.h defgenoconv.h
[5]158genotypeloader.o: genotypeloader.h sstring.h multiparamload.h param.h list.h
[104]159genotypeloader.o: nonstd.h statrick.h virtfile.h framsg.h extvalue.h
160genotypeloader.o: nonstd_stl.h threads.h
161hashtable.o: hashtable.h sstring.h
[5]162list.o: list.h nonstd.h
163loadertest.o: genotypeloader.h sstring.h multiparamload.h param.h list.h
[104]164loadertest.o: nonstd.h statrick.h virtfile.h framsg.h extvalue.h nonstd_stl.h
165loadertest.o: threads.h
166model.o: nonstd_math.h model.h modelparts.h 3d.h genoconv.h geno.h sstring.h
167model.o: extvalue.h param.h list.h nonstd.h statrick.h virtfile.h framsg.h
168model.o: nonstd_stl.h threads.h sstringutils.h syntparam.h usertags.h
169model.o: paramtabobj.h advlist.h callbacks.h multimap.h multirange.h
170model.o: errmanager.h
[5]171modelparts.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h
[104]172modelparts.o: param.h list.h nonstd.h statrick.h virtfile.h framsg.h
173modelparts.o: nonstd_stl.h threads.h sstringutils.h syntparam.h usertags.h
174modelparts.o: paramtabobj.h model.h nonstd_math.h advlist.h callbacks.h
175modelparts.o: neurolibrary.h multirange.h defassign-f0_neuro.h
[5]176modelparts.o: defassign-f0_part.h defassign-f0_joint.h f0classes.h
177modelparts.o: defassign-f0_neuroconn.h
178multimap.o: multimap.h multirange.h list.h nonstd.h
179multiparamload.o: multiparamload.h param.h sstring.h list.h nonstd.h
[104]180multiparamload.o: statrick.h virtfile.h framsg.h extvalue.h nonstd_stl.h
181multiparamload.o: threads.h
182multirange.o: multirange.h list.h nonstd.h nonstd_stl.h
[5]183neurofactory.o: neurofactory.h modelparts.h 3d.h genoconv.h geno.h sstring.h
184neurofactory.o: extvalue.h param.h list.h nonstd.h statrick.h virtfile.h
[104]185neurofactory.o: framsg.h nonstd_stl.h threads.h sstringutils.h syntparam.h
186neurofactory.o: usertags.h paramtabobj.h neuroimpl.h model.h nonstd_math.h
187neurofactory.o: advlist.h callbacks.h neurolibrary.h
188neuroimpl-channels.o: neuroimpl-channels.h neuroimpl.h model.h nonstd_math.h
189neuroimpl-channels.o: modelparts.h 3d.h genoconv.h geno.h sstring.h
190neuroimpl-channels.o: extvalue.h param.h list.h nonstd.h statrick.h
191neuroimpl-channels.o: virtfile.h framsg.h nonstd_stl.h threads.h
192neuroimpl-channels.o: sstringutils.h syntparam.h usertags.h paramtabobj.h
193neuroimpl-channels.o: advlist.h callbacks.h
194neuroimpl.o: neuroimpl.h model.h nonstd_math.h modelparts.h 3d.h genoconv.h
195neuroimpl.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
196neuroimpl.o: virtfile.h framsg.h nonstd_stl.h threads.h sstringutils.h
197neuroimpl.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
198neuroimpl.o: neurofactory.h rndutil.h
199neuroimpl-fuzzy.o: neuroimpl-fuzzy.h neuroimpl.h model.h nonstd_math.h
200neuroimpl-fuzzy.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h
201neuroimpl-fuzzy.o: param.h list.h nonstd.h statrick.h virtfile.h framsg.h
202neuroimpl-fuzzy.o: nonstd_stl.h threads.h sstringutils.h syntparam.h
203neuroimpl-fuzzy.o: usertags.h paramtabobj.h advlist.h callbacks.h
[5]204neuroimpl-fuzzy.o: neuroimpl-fuzzy-f0.h
[104]205neuroimpl-fuzzy-f0.o: neuroimpl-fuzzy-f0.h sstring.h nonstd_stl.h
206neuroimpl-simple.o: neuroimpl-simple.h neuroimpl.h model.h nonstd_math.h
207neuroimpl-simple.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h
208neuroimpl-simple.o: param.h list.h nonstd.h statrick.h virtfile.h framsg.h
209neuroimpl-simple.o: nonstd_stl.h threads.h sstringutils.h syntparam.h
210neuroimpl-simple.o: usertags.h paramtabobj.h advlist.h callbacks.h
[5]211neurolibrary.o: neurolibrary.h advlist.h list.h nonstd.h callbacks.h
[104]212neurolibrary.o: statrick.h param.h sstring.h virtfile.h framsg.h modelparts.h
213neurolibrary.o: 3d.h genoconv.h geno.h extvalue.h nonstd_stl.h threads.h
214neurolibrary.o: sstringutils.h syntparam.h usertags.h paramtabobj.h
[5]215neurotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
[104]216neurotest.o: virtfile.h framsg.h nonstd_stl.h threads.h genoconv.h
217neurotest.o: stdiofile.h nonstd_dir.h sstringutils.h defgenoconv.h
218neurotest.o: neuroimpl.h model.h nonstd_math.h modelparts.h 3d.h syntparam.h
219neurotest.o: usertags.h paramtabobj.h advlist.h callbacks.h neurofactory.h
[5]220neurotest.o: stdouterr.h errmanager.h
[104]221nonstd_stdio.o: nonstd_stdio.h
222param.o: param.h sstring.h list.h nonstd.h statrick.h virtfile.h framsg.h
223param.o: extvalue.h nonstd_stl.h threads.h sstringutils.h
[5]224paramobj.o: paramobj.h param.h sstring.h list.h nonstd.h statrick.h
[104]225paramobj.o: virtfile.h framsg.h extvalue.h nonstd_stl.h threads.h
[5]226paramtabobj.o: paramtabobj.h param.h sstring.h list.h nonstd.h statrick.h
[104]227paramtabobj.o: virtfile.h framsg.h
[5]228printconvmap.o: printconvmap.h sstring.h multimap.h multirange.h list.h
229printconvmap.o: nonstd.h
[104]230rndutil.o: rndutil.h nonstd.h nonstd_math.h
231serialtest.o: collectionobj.h param.h sstring.h list.h nonstd.h statrick.h
232serialtest.o: virtfile.h framsg.h extvalue.h nonstd_stl.h threads.h
233serialtest.o: hashtable.h 3d.h
234sstring.o: sstring.h nonstd_stl.h extvalue.h param.h list.h nonstd.h
235sstring.o: statrick.h virtfile.h framsg.h threads.h
[5]236sstringutils.o: sstringutils.h sstring.h virtfile.h framsg.h
[104]237stderrors.o: stderrors.h list.h nonstd.h sstring.h sstringutils.h virtfile.h
238stderrors.o: framsg.h
239stdiofile-autoinit.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h
240stdiofile.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h nonstd_stdio.h
241stdiofile.o: framsg.h
[5]242stdouterr.o: stdouterr.h errmanager.h list.h nonstd.h sstring.h framsg.h
[104]243stdouterr.o: threads.h virtfile.h
[5]244syntparam.o: nonstd.h syntparam.h param.h sstring.h list.h statrick.h
[104]245syntparam.o: virtfile.h framsg.h paramobj.h
[5]246virtfile.o: virtfile.h
Note: See TracBrowser for help on using the repository browser.