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