
You must comple this source with following options and with mingw (see README.win32 in doc directory).
$CFLAGS="-O2" configure --enable-interface=ncurses,vt100,winsyn --enable-network \
   --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio  --prefix=/usr/local/libtimi_p_dll
$cat timip_config.h >>config.h
$make


To make MSVC import lib
>lib /def:libtimi_p_dll.def
>lib libtimidity_p_dll.lib getopt.obj


This directory includes scripts and patchs used, when I made TiMidity++ Plain DLL source from TiMidity++-2.13.2 source.

(0) TiMidity++2.13.2.patch
	Small fixes for original TiMidity++.

(1)MAIN_INTERFACE.patch
	Export MAIN_INTERFACE  for original TiMidity++.

(2) timi_orig.def
    Export file which getted from original source
    (compilefrag used)
      CFLAGS="-O2 -DLIBTIMIPDLL_COMPILATION" configure --enable-interface=ncurses,vt100,winsyn --enable-network \
      --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio
    I got timidity.exe with link gcc -shared -Wl,--export-all-symbols 
    pexports timidity.exe >timi_orig.def

(3) datalist.sh
	This script generates datanames list (datalist) from  timi_orig.def and original source.

(4) funclist.sh
	This script genarates functionname list (funclist) from timi_orig.def and original source.
	
(5) rename.sh
	This script renames the names from datalist and funclist  to "timip_xxxx" style.

(6) header.sh
	This script makes all names of datalist to be called with  __dllspec(dllexport) or __dllspec(dllimport).
    	befor apply this.  Do   $for foo in `find` ;do nkf --unix <$foo>$foo.tmp;  mv $foo.tmp $foo ; done
    	after apply this.  Do   $for foo in `ls */*.h` ;do mv $foo.tmp $foo ; done

(7) hedren.sh
    This script renames heder files to "timip_xxxx.h" style.


 
(8) automake.patch
	Patchs of autotool files(whichi must to applly to the files of orignail distribution).

(9) configh.sh
	Make & replace config.h by timip_config.h.

2005.09.24

	Keishi Suenaga(s_keishi@mutt.freemail.ne.jp)

