Difference between revisions of "System.mk"

From ASSS Wiki
Jump to: navigation, search
(ASSS Makefile)
 
m (Formatting)
Line 1: Line 1:
 
== Build Options ==
 
== Build Options ==
  
debug = yes<br>
+
<pre>
opt = no<br>
+
debug = yes
prof = no<br>
+
opt = no
link_db_statically = no<br>
+
prof = no
 +
link_db_statically = no
 +
</pre>
  
 
== Library Options ==
 
== Library Options ==
  
have_bdb = yes<br>
+
<pre>
have_mysql = yes<br>
+
have_bdb = yes
have_python = yes<br>
+
have_mysql = yes
 +
have_python = yes
 +
</pre>
  
 
== Library Paths ==
 
== Library Paths ==
  
DB_HOME = /opt/db-4.0.14<br>
+
<pre>
MYSQL_HOME = /opt/mysql<br>
+
DB_HOME = /opt/db-4.0.14
 +
MYSQL_HOME = /opt/mysql
 
MYSQL_LDFLAGS = -L$(MYSQL_LIB) -Wl,-rpath,$(MYSQL_LIB) -lmysqlclient_r
 
MYSQL_LDFLAGS = -L$(MYSQL_LIB) -Wl,-rpath,$(MYSQL_LIB) -lmysqlclient_r
 
+
</pre>
* If you built MySQL without pthreads then change '''-lmysqlclient_r'''' to '''-lmysqlclient'''.
+
* If you built MySQL without pthreads then change '''-lmysqlclient_r''' to '''-lmysqlclient'''.
 
+
<pre>
PYTHON_HOME = /opt/python-2.2.2<br>
+
PYTHON_HOME = /opt/python-2.2.2
 
PYTHON_VERSION = 2.2
 
PYTHON_VERSION = 2.2
 +
</pre>

Revision as of 17:17, 11 January 2005

Build 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