System.mk

From ASSS Wiki
Revision as of 18:49, 11 January 2005 by Smong (talk | contribs) (Build Options: added description)
Jump to: navigation, search

Build Options

If you want an optimized build, use "make opt=yes".
If you want a profiled build, use "make prof=yes".
If you want a _non_debug build, use "make debug=no".
If you want to link bdb statically, use "make link_db_statically=yes".

These are the default options:

debug = yes
opt = no
prof = no
link_db_statically = no

Library Options

have_bdb = yes
have_mysql = yes
have_python = yes

Library Paths

DB_HOME = /opt/db-4.0.14
MYSQL_HOME = /opt/mysql
MYSQL_LDFLAGS = -L$(MYSQL_LIB) -Wl,-rpath,$(MYSQL_LIB) -lmysqlclient_r
  • If you built MySQL without pthreads then change -lmysqlclient_r to -lmysqlclient.
PYTHON_HOME = /opt/python-2.2.2
PYTHON_VERSION = 2.2