From: Chris <ccortner@ch...> - 2005-01-16 05:25:30
This is my first post, please have mercy.
I've been playing around with the MESS API and was wondering what
the best way to build an instrument is? Today I started digging
into autoconf and automake and they seem a bit overwhelming to say
the least. A little shove in the right direction would be greatly
sön 2005-01-16 klockan 06.26 skrev Chris:
> This is my first post, please have mercy.
> I've been playing around with the MESS API and was wondering what
> the best way to build an instrument is? Today I started digging
> into autoconf and automake and they seem a bit overwhelming to say
> the least. A little shove in the right direction would be greatly
I'm not a big fan of playing with autoconf/make myself either. On the
other hand, to copy-paste around a bit will get you far.
If you're planning to put your stuff in muse/synti/your_synth_dir
(recommended) you should be able to get up and running by:
1) Create muse/synti/your_synth_dir
2) Copy Makefile.am from one of the other synths in the muse/synti-dir
3) Add synti/your_synth_dir/Makefile to muse/configure.ac
4) Add your_synth_dir to the line "SUBDIRS = ..." in
5) Modify your muse/synti/your_synthi_dir/Makefile.am to fit to your own
sources. Basically, this means renaming every tag that says something
about the old synth name/dir to your_synth_dir (I think that's all I
ever did). Oh, of course you have to say which files in your directory
are sources (your_synth_dir_la_SOURCES), additional compiler flags
(AM_CXXFLAGS), additional linker flags (your_synth_dir_la_LIBADD),
things that should follow along in the distribution even though they're
not sources/libfiles etc (EXTRA_DIST).
6) Run muse/autogen.sh and muse/configure to have your Makefile created.
I'm not sure if you've seen that I've written a short guide to the API
It's not a very extensive in-depth guide, but if you haven't already
seen it, it will hopefully give you some good hints to the purpose of
the different functions. Hope that gets up and running!