all: $(shared_lib)
$(shared_lib): $(source) Makefile
- CFLAGS="-I /usr/include/mysql -I /usr/local/include/mysql -I /sw/include/mysql -I /opt/local/include/mysql" LDFLAGS="-L/usr/local/lib/mysql -L/usr/lib/mysql -L/sw/lib -L/opt/local/lib/mysql -lmysqlclient" BASE=$(base) OBJECT=$(object) SOURCE=$(source) SHARED_LIB=$(shared_lib) sh make.sh
+ CFLAGS="-I /usr/local/include/mysql -I /usr/include/mysql -I /sw/include/mysql -I /opt/local/include/mysql" LDFLAGS="-L/usr/local/lib64/mysql -L/usr/lib/mysql -L/sw/lib -L/opt/local/lib/mysql -lmysqlclient" BASE=$(base) OBJECT=$(object) SOURCE=$(source) SHARED_LIB=$(shared_lib) sh make.sh
rm $(object)
.PHONY: distclean
(defparameter *mysql-library-candidate-directories*
`(,(pathname-directory *load-pathname*)
- "/opt/mysql/lib/mysql/" "/usr/local/lib/"
#+(or 64bit x86-64) "/usr/lib64/" #+(or 64bit x86-64) "/usr/local/lib64/mysql/"
- #+(or 64bit x86-64) "/usr/local/lib64/"
- #+(or 64bit x86-64) "/usr/local/lib64/mysql/"
-
+ "/opt/mysql/lib/mysql/" "/usr/local/lib/"
"/usr/lib/" "/usr/local/lib/mysql/" "/usr/lib/mysql/" "/mysql/lib/opt/" "/sw/lib/mysql/" "/opt/local/lib/mysql/"))
(defvar *mysql-library-candidate-drive-letters* '("C" "D" "E"))
(defvar *clsql-uffi-library-filename*
(uffi:find-foreign-library
- '(#+64bit "uffi64" "uffi")
+ '(#+(or 64bit x86-64) "uffi64" "uffi")
`(,clsql-uffi-system::*library-file-dir*
"/usr/lib/clsql/")
:drive-letters '("C")))