Debian Codegraph @

INSTALL

raw
1 Installation:
2 -------------
3 Refer to the appropriate generic INSTALL files for your build system:
4
5 INSTALL.unix All UNIX builds, including cygwin
6 INSTALL.win32 Microsoft Visual C++ builds
7 INSTALL.dos WATCOM C/C++ builds
8
9 Appendix to 'INSTALL.dos':
10 --------------------------
11 The build instructions of the WATCOM build are generic and generated
12 automatically. They assume that the main Makefile would be called
13 'Makefile'. This isn't the case for AdPlug's WATCOM build! AdPlug's
14 WATCOM Makefile is called 'Makefile.wat'. Thus, you have to give the
15 commandline option '/f Makefile.wat' every time you run a 'wmake'
16 command. For example, to install AdPlug, call wmake like this:
17
18 wmake /f Makefile.wat install
19
20 Do this similary with any other 'wmake' target.
21
22 Appendix to 'INSTALL.unix':
23 ---------------------------
24
25 This project depends on GNU Autotools (autoconf, automake, libtool,
26 and gettext), texinfo, and pkg-config.
27
28 Steps to build:
29
30 autoreconf --install
31 ./configure --enable-maintainer-mode
32 make
33 make install
34
35 Notes:
36
37 --enable-maintainer-mode generates some missing files, and is
38 currently recommended by the dev team.
39
40 Extra setup for DOS and Windows builds:
41 ---------------------------------------
42 After you've done all steps from 'INSTALL.dos' or 'INSTALL.win32', you
43 have to copy the file 'binio.h.in' to 'binio.h' (maybe overwriting it)
44 in the 'src' subdirectory and then open it ('binio.h'). Set all
45 #define's in the configuration section of the file to your preferred
46 settings. All items are documented.
47
48 Next, substitute the biggest (in size of bytes, as returned by the
49 sizeof() operator) standard integer and floating-point types for
50 @TYPE_INT@ and @TYPE_FLOAT@, respectively. Most of the time, you would
51 just substitute 'long' for @TYPE_INT@ and 'double' for @TYPE_FLOAT@,
52 but some compilers have even longer types, like 'long long' and 'long
53 double'. If your compiler supports one of those, you can substitute
54 them instead to be able to access even longer sections within your
55 binary streams.