chiark / gitweb /
Changed filename of shared objects to be component name
[clg] / glib / glib.asd
CommitLineData
f11b84f6 1;;; -*- Mode: lisp -*-
2
3(asdf:oos 'asdf:load-op :clg-tools)
0811f929 4(asdf:oos 'asdf:load-op :gffi)
f11b84f6 5
6(defpackage "GLIB-SYSTEM"
9adccb27 7 (:use "COMMON-LISP" "ASDF" "PKG-CONFIG"))
f11b84f6 8
f11b84f6 9;;; Better put this in ~/.cmucl-init.lisp or some other file read at startup
10;; (setf
11;; (logical-pathname-translations "clg")
12;; '(("**;*.*.*" "/home/espen/src/clg/**/")))
13
f11b84f6 14(in-package "GLIB-SYSTEM")
15
0811f929 16(pkg-exists-p "glib-2.0" :atleast-version "2.4.0" :error t)
f204f1f5 17
f11b84f6 18(defsystem glib
0811f929 19 :depends-on (clg-tools gffi)
f11b84f6 20 :components ((:file "defpackage")
56a1f31a 21 ;; For preloading to work in glib 2.6, the library needs to
22 ;; be configured and build with '--disable-visibility'
23 (:unix-dso "preload"
24 :components ((:c-source-file "logging"
25 :cflags #.(pkg-cflags "glib-2.0"))))
bcf9b1af 26 (:library "libglib-2.0"
27 :libdir #.(pkg-libdir "glib-2.0")
28 :libname #-win32 "libglib-2.0"
29 #+win32 "libglib-2.0-0"
30 :depends-on ("preload"))
31 (:library "libgobject-2.0"
32 :libdir #.(pkg-libdir "glib-2.0")
33 :libname #-win32 "libgobject-2.0"
34 #+win32 "libgobject-2.0-0"
35 :depends-on ("libglib-2.0"))
73572c12 36 (:unix-dso "alien"
9719f56d 37 :components ((:c-source-file "gobject"
73572c12 38 :cflags #.(pkg-cflags "glib-2.0")))
39 :depends-on ("libgobject-2.0"))
0811f929 40 (:file "glib" :depends-on ("libglib-2.0" "defpackage"))
41 (:file "gtype" :depends-on ("alien" "libgobject-2.0" "glib"))
f11b84f6 42 (:file "gboxed" :depends-on ("gtype"))
43 (:file "genums" :depends-on ("gtype"))
44 (:file "gparam" :depends-on ("genums"))
f11b84f6 45 (:file "gobject" :depends-on ("gparam"))
a3259739 46 (:file "ginterface" :depends-on ("gobject"))
9719f56d 47 (:file "gcallback" :depends-on ("gtype" "gparam" "gobject"))
22fc11df 48 (:file "gerror" :depends-on ("gcallback"))))