source: cpp/gdk/Makefile @ 70

Last change on this file since 70 was 69, checked in by sz, 14 years ago

removed unnecessary files. all GDK samples can be built again (including neurotest). TODO: add #define GDK_WITHOUT_FRAMS to all VS projects! Note: read Makefile before syncing frams<->GDK!

  • Property svn:eol-style set to native
File size: 8.9 KB
Line 
1#
2# Framsticks GDK makefile
3#
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
15
16TARGETS=convtest gdktest genotest neurotest loadertest f0def.xml model.def
17
18all: $(TARGETS)
19
20CXXOPTS= -DGDK_WITHOUT_FRAMS -DEASYMAPDEBUG -g -Wno-parentheses -Wno-overloaded-virtual -Wno-format
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 \
30        multirange.o multimap.o paramtabobj.o defgenoconv.o sstringutils.o paramobj.o \
31        $(CONVMODULES)
32
33libgdk.a: $(GDKOBJS)
34
35CONVTESTOBJS= convtest.o printconvmap.o stdouterr.o virtfile.o
36
37convtest: libgdk.a $(CONVTESTOBJS)
38        g++ $(CONVTESTOBJS) -L. -lgdk -o $@
39
40GDKTESTOBJS= gdktest.o stdouterr.o virtfile.o
41
42gdktest: libgdk.a $(GDKTESTOBJS)
43        g++ $(GDKTESTOBJS) -L. -lgdk -o $@
44
45GENOTESTOBJS= genotest.o virtfile.o
46
47genotest: libgdk.a $(GENOTESTOBJS)
48        g++ $(GENOTESTOBJS) -L. -lgdk -o $@
49
50NEUROTESTOBJS= neurotest.o stdouterr.o virtfile.o neuroimpl.o neurofactory.o \
51        neuroimpl-simple.o neuroimpl-channels.o neuroimpl-fuzzy.o neuroimpl-fuzzy-f0.o
52
53neurotest: libgdk.a $(NEUROTESTOBJS)
54        g++ $(NEUROTESTOBJS) -L. -lgdk -o $@
55
56LOADERTESTOBJS=genotypeloader.o loadertest.o virtfile.o multiparamload.o stdiofile-autoinit.o stdiofile.o
57
58loadertest: libgdk.a $(LOADERTESTOBJS)
59        g++ $(LOADERTESTOBJS) -L. -lgdk -o $@
60
61neurocls-library.h: f0.def neurocls-library.m4
62        m4 neurocls-library.m4 f0.def >neurocls-library.h
63
64neurocls-factory.h: f0.def neurocls-factory.m4
65        m4 neurocls-factory.m4 f0.def >neurocls-factory.h
66
67f0classes.h: f0.def f0classes.m4
68        m4 f0classes.m4 f0.def >f0classes.h
69
70f0def.xml: f0.def f0defxml.m4
71        m4 f0defxml.m4 f0.def >f0def.xml
72
73model.def: f0-modeldef.m4 f0.def
74        m4 f0-modeldef.m4 f0.def >model.def
75
76defassign-%.h: defassign.m4 f0.def
77        m4 -DUSECLASS=$* defassign.m4 f0.def >$@
78
79neurolibrary.cpp: neurocls-library.h
80neurofactory.cpp: neurocls-factory.h
81modelparts.cpp: f0classes.h defassign-f0_part.h defassign-f0_joint.h \
82                defassign-f0_neuro.h defassign-f0_neuroconn.h
83
84#############
85
86%.o : %.cpp
87        g++ -c $(CXXOPTS) $<
88
89%.a:
90        rm -f $@
91        ar r $@ $^
92        ranlib $@
93
94clean:
95        rm -f *.o *~ *.bak *.a
96
97fullclean:      clean
98        rm -f $(TARGETS) $(AUTOGENERATED)
99
100depend:
101        makedepend -Y *.cpp
102
103# DO NOT DELETE
104
1053d.o: nonstd.h 3d.h framsg.h
106advlist.o: advlist.h list.h nonstd.h callbacks.h statrick.h
107callbacks.o: callbacks.h list.h nonstd.h statrick.h
108conv_f1.o: conv_f1.h genoconv.h geno.h sstring.h extvalue.h param.h list.h
109conv_f1.o: nonstd.h statrick.h virtfile.h model.h modelparts.h 3d.h
110conv_f1.o: sstringutils.h syntparam.h usertags.h paramtabobj.h advlist.h
111conv_f1.o: callbacks.h framsg.h multirange.h multimap.h
112convtest.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h nonstd.h
113convtest.o: statrick.h virtfile.h model.h modelparts.h 3d.h sstringutils.h
114convtest.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
115convtest.o: multimap.h multirange.h conv_f1.h printconvmap.h stdouterr.h
116convtest.o: errmanager.h framsg.h
117defgenoconv.o: defgenoconv.h genoconv.h geno.h sstring.h extvalue.h param.h
118defgenoconv.o: list.h nonstd.h statrick.h virtfile.h gen-config.h conv_f1.h
119defgenoconv.o: model.h modelparts.h 3d.h sstringutils.h syntparam.h
120defgenoconv.o: usertags.h paramtabobj.h advlist.h callbacks.h
121errmanager.o: errmanager.h list.h nonstd.h sstring.h framsg.h
122extvalue.o: extvalue.h sstring.h param.h list.h nonstd.h statrick.h
123extvalue.o: virtfile.h framsg.h
124framsg.o: nonstd.h framsg.h
125gdktest.o: model.h modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h
126gdktest.o: param.h list.h nonstd.h statrick.h virtfile.h sstringutils.h
127gdktest.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
128gdktest.o: defgenoconv.h stdouterr.h errmanager.h framsg.h
129genoconv.o: nonstd.h genoconv.h geno.h sstring.h extvalue.h param.h list.h
130genoconv.o: statrick.h virtfile.h multimap.h multirange.h
131geno.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
132geno.o: virtfile.h genoconv.h model.h modelparts.h 3d.h sstringutils.h
133geno.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
134genotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
135genotest.o: virtfile.h genoconv.h stdiofile.h sstringutils.h defgenoconv.h
136genotypeloader.o: genotypeloader.h sstring.h multiparamload.h param.h list.h
137genotypeloader.o: nonstd.h statrick.h virtfile.h
138list.o: list.h nonstd.h
139loadertest.o: genotypeloader.h sstring.h multiparamload.h param.h list.h
140loadertest.o: nonstd.h statrick.h virtfile.h
141model.o: nonstd.h model.h modelparts.h 3d.h genoconv.h geno.h sstring.h
142model.o: extvalue.h param.h list.h statrick.h virtfile.h sstringutils.h
143model.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h framsg.h
144model.o: multimap.h multirange.h errmanager.h
145modelparts.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h
146modelparts.o: param.h list.h nonstd.h statrick.h virtfile.h sstringutils.h
147modelparts.o: syntparam.h usertags.h paramtabobj.h model.h advlist.h
148modelparts.o: callbacks.h neurolibrary.h multirange.h defassign-f0_neuro.h
149modelparts.o: defassign-f0_part.h defassign-f0_joint.h f0classes.h
150modelparts.o: defassign-f0_neuroconn.h
151multimap.o: multimap.h multirange.h list.h nonstd.h
152multiparamload.o: multiparamload.h param.h sstring.h list.h nonstd.h
153multiparamload.o: statrick.h virtfile.h framsg.h
154multirange.o: multirange.h list.h nonstd.h
155neurofactory.o: neurofactory.h modelparts.h 3d.h genoconv.h geno.h sstring.h
156neurofactory.o: extvalue.h param.h list.h nonstd.h statrick.h virtfile.h
157neurofactory.o: sstringutils.h syntparam.h usertags.h paramtabobj.h
158neurofactory.o: neuroimpl.h model.h advlist.h callbacks.h framsg.h
159neurofactory.o: neuroimplfiles.h neuroimpl-simple.h neuroimpl-channels.h
160neurofactory.o: neuroimpl-fuzzy.h neuroimpl-body-gdk.h neurocls-factory.h
161neuroimpl-channels.o: neuroimpl-channels.h neuroimpl.h model.h modelparts.h
162neuroimpl-channels.o: 3d.h genoconv.h geno.h sstring.h extvalue.h param.h
163neuroimpl-channels.o: list.h nonstd.h statrick.h virtfile.h sstringutils.h
164neuroimpl-channels.o: syntparam.h usertags.h paramtabobj.h advlist.h
165neuroimpl-channels.o: callbacks.h framsg.h
166neuroimpl.o: neuroimpl.h model.h modelparts.h 3d.h genoconv.h geno.h
167neuroimpl.o: sstring.h extvalue.h param.h list.h nonstd.h statrick.h
168neuroimpl.o: virtfile.h sstringutils.h syntparam.h usertags.h paramtabobj.h
169neuroimpl.o: advlist.h callbacks.h framsg.h neurofactory.h
170neuroimpl-fuzzy.o: neuroimpl-fuzzy.h neuroimpl.h model.h modelparts.h 3d.h
171neuroimpl-fuzzy.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h
172neuroimpl-fuzzy.o: nonstd.h statrick.h virtfile.h sstringutils.h syntparam.h
173neuroimpl-fuzzy.o: usertags.h paramtabobj.h advlist.h callbacks.h framsg.h
174neuroimpl-fuzzy.o: neuroimpl-fuzzy-f0.h
175neuroimpl-fuzzy-f0.o: neuroimpl-fuzzy-f0.h sstring.h nonstd.h
176neuroimpl-simple.o: neuroimpl-simple.h neuroimpl.h model.h modelparts.h 3d.h
177neuroimpl-simple.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h
178neuroimpl-simple.o: nonstd.h statrick.h virtfile.h sstringutils.h syntparam.h
179neuroimpl-simple.o: usertags.h paramtabobj.h advlist.h callbacks.h framsg.h
180neurolibrary.o: neurolibrary.h advlist.h list.h nonstd.h callbacks.h
181neurolibrary.o: statrick.h param.h sstring.h virtfile.h modelparts.h 3d.h
182neurolibrary.o: genoconv.h geno.h extvalue.h sstringutils.h syntparam.h
183neurolibrary.o: usertags.h paramtabobj.h neurocls-library.h
184neurotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
185neurotest.o: virtfile.h genoconv.h stdiofile.h sstringutils.h defgenoconv.h
186neurotest.o: neuroimpl.h model.h modelparts.h 3d.h syntparam.h usertags.h
187neurotest.o: paramtabobj.h advlist.h callbacks.h framsg.h neurofactory.h
188neurotest.o: stdouterr.h errmanager.h
189param.o: param.h sstring.h list.h nonstd.h statrick.h virtfile.h extvalue.h
190param.o: framsg.h sstringutils.h
191paramobj.o: paramobj.h param.h sstring.h list.h nonstd.h statrick.h
192paramobj.o: virtfile.h extvalue.h
193paramtabobj.o: paramtabobj.h param.h sstring.h list.h nonstd.h statrick.h
194paramtabobj.o: virtfile.h
195printconvmap.o: printconvmap.h sstring.h multimap.h multirange.h list.h
196printconvmap.o: nonstd.h
197sstring.o: sstring.h nonstd.h
198sstringutils.o: sstringutils.h sstring.h virtfile.h framsg.h
199stdiofile-autoinit.o: stdiofile.h virtfile.h sstring.h
200stdiofile.o: stdiofile.h virtfile.h sstring.h nonstd.h nonstd_io.h
201stdouterr.o: stdouterr.h errmanager.h list.h nonstd.h sstring.h framsg.h
202syntparam.o: nonstd.h syntparam.h param.h sstring.h list.h statrick.h
203syntparam.o: virtfile.h paramobj.h
204virtfile.o: virtfile.h
Note: See TracBrowser for help on using the repository browser.