;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: libraries.lisp,v 1.12 2003/08/27 20:00:21 kevin Exp $
+;;;; $Id: libraries.lisp,v 1.13 2003/08/27 20:02:59 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
#+sbcl
(let ((type (pathname-type (parse-namestring filename))))
(if (or (string-equal type "so")
+ (string-equal type "bundle")
(string-equal type "dylib"))
(sb-alien::load-1-foreign filename)
(sb-alien:load-foreign filename
# Programer: Kevin M. Rosenberg
# Date Started: Mar 2002
#
-# CVS Id: $Id: Makefile,v 1.21 2003/08/27 19:58:25 kevin Exp $
+# CVS Id: $Id: Makefile,v 1.22 2003/08/27 20:12:02 kevin Exp $
#
# This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
#
rm $(object)
mac:
- gcc -bundle -c $(source) -o $(object).dylib
- ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /usr/lib/libz.dylib -o z.dylib
+ gcc -bundle -c $(source) -o $(base).bundle
+ ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /usr/lib/libz.dylib -o z.bundle
mac-old:
cc -dynamic -c $(source) -o $(object)