source: cpp/_old/f8-to-f1/Makefile @ 1299

Last change on this file since 1299 was 193, checked in by Maciej Komosinski, 10 years ago

Set svn:eol-style native for all textual files

  • Property svn:eol-style set to native
File size: 10.6 KB
Line 
1#
2# Framsticks GDK makefile
3#
4
5CXX=g++
6CC=gcc
7
8TARGETS=convtest gdktest genotest neurotest loadertest f0def.xml model.def convtestmw
9
10all: $(TARGETS)
11
12#CXXOPTS= -DNOCREATUREOBJECT -DEASYMAPDEBUG -O2 -Wno-parentheses -Wno-overloaded-virtual -Wno-format -Wunused
13CXXOPTS= -DNOCREATUREOBJECT -DEASYMAPDEBUG -g -Wno-parentheses -Wno-overloaded-virtual -Wno-format -Wunused
14# -DEASYMAPDEBUG is required for convtest
15
16AUTOGENERATED=defassign-f0_joint.h defassign-f0_part.h defassign-f0_neuro.h f0classes.h \
17        defassign-f0_neuroconn.h f0def.xml neurocls-library.h neurocls-factory.h model.def \
18        lemon conv_f8tof1_scanner.cpp conv_f8tof1_grammar.h conv_f8tof1_grammar.c \
19        conv_f8tof1_scanner.h
20
21CONVMODULES=conv_f1.o conv_f8tof1.o
22
23GDKOBJS=list.o advlist.o param.o sstring.o 3d.o model.o modelparts.o errmanager.o \
24        neurolibrary.o geno.o genoconv.o extvalue.o framsg.o callbacks.o syntparam.o \
25        multirange.o multimap.o paramtabobj.o defgenoconv.o sstringutils.o paramobj.o \
26        $(CONVMODULES) conv_f8tof1_scanner.o conv_f8_utils.o
27
28libgdk.a: $(GDKOBJS)
29
30libgenof8.a: geno_f8.o geno_fx.o model.o framsg.o rndutil.o conv_f8_utils.o
31
32CONVTESTOBJS= convtest.o printconvmap.o stdouterr.o virtfile.o
33CONVTESTOBJS2= convtestmw.o printconvmap.o stdouterr.o virtfile.o
34
35convtest: libgdk.a $(CONVTESTOBJS)
36        $(CXX) $(CONVTESTOBJS) -L. -lgdk -o $@
37       
38convtestmw: libgdk.a $(CONVTESTOBJS2) libgenof8.a
39        $(CXX) $(CONVTESTOBJS2) -L. -lgdk -lgenof8 -o $@
40
41GDKTESTOBJS= gdktest.o stdouterr.o virtfile.o
42
43gdktest: libgdk.a $(GDKTESTOBJS)
44        $(CXX) $(GDKTESTOBJS) -L. -lgdk -o $@
45
46GENOTESTOBJS= genotest.o virtfile.o
47
48genotest: libgdk.a $(GENOTESTOBJS)
49        $(CXX) $(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        $(CXX) $(NEUROTESTOBJS) -L. -lgdk -o $@
56
57LOADERTESTOBJS=genotypeloader.o loadertest.o virtfile.o multiparamload.o stdiofile-autoinit.o stdiofile.o
58
59loadertest: libgdk.a $(LOADERTESTOBJS)
60        $(CXX) $(LOADERTESTOBJS) -L. -lgdk -o $@
61
62neurocls-library.h: f0.def neurocls-library.m4
63        m4 neurocls-library.m4 f0.def >neurocls-library.h
64
65neurocls-factory.h: f0.def neurocls-factory.m4
66        m4 neurocls-factory.m4 f0.def >neurocls-factory.h
67
68f0classes.h: f0.def f0classes.m4
69        m4 f0classes.m4 f0.def >f0classes.h
70
71f0def.xml: f0.def f0defxml.m4
72        m4 f0defxml.m4 f0.def >f0def.xml
73
74model.def: f0-modeldef.m4 f0.def
75        m4 f0-modeldef.m4 f0.def >model.def
76
77defassign-%.h: defassign.m4 f0.def
78        m4 -DUSECLASS=$* defassign.m4 f0.def >$@
79
80neurolibrary.cpp: neurocls-library.h
81neurofactory.cpp: neurocls-factory.h
82modelparts.cpp: f0classes.h defassign-f0_part.h defassign-f0_joint.h \
83                defassign-f0_neuro.h defassign-f0_neuroconn.h
84
85lemon: lemon.c
86        $(CC) -o lemon lemon.c
87
88conv_f8tof1_grammar.c: lemon conv_f8tof1_grammar.y lempar.c
89        ./lemon -q conv_f8tof1_grammar.y
90
91conv_f8tof1_scanner.h: conv_f8tof1_scanner.l
92        flex++ --outfile=conv_f8tof1_scanner.cpp --header-file=conv_f8tof1_scanner.h conv_f8tof1_scanner.l
93       
94#############
95
96%.o : %.cpp
97        $(CXX) -c $(CXXOPTS) $<
98
99%.a:
100        rm -f $@
101        ar r $@ $^
102        ranlib $@
103
104clean:
105        rm -f *.o *~ *.bak *.a
106
107fullclean:      clean
108        rm -f $(TARGETS) $(AUTOGENERATED)
109
110prepare: $(AUTOGENERATED) depend
111        rm -f Makefile.bak
112        addhead ../gdk-head.txt *.h *.cpp
113
114depend:
115        makedepend -Y *.cpp
116
117# DO NOT DELETE
118
1193d.o: nonstd.h 3d.h framsg.h
120advlist.o: advlist.h list.h nonstd.h callbacks.h statrick.h
121callbacks.o: callbacks.h list.h nonstd.h statrick.h
122conv_f1.o: conv_f1.h genoconv.h geno.h sstring.h extvalue.h param.h list.h
123conv_f1.o: nonstd.h statrick.h virtfile.h model.h modelparts.h 3d.h
124conv_f1.o: sstringutils.h syntparam.h usertags.h paramtabobj.h advlist.h
125conv_f1.o: callbacks.h framsg.h multirange.h multimap.h
126conv_f8tof1.o: conv_f8tof1.h genoconv.h geno.h sstring.h extvalue.h param.h list.h
127conv_f8tof1.o: nonstd.h statrick.h virtfile.h model.h modelparts.h 3d.h
128conv_f8tof1.o: sstringutils.h syntparam.h usertags.h paramtabobj.h advlist.h
129conv_f8tof1.o: callbacks.h framsg.h multirange.h multimap.h conv_f8_utils.h
130#conv_f8tof1.o: conv_f8tof1_scanner.l conv_f8tof1_scanner.cpp
131conv_f8tof1.o: lemonglobal.h conv_f8tof1_scanner.h
132conv_f8tof1.o: conv_f8tof1_grammar.y conv_f8tof1_grammar.c
133conv_f8tof1_scanner.o: sstring.h conv_f8tof1_scanner.l conv_f8tof1_scanner.h
134conv_f8tof1_scanner.o: lexglobal.h lemonglobal.h
135conv_f8_utils.o: sstring.h
136geno_f8.o: geno_f8.h nonstd.h model.h framsg.h rndutil.h
137geno_f8.o: param.h sstring.h geno_fx.h multimap.h conv_f8tof1.h
138geno_f8.o: conv_f8_utils.h
139geno_fx.o: geno_fx.h nonstd.h model.h framsg.h rndutil.h
140convtest.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h nonstd.h
141convtest.o: statrick.h virtfile.h model.h modelparts.h 3d.h sstringutils.h
142convtest.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
143convtest.o: multimap.h multirange.h conv_f1.h printconvmap.h stdouterr.h
144convtest.o: errmanager.h framsg.h
145convtestmw.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h nonstd.h
146convtestmw.o: statrick.h virtfile.h model.h modelparts.h 3d.h sstringutils.h
147convtestmw.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
148convtestmw.o: multimap.h multirange.h conv_f1.h printconvmap.h stdouterr.h
149convtestmw.o: errmanager.h framsg.h conv_f8tof1.h conv_f8_utils.h geno_f8.h
150defgenoconv.o: defgenoconv.h genoconv.h geno.h sstring.h extvalue.h param.h
151defgenoconv.o: list.h nonstd.h statrick.h virtfile.h gen-config.h conv_f1.h
152defgenoconv.o: model.h modelparts.h 3d.h sstringutils.h syntparam.h
153defgenoconv.o: usertags.h paramtabobj.h advlist.h callbacks.h
154errmanager.o: errmanager.h list.h nonstd.h sstring.h framsg.h
155extvalue.o: extvalue.h sstring.h param.h list.h nonstd.h statrick.h
156extvalue.o: virtfile.h framsg.h
157framsg.o: nonstd.h framsg.h
158gdktest.o: model.h modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h
159gdktest.o: param.h list.h nonstd.h statrick.h virtfile.h sstringutils.h
160gdktest.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
161gdktest.o: defgenoconv.h stdouterr.h errmanager.h framsg.h
162genoconv.o: nonstd.h genoconv.h geno.h sstring.h extvalue.h param.h list.h
163genoconv.o: statrick.h virtfile.h multimap.h multirange.h
164geno.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
165geno.o: virtfile.h genoconv.h model.h modelparts.h 3d.h sstringutils.h
166geno.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h
167genotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
168genotest.o: virtfile.h genoconv.h stdiofile.h sstringutils.h defgenoconv.h
169genotypeloader.o: genotypeloader.h sstring.h multiparamload.h param.h list.h
170genotypeloader.o: nonstd.h statrick.h virtfile.h
171list.o: list.h nonstd.h
172loadertest.o: genotypeloader.h sstring.h multiparamload.h param.h list.h
173loadertest.o: nonstd.h statrick.h virtfile.h
174model.o: nonstd.h model.h modelparts.h 3d.h genoconv.h geno.h sstring.h
175model.o: extvalue.h param.h list.h statrick.h virtfile.h sstringutils.h
176model.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h framsg.h
177model.o: multimap.h multirange.h errmanager.h
178modelparts.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h
179modelparts.o: param.h list.h nonstd.h statrick.h virtfile.h sstringutils.h
180modelparts.o: syntparam.h usertags.h paramtabobj.h model.h advlist.h
181modelparts.o: callbacks.h neurolibrary.h multirange.h defassign-f0_neuro.h
182modelparts.o: defassign-f0_part.h defassign-f0_joint.h f0classes.h
183modelparts.o: defassign-f0_neuroconn.h
184multimap.o: multimap.h multirange.h list.h nonstd.h
185multiparamload.o: multiparamload.h param.h sstring.h list.h nonstd.h
186multiparamload.o: statrick.h virtfile.h framsg.h
187multirange.o: multirange.h list.h nonstd.h
188neurofactory.o: neurofactory.h modelparts.h 3d.h genoconv.h geno.h sstring.h
189neurofactory.o: extvalue.h param.h list.h nonstd.h statrick.h virtfile.h
190neurofactory.o: sstringutils.h syntparam.h usertags.h paramtabobj.h
191neurofactory.o: neuroimpl.h model.h advlist.h callbacks.h framsg.h
192neurofactory.o: neuroimplfiles.h neuroimpl-simple.h neuroimpl-channels.h
193neurofactory.o: neuroimpl-fuzzy.h neuroimpl-body-gdk.h neurocls-factory.h
194neuroimpl-channels.o: neuroimpl-channels.h neuroimpl.h model.h modelparts.h
195neuroimpl-channels.o: 3d.h genoconv.h geno.h sstring.h extvalue.h param.h
196neuroimpl-channels.o: list.h nonstd.h statrick.h virtfile.h sstringutils.h
197neuroimpl-channels.o: syntparam.h usertags.h paramtabobj.h advlist.h
198neuroimpl-channels.o: callbacks.h framsg.h
199neuroimpl.o: neuroimpl.h model.h modelparts.h 3d.h genoconv.h geno.h
200neuroimpl.o: sstring.h extvalue.h param.h list.h nonstd.h statrick.h
201neuroimpl.o: virtfile.h sstringutils.h syntparam.h usertags.h paramtabobj.h
202neuroimpl.o: advlist.h callbacks.h framsg.h neurofactory.h
203neuroimpl-fuzzy.o: neuroimpl-fuzzy.h neuroimpl.h model.h modelparts.h 3d.h
204neuroimpl-fuzzy.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h
205neuroimpl-fuzzy.o: nonstd.h statrick.h virtfile.h sstringutils.h syntparam.h
206neuroimpl-fuzzy.o: usertags.h paramtabobj.h advlist.h callbacks.h framsg.h
207neuroimpl-fuzzy.o: neuroimpl-fuzzy-f0.h
208neuroimpl-fuzzy-f0.o: neuroimpl-fuzzy-f0.h sstring.h nonstd.h
209neuroimpl-simple.o: neuroimpl-simple.h neuroimpl.h model.h modelparts.h 3d.h
210neuroimpl-simple.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h
211neuroimpl-simple.o: nonstd.h statrick.h virtfile.h sstringutils.h syntparam.h
212neuroimpl-simple.o: usertags.h paramtabobj.h advlist.h callbacks.h framsg.h
213neurolibrary.o: neurolibrary.h advlist.h list.h nonstd.h callbacks.h
214neurolibrary.o: statrick.h param.h sstring.h virtfile.h modelparts.h 3d.h
215neurolibrary.o: genoconv.h geno.h extvalue.h sstringutils.h syntparam.h
216neurolibrary.o: usertags.h paramtabobj.h neurocls-library.h
217neurotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h
218neurotest.o: virtfile.h genoconv.h stdiofile.h sstringutils.h defgenoconv.h
219neurotest.o: neuroimpl.h model.h modelparts.h 3d.h syntparam.h usertags.h
220neurotest.o: paramtabobj.h advlist.h callbacks.h framsg.h neurofactory.h
221neurotest.o: stdouterr.h errmanager.h
222param.o: param.h sstring.h list.h nonstd.h statrick.h virtfile.h extvalue.h
223param.o: framsg.h sstringutils.h
224paramobj.o: paramobj.h param.h sstring.h list.h nonstd.h statrick.h
225paramobj.o: virtfile.h extvalue.h
226paramtabobj.o: paramtabobj.h param.h sstring.h list.h nonstd.h statrick.h
227paramtabobj.o: virtfile.h
228printconvmap.o: printconvmap.h sstring.h multimap.h multirange.h list.h
229printconvmap.o: nonstd.h
230sstring.o: sstring.h nonstd.h
231sstringutils.o: sstringutils.h sstring.h virtfile.h framsg.h
232stdiofile-autoinit.o: stdiofile.h virtfile.h sstring.h
233stdiofile.o: stdiofile.h virtfile.h sstring.h nonstd.h nonstd_io.h
234stdouterr.o: stdouterr.h errmanager.h list.h nonstd.h sstring.h framsg.h
235syntparam.o: nonstd.h syntparam.h param.h sstring.h list.h statrick.h
236syntparam.o: virtfile.h paramobj.h
237virtfile.o: virtfile.h
Note: See TracBrowser for help on using the repository browser.