chiark / gitweb /
Removed unused code
[clg] / glib / glib.asd
CommitLineData
f11b84f6 1;;; -*- Mode: lisp -*-
2
3(asdf:oos 'asdf:load-op :clg-tools)
4
5(defpackage "GLIB-SYSTEM"
9adccb27 6 (:use "COMMON-LISP" "ASDF" "PKG-CONFIG"))
f11b84f6 7
73572c12 8#+cmu(ext:unlock-all-packages)
9#+sbcl
10(progn
11 (sb-ext:unlock-package "COMMON-LISP")
12 (sb-ext:unlock-package "SB-PCL"))
f11b84f6 13
14;;; Better put this in ~/.cmucl-init.lisp or some other file read at startup
15;; (setf
16;; (logical-pathname-translations "clg")
17;; '(("**;*.*.*" "/home/espen/src/clg/**/")))
18
f11b84f6 19(in-package "GLIB-SYSTEM")
20
21(pkg-exists-p "glib-2.0" :atleast-version "2.4.0")
22
23(defvar *cmucl-include-path* "/usr/lib/cmucl/include")
f11b84f6 24
f11b84f6 25
26(defsystem glib
27 :depends-on (clg-tools)
28 :components ((:file "defpackage")
73572c12 29 #+cmu(:file "pcl")
a3259739 30 (:library "libglib-2.0"
73572c12 31 :libdir #.(pkg-variable "glib-2.0" "libdir"))
a3259739 32 (:library "libgobject-2.0"
33 :libdir #.(pkg-variable "glib-2.0" "libdir")
34 :depends-on ("libglib-2.0"))
73572c12 35 (:unix-dso "alien"
36 :components ((:c-source-file "callback"
37 :cflags #.(pkg-cflags "glib-2.0"))
38 (:c-source-file "gobject"
39 :cflags #.(pkg-cflags "glib-2.0")))
40 :depends-on ("libgobject-2.0"))
f11b84f6 41 (:file "utils" :depends-on ("defpackage"))
a3259739 42 (:file "ffi" :depends-on ("utils"))
43 (:file "glib" :depends-on ("ffi" "libglib-2.0"))
73572c12 44 (:file "proxy" :depends-on (#+cmu"pcl" "glib"))
45 (:file "gtype" :depends-on ("proxy" "alien" "libgobject-2.0"))
f11b84f6 46 (:file "gboxed" :depends-on ("gtype"))
47 (:file "genums" :depends-on ("gtype"))
48 (:file "gparam" :depends-on ("genums"))
f11b84f6 49 (:file "gobject" :depends-on ("gparam"))
a3259739 50 (:file "ginterface" :depends-on ("gobject"))
f11b84f6 51 (:file "gcallback" :depends-on ("gtype" "gparam" "gobject" "alien"))
52 (:file "export" :depends-on ("utils" "glib" "proxy" "gboxed" "gtype" "gparam" "gcallback" "genums" "gobject"))))