chiark / gitweb /
Force asdf to call the C source file blah.c, rather than just blah. I'm
[clg] / tools / clg-tools.asd
CommitLineData
0adab0e9 1;;; -*- Mode: lisp -*-
2
3(defpackage #:clg-tools
5ed2c9b4 4 (:use #:common-lisp #:asdf))
0adab0e9 5
6
7(in-package #:clg-tools)
8
6d0c1491 9#+clisp
52cc7506 10(unless custom:*parse-namestring-ansi*
11 (error "Standard behaviour of PARSE-NAMESTRING must be enabled by setting CUSTOM:*PARSE-NAMESTRING-ANSI* to non-NIL or running clisp with the -ansi option"))
0adab0e9 12
13(defsystem clg-tools
ee57d221 14 :depends-on (#+sbcl sb-posix)
fe1dd1b9 15 :components ((:file "utils")
ee57d221 16 (:file "config" :depends-on ("utils"))
a722521a 17 (:file "asdf-extensions" :depends-on ("utils" "config"))
fe1dd1b9 18 (:file "autoexport" :depends-on ("asdf-extensions"))))
c448f578 19
20
21
22;; For backward compatibility
f7d98088 23(let ((dir (asdf:component-pathname (asdf:find-system :clg-tools))))
24 (setf (logical-pathname-translations "clg")
b5ec56fe 25 `(("**;*.*.*" ,(make-pathname :directory (append (butlast (pathname-directory dir)) (list :wild-inferiors)) #+win32 :defaults #+win32 dir)))))