pg.asd 1.03 KB
Newer Older
Eric Marsden's avatar
Eric Marsden committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
;;; -*- Mode: lisp -*-
;;
;; For CMUCL, ensure that the crypt library is loaded before
;; attempting to load the code. 

(in-package :asdf)

(defclass pg-component (cl-source-file)
  ())

#+cmu
(defmethod perform :before ((o load-op) (c pg-component))
  (ext:load-foreign "/usr/lib/libcrypt.a"))

(defsystem :pg
    :name "Socket-level PostgreSQL interface"
    :author "Eric Marsden"
18
    :version "0.21"
Eric Marsden's avatar
Eric Marsden committed
19
    :components ((:file "defpackage")
20
                 (:pg-component "sysdep" :depends-on ("defpackage"))
21 22 23
                 (:file "meta-queries" :depends-on ("defpackage"))
                 (:file "parsers" :depends-on ("defpackage"))
                 (:file "utility" :depends-on ("defpackage"))
24
                 (:file "lowlevel" :depends-on ("defpackage"))
25
                 (:file "pg" :depends-on ("sysdep" "parsers"))
26 27 28
                 (:file "large-object" :depends-on ("pg"))
                 (:file "v2-protocol" :depends-on ("pg" "large-object" "utility"))
                 (:file "v3-protocol" :depends-on ("pg" "large-object" "utility"))))
Eric Marsden's avatar
Eric Marsden committed
29