This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
forked from libxmp/libxmp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
59 lines (32 loc) · 1.42 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Requirements
------------
- This package needs to be built using GNU make
(https://www.gnu.org/software/make/). On BSD or SysV systems, you may
need to use "gmake" instead of "make".
Building the library
--------------------
In most systems just execute:
$ ./configure
$ make
We'll build the shared library by default. Use ./configure --enable-static
to build the static library. To check if the library was correctly built,
run:
$ make check
Use ./configure --help to see more options.
For emscripten, remember to pass the correct host os to configure, e.g.:
$ emconfigure ./configure --host=wasm32-unknown-emscripten
You can also use the CMake build system to build libxmp, which requires
cmake versions 3.2 or newer ( https://cmake.org )
To build for Windows using Visual Studio, use Makefile.vc:
nmake -f Makefile.vc (read/edit Makefile.vc as necessary.)
To build for Windows using OpenWatcom, use Makefile.w32:
wmake -f Makefile.w32 (read/edit Makefile.w32 as necessary.)
To build for OS/2 using OpenWatcom, use Makefile.os2:
wmake -f Makefile.os2 (read/edit Makefile.os2 as necessary.)
Installation
------------
To install the library and development components, just run:
# make install
as the superuser. This will install the shared and static libraries,
header file and pkg-config file into directories under /usr/local or a
different location selected with the --prefix option in configure.