[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] | 16 | TARGETS=convtest gdktest genotest neurotest loadertest serialtest f0def.xml model.def |
---|
[5] | 17 | |
---|
| 18 | all: $(TARGETS) |
---|
| 19 | |
---|
[89] | 20 | CXXOPTS= -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 | |
---|
| 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 \ |
---|
[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 | |
---|
| 34 | libgdk.a: $(GDKOBJS) |
---|
| 35 | |
---|
| 36 | CONVTESTOBJS= convtest.o printconvmap.o stdouterr.o virtfile.o |
---|
| 37 | |
---|
| 38 | convtest: libgdk.a $(CONVTESTOBJS) |
---|
| 39 | g++ $(CONVTESTOBJS) -L. -lgdk -o $@ |
---|
| 40 | |
---|
| 41 | GDKTESTOBJS= gdktest.o stdouterr.o virtfile.o |
---|
| 42 | |
---|
| 43 | gdktest: libgdk.a $(GDKTESTOBJS) |
---|
| 44 | g++ $(GDKTESTOBJS) -L. -lgdk -o $@ |
---|
| 45 | |
---|
| 46 | GENOTESTOBJS= genotest.o virtfile.o |
---|
| 47 | |
---|
| 48 | genotest: libgdk.a $(GENOTESTOBJS) |
---|
| 49 | g++ $(GENOTESTOBJS) -L. -lgdk -o $@ |
---|
| 50 | |
---|
| 51 | NEUROTESTOBJS= 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 | |
---|
| 54 | neurotest: libgdk.a $(NEUROTESTOBJS) |
---|
| 55 | g++ $(NEUROTESTOBJS) -L. -lgdk -o $@ |
---|
| 56 | |
---|
[89] | 57 | LOADERTESTOBJS=genotypeloader.o loadertest.o virtfile.o multiparamload.o stdiofile-autoinit.o stdiofile.o nonstd_stdio.cpp |
---|
[5] | 58 | |
---|
| 59 | loadertest: libgdk.a $(LOADERTESTOBJS) |
---|
| 60 | g++ $(LOADERTESTOBJS) -L. -lgdk -o $@ |
---|
| 61 | |
---|
[104] | 62 | SERIALTESTOBJS=serialtest.o virtfile.o stdiofile-autoinit.o stdiofile.o nonstd_stdio.o |
---|
| 63 | |
---|
| 64 | serialtest: libgdk.a $(SERIALTESTOBJS) |
---|
| 65 | g++ $(SERIALTESTOBJS) -L. -lgdk -o $@ |
---|
| 66 | |
---|
[5] | 67 | neurocls-library.h: f0.def neurocls-library.m4 |
---|
| 68 | m4 neurocls-library.m4 f0.def >neurocls-library.h |
---|
| 69 | |
---|
| 70 | neurocls-factory.h: f0.def neurocls-factory.m4 |
---|
| 71 | m4 neurocls-factory.m4 f0.def >neurocls-factory.h |
---|
| 72 | |
---|
| 73 | f0classes.h: f0.def f0classes.m4 |
---|
| 74 | m4 f0classes.m4 f0.def >f0classes.h |
---|
| 75 | |
---|
| 76 | f0def.xml: f0.def f0defxml.m4 |
---|
| 77 | m4 f0defxml.m4 f0.def >f0def.xml |
---|
| 78 | |
---|
| 79 | model.def: f0-modeldef.m4 f0.def |
---|
| 80 | m4 f0-modeldef.m4 f0.def >model.def |
---|
| 81 | |
---|
| 82 | defassign-%.h: defassign.m4 f0.def |
---|
| 83 | m4 -DUSECLASS=$* defassign.m4 f0.def >$@ |
---|
| 84 | |
---|
| 85 | neurolibrary.cpp: neurocls-library.h |
---|
| 86 | neurofactory.cpp: neurocls-factory.h |
---|
| 87 | modelparts.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 | |
---|
| 100 | clean: |
---|
| 101 | rm -f *.o *~ *.bak *.a |
---|
| 102 | |
---|
| 103 | fullclean: clean |
---|
| 104 | rm -f $(TARGETS) $(AUTOGENERATED) |
---|
| 105 | |
---|
| 106 | depend: |
---|
| 107 | makedepend -Y *.cpp |
---|
| 108 | |
---|
| 109 | # DO NOT DELETE |
---|
| 110 | |
---|
[104] | 111 | 3d.o: nonstd_math.h framsg.h 3d.h |
---|
| 112 | 3dobject.o: 3d.h 3dobject.h extvalue.h sstring.h param.h list.h nonstd.h |
---|
| 113 | 3dobject.o: statrick.h virtfile.h framsg.h nonstd_stl.h threads.h |
---|
| 114 | 3dobject.o: collectionobj.h hashtable.h |
---|
[5] | 115 | advlist.o: advlist.h list.h nonstd.h callbacks.h statrick.h |
---|
| 116 | callbacks.o: callbacks.h list.h nonstd.h statrick.h |
---|
[104] | 117 | collectionobj.o: collectionobj.h param.h sstring.h list.h nonstd.h statrick.h |
---|
| 118 | collectionobj.o: virtfile.h framsg.h extvalue.h nonstd_stl.h threads.h |
---|
| 119 | collectionobj.o: hashtable.h 3d.h nonstd_math.h stderrors.h sstringutils.h |
---|
[5] | 120 | conv_f1.o: conv_f1.h genoconv.h geno.h sstring.h extvalue.h param.h list.h |
---|
[104] | 121 | conv_f1.o: nonstd.h statrick.h virtfile.h framsg.h nonstd_stl.h threads.h |
---|
| 122 | conv_f1.o: model.h nonstd_math.h modelparts.h 3d.h sstringutils.h syntparam.h |
---|
| 123 | conv_f1.o: usertags.h paramtabobj.h advlist.h callbacks.h multirange.h |
---|
| 124 | conv_f1.o: multimap.h |
---|
[5] | 125 | convtest.o: genoconv.h geno.h sstring.h extvalue.h param.h list.h nonstd.h |
---|
[104] | 126 | convtest.o: statrick.h virtfile.h framsg.h nonstd_stl.h threads.h model.h |
---|
| 127 | convtest.o: nonstd_math.h modelparts.h 3d.h sstringutils.h syntparam.h |
---|
| 128 | convtest.o: usertags.h paramtabobj.h advlist.h callbacks.h multimap.h |
---|
| 129 | convtest.o: multirange.h conv_f1.h printconvmap.h stdouterr.h errmanager.h |
---|
[5] | 130 | defgenoconv.o: defgenoconv.h genoconv.h geno.h sstring.h extvalue.h param.h |
---|
[104] | 131 | defgenoconv.o: list.h nonstd.h statrick.h virtfile.h framsg.h nonstd_stl.h |
---|
| 132 | defgenoconv.o: threads.h |
---|
| 133 | errmanager.o: errmanager.h list.h nonstd.h sstring.h framsg.h threads.h |
---|
[5] | 134 | extvalue.o: extvalue.h sstring.h param.h list.h nonstd.h statrick.h |
---|
[104] | 135 | extvalue.o: virtfile.h framsg.h nonstd_stl.h threads.h sstringutils.h |
---|
| 136 | extvalue.o: collectionobj.h hashtable.h 3d.h 3dobject.h |
---|
| 137 | framsg.o: framsg.h nonstd_stdio.h |
---|
| 138 | fullprops.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h model.h |
---|
| 139 | fullprops.o: nonstd_math.h modelparts.h 3d.h genoconv.h geno.h extvalue.h |
---|
| 140 | fullprops.o: param.h list.h nonstd.h statrick.h framsg.h nonstd_stl.h |
---|
| 141 | fullprops.o: threads.h sstringutils.h syntparam.h usertags.h paramtabobj.h |
---|
| 142 | fullprops.o: advlist.h callbacks.h defgenoconv.h stdouterr.h errmanager.h |
---|
| 143 | gdktest.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h model.h |
---|
| 144 | gdktest.o: nonstd_math.h modelparts.h 3d.h genoconv.h geno.h extvalue.h |
---|
| 145 | gdktest.o: param.h list.h nonstd.h statrick.h framsg.h nonstd_stl.h threads.h |
---|
| 146 | gdktest.o: sstringutils.h syntparam.h usertags.h paramtabobj.h advlist.h |
---|
| 147 | gdktest.o: callbacks.h defgenoconv.h stdouterr.h errmanager.h |
---|
[5] | 148 | genoconv.o: nonstd.h genoconv.h geno.h sstring.h extvalue.h param.h list.h |
---|
[104] | 149 | genoconv.o: statrick.h virtfile.h framsg.h nonstd_stl.h threads.h multimap.h |
---|
| 150 | genoconv.o: multirange.h |
---|
[5] | 151 | geno.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h |
---|
[104] | 152 | geno.o: virtfile.h framsg.h nonstd_stl.h threads.h genoconv.h model.h |
---|
| 153 | geno.o: nonstd_math.h modelparts.h 3d.h sstringutils.h syntparam.h usertags.h |
---|
| 154 | geno.o: paramtabobj.h advlist.h callbacks.h |
---|
[5] | 155 | genotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h |
---|
[104] | 156 | genotest.o: virtfile.h framsg.h nonstd_stl.h threads.h genoconv.h stdiofile.h |
---|
| 157 | genotest.o: nonstd_dir.h sstringutils.h defgenoconv.h |
---|
[5] | 158 | genotypeloader.o: genotypeloader.h sstring.h multiparamload.h param.h list.h |
---|
[104] | 159 | genotypeloader.o: nonstd.h statrick.h virtfile.h framsg.h extvalue.h |
---|
| 160 | genotypeloader.o: nonstd_stl.h threads.h |
---|
| 161 | hashtable.o: hashtable.h sstring.h |
---|
[5] | 162 | list.o: list.h nonstd.h |
---|
| 163 | loadertest.o: genotypeloader.h sstring.h multiparamload.h param.h list.h |
---|
[104] | 164 | loadertest.o: nonstd.h statrick.h virtfile.h framsg.h extvalue.h nonstd_stl.h |
---|
| 165 | loadertest.o: threads.h |
---|
| 166 | model.o: nonstd_math.h model.h modelparts.h 3d.h genoconv.h geno.h sstring.h |
---|
| 167 | model.o: extvalue.h param.h list.h nonstd.h statrick.h virtfile.h framsg.h |
---|
| 168 | model.o: nonstd_stl.h threads.h sstringutils.h syntparam.h usertags.h |
---|
| 169 | model.o: paramtabobj.h advlist.h callbacks.h multimap.h multirange.h |
---|
| 170 | model.o: errmanager.h |
---|
[5] | 171 | modelparts.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h |
---|
[104] | 172 | modelparts.o: param.h list.h nonstd.h statrick.h virtfile.h framsg.h |
---|
| 173 | modelparts.o: nonstd_stl.h threads.h sstringutils.h syntparam.h usertags.h |
---|
| 174 | modelparts.o: paramtabobj.h model.h nonstd_math.h advlist.h callbacks.h |
---|
| 175 | modelparts.o: neurolibrary.h multirange.h defassign-f0_neuro.h |
---|
[5] | 176 | modelparts.o: defassign-f0_part.h defassign-f0_joint.h f0classes.h |
---|
| 177 | modelparts.o: defassign-f0_neuroconn.h |
---|
| 178 | multimap.o: multimap.h multirange.h list.h nonstd.h |
---|
| 179 | multiparamload.o: multiparamload.h param.h sstring.h list.h nonstd.h |
---|
[104] | 180 | multiparamload.o: statrick.h virtfile.h framsg.h extvalue.h nonstd_stl.h |
---|
| 181 | multiparamload.o: threads.h |
---|
| 182 | multirange.o: multirange.h list.h nonstd.h nonstd_stl.h |
---|
[5] | 183 | neurofactory.o: neurofactory.h modelparts.h 3d.h genoconv.h geno.h sstring.h |
---|
| 184 | neurofactory.o: extvalue.h param.h list.h nonstd.h statrick.h virtfile.h |
---|
[104] | 185 | neurofactory.o: framsg.h nonstd_stl.h threads.h sstringutils.h syntparam.h |
---|
| 186 | neurofactory.o: usertags.h paramtabobj.h neuroimpl.h model.h nonstd_math.h |
---|
| 187 | neurofactory.o: advlist.h callbacks.h neurolibrary.h |
---|
| 188 | neuroimpl-channels.o: neuroimpl-channels.h neuroimpl.h model.h nonstd_math.h |
---|
| 189 | neuroimpl-channels.o: modelparts.h 3d.h genoconv.h geno.h sstring.h |
---|
| 190 | neuroimpl-channels.o: extvalue.h param.h list.h nonstd.h statrick.h |
---|
| 191 | neuroimpl-channels.o: virtfile.h framsg.h nonstd_stl.h threads.h |
---|
| 192 | neuroimpl-channels.o: sstringutils.h syntparam.h usertags.h paramtabobj.h |
---|
| 193 | neuroimpl-channels.o: advlist.h callbacks.h |
---|
| 194 | neuroimpl.o: neuroimpl.h model.h nonstd_math.h modelparts.h 3d.h genoconv.h |
---|
| 195 | neuroimpl.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h |
---|
| 196 | neuroimpl.o: virtfile.h framsg.h nonstd_stl.h threads.h sstringutils.h |
---|
| 197 | neuroimpl.o: syntparam.h usertags.h paramtabobj.h advlist.h callbacks.h |
---|
| 198 | neuroimpl.o: neurofactory.h rndutil.h |
---|
| 199 | neuroimpl-fuzzy.o: neuroimpl-fuzzy.h neuroimpl.h model.h nonstd_math.h |
---|
| 200 | neuroimpl-fuzzy.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h |
---|
| 201 | neuroimpl-fuzzy.o: param.h list.h nonstd.h statrick.h virtfile.h framsg.h |
---|
| 202 | neuroimpl-fuzzy.o: nonstd_stl.h threads.h sstringutils.h syntparam.h |
---|
| 203 | neuroimpl-fuzzy.o: usertags.h paramtabobj.h advlist.h callbacks.h |
---|
[5] | 204 | neuroimpl-fuzzy.o: neuroimpl-fuzzy-f0.h |
---|
[104] | 205 | neuroimpl-fuzzy-f0.o: neuroimpl-fuzzy-f0.h sstring.h nonstd_stl.h |
---|
| 206 | neuroimpl-simple.o: neuroimpl-simple.h neuroimpl.h model.h nonstd_math.h |
---|
| 207 | neuroimpl-simple.o: modelparts.h 3d.h genoconv.h geno.h sstring.h extvalue.h |
---|
| 208 | neuroimpl-simple.o: param.h list.h nonstd.h statrick.h virtfile.h framsg.h |
---|
| 209 | neuroimpl-simple.o: nonstd_stl.h threads.h sstringutils.h syntparam.h |
---|
| 210 | neuroimpl-simple.o: usertags.h paramtabobj.h advlist.h callbacks.h |
---|
[5] | 211 | neurolibrary.o: neurolibrary.h advlist.h list.h nonstd.h callbacks.h |
---|
[104] | 212 | neurolibrary.o: statrick.h param.h sstring.h virtfile.h framsg.h modelparts.h |
---|
| 213 | neurolibrary.o: 3d.h genoconv.h geno.h extvalue.h nonstd_stl.h threads.h |
---|
| 214 | neurolibrary.o: sstringutils.h syntparam.h usertags.h paramtabobj.h |
---|
[5] | 215 | neurotest.o: geno.h sstring.h extvalue.h param.h list.h nonstd.h statrick.h |
---|
[104] | 216 | neurotest.o: virtfile.h framsg.h nonstd_stl.h threads.h genoconv.h |
---|
| 217 | neurotest.o: stdiofile.h nonstd_dir.h sstringutils.h defgenoconv.h |
---|
| 218 | neurotest.o: neuroimpl.h model.h nonstd_math.h modelparts.h 3d.h syntparam.h |
---|
| 219 | neurotest.o: usertags.h paramtabobj.h advlist.h callbacks.h neurofactory.h |
---|
[5] | 220 | neurotest.o: stdouterr.h errmanager.h |
---|
[104] | 221 | nonstd_stdio.o: nonstd_stdio.h |
---|
| 222 | param.o: param.h sstring.h list.h nonstd.h statrick.h virtfile.h framsg.h |
---|
| 223 | param.o: extvalue.h nonstd_stl.h threads.h sstringutils.h |
---|
[5] | 224 | paramobj.o: paramobj.h param.h sstring.h list.h nonstd.h statrick.h |
---|
[104] | 225 | paramobj.o: virtfile.h framsg.h extvalue.h nonstd_stl.h threads.h |
---|
[5] | 226 | paramtabobj.o: paramtabobj.h param.h sstring.h list.h nonstd.h statrick.h |
---|
[104] | 227 | paramtabobj.o: virtfile.h framsg.h |
---|
[5] | 228 | printconvmap.o: printconvmap.h sstring.h multimap.h multirange.h list.h |
---|
| 229 | printconvmap.o: nonstd.h |
---|
[104] | 230 | rndutil.o: rndutil.h nonstd.h nonstd_math.h |
---|
| 231 | serialtest.o: collectionobj.h param.h sstring.h list.h nonstd.h statrick.h |
---|
| 232 | serialtest.o: virtfile.h framsg.h extvalue.h nonstd_stl.h threads.h |
---|
| 233 | serialtest.o: hashtable.h 3d.h |
---|
| 234 | sstring.o: sstring.h nonstd_stl.h extvalue.h param.h list.h nonstd.h |
---|
| 235 | sstring.o: statrick.h virtfile.h framsg.h threads.h |
---|
[5] | 236 | sstringutils.o: sstringutils.h sstring.h virtfile.h framsg.h |
---|
[104] | 237 | stderrors.o: stderrors.h list.h nonstd.h sstring.h sstringutils.h virtfile.h |
---|
| 238 | stderrors.o: framsg.h |
---|
| 239 | stdiofile-autoinit.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h |
---|
| 240 | stdiofile.o: stdiofile.h virtfile.h sstring.h nonstd_dir.h nonstd_stdio.h |
---|
| 241 | stdiofile.o: framsg.h |
---|
[5] | 242 | stdouterr.o: stdouterr.h errmanager.h list.h nonstd.h sstring.h framsg.h |
---|
[104] | 243 | stdouterr.o: threads.h virtfile.h |
---|
[5] | 244 | syntparam.o: nonstd.h syntparam.h param.h sstring.h list.h statrick.h |
---|
[104] | 245 | syntparam.o: virtfile.h framsg.h paramobj.h |
---|
[5] | 246 | virtfile.o: virtfile.h |
---|