summaryrefslogtreecommitdiff
path: root/objective-cl.asd
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-07 22:42:08 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-07 22:42:08 +0100
commite4d204992b16d46394234cc11227971c3b077021 (patch)
tree5f0ecd97141d0d6e608d00c14867f1322101931d /objective-cl.asd
parenta4b4371590987eb1288aa8370c9a546812ac2cca (diff)
Prepare the build system for separate compilation of libobjcl.
darcs-hash:8bbbddc21828e04ddbf1a075f7186774a7d1c57d
Diffstat (limited to 'objective-cl.asd')
-rw-r--r--objective-cl.asd20
1 files changed, 17 insertions, 3 deletions
diff --git a/objective-cl.asd b/objective-cl.asd
index ba2d01e..9461373 100644
--- a/objective-cl.asd
+++ b/objective-cl.asd
@@ -1,5 +1,5 @@
;;;; Objective-CL, an Objective-C bridge for Common Lisp.
-;;;; Copyright (C) 2007 Matthias Andreas Benkard.
+;;;; Copyright (C) 2007, 2008 Matthias Andreas Benkard.
;;;;
;;;; This program is free software: you can redistribute it and/or
;;;; modify it under the terms of the GNU General Public License as
@@ -17,13 +17,27 @@
(defvar asdf::*objcl-version* "0.2.1")
+
+#+@use-prebuilt-objective-cl@
+(progn
+ (defpackage #:objcl-asdf
+ (:use #:cl #:asdf)
+ (:export #:objc-source-file
+ #:*objc-obj-dir*))
+
+ (in-package #:objcl-asdf)
+ (defvar *objc-obj-dir*
+ @prebuilt-objective-cl-location@)
+ (in-package #:asdf))
+
+
(defsystem "objective-cl"
:description "A portable Objective C bridge."
:version asdf::*objcl-version*
:author "Matthias Benkard <matthias@benkard.de>"
:licence "GNU Lesser General Public License, version 3 or higher"
- :depends-on (#:cffi #:trivial-garbage #:split-sequence #:objective-cl-libobjcl
- #:closer-mop)
+ :depends-on (#:cffi #:trivial-garbage #:split-sequence #:closer-mop
+ #-@use-prebuilt-objective-cl@ #:objective-cl-libobjcl)
:components
((:module "Lisp"
:components ((:file "defpackage")