1INSTALL file for libmikmod 2========================== 3 4COMPILE USING CMAKE : 5===================== 6 7libmikmod versions 3.3.2 and newer support CMake. CMake version 2.8.x 8or later is required. CMake homepage is at http://www.cmake.org/ . 9 10Run: 11 mkdir build 12 cd build 13 cmake-gui .. # For the GUI configuration applet 14 15Or: 16 mkdir build 17 cd build 18 ccmake .. # For the Curses-based configuration applet 19 20With a fallback to: 21 mkdir build 22 cd build 23 cmake .. # Non-interactive application. 24 25This will build and install the libmikmod shared and static libraries. 26For installing under windows, consult the CMake documentation for 27generating a Visual C, MinGW, etc. compatible makefile or project. 28 29 30COMPILE USING CONFIGURE / AUTOTOOLS : 31===================================== 32 33In most systems just run: 34 $ ./configure 35 $ make 36 37You need GNU make. On BSD or SysV systems, you may need to use gmake 38instead of make. Use ./configure --help to see configuration options. 39To install the library and development components, run "make install" 40as the superuser. This will install the shared and static libraries, 41header file and pkg-config file into directories under /usr/local or a 42different location selected with the --prefix option in configure. 43 44To cross-compile, you will need to use the --host option of configury. 45For example: 46 $ ./configure --host=powerpc-apple-darwin9 # for Mac OS X (powerpc) 47 $ ./configure --host=i686-pc-mingw32 # for Windows (win32) 48 $ ./configure --host=x86_64-w64-mingw32 # for Windows (win64) 49 50We also provide standalone makefiles for Windows, Mac OS X, DJGPP (DOS) 51which you can use for both compiling on the relevant native system, or 52for cross-compiling. 53