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
|
Makefile documentation by Steve "Stevers!" Coile <scoile@patriot.net>
BIN should identify the full specification of the directory in which
the command executables should be placed.
SBIN should identify the full specification of the directory in which
the system executables (daemons)should be placed.
CFLAGS should contain compiler command-line debug switches. Typically,
the "-g" switch instructs the compiler to preserve symbol information
and suppresses optimization. Setting CFLAGS to "-O2" maximizes
optimization and will make symbolic debugging impossible. The "-g"
and "-O" switches are mutually exclusive. "-O2" is probably a better
choice if you aren't actively working on server development.
DBM should identify which DBM implementation your system provides as a
compiler command-line macro definition switch. Only "-DDBM" (standard
BSD dbm) and "-DNDBM" (ndbm) are supported. If it's available to you,
using an ndbm implementation is probably a better choice.
DBMLIB should identify the library containing the DBM implementation
as a linker command-line library specification switch. "-ldb" or
"-lgdbm" are typical values.
LIBS should identify the library containing the shadow password
support routines as a linker command-line library specification switch.
"-lshadow" is a typical value on systems that support shadow passwords
and don't have the shadow support routines integrated into libc or
another default library. This parameter need only be defined if your
system supports shadow passwords.
|