Debian Codegraph @

INSTALL

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