chiark / gitweb /
a3fabc807e515e7353c3912b4e2701e6fb8711f8
[clg] / gdk / gdk.asd
1 ;;; -*- Mode: lisp -*-
2
3 (defpackage "GDK-SYSTEM"
4   (:use "COMMON-LISP" "ASDF" "PKG-CONFIG"))
5
6 (in-package "GDK-SYSTEM")
7
8 (pkg-exists-p "gdk-2.0" :atleast-version "2.4.0" :error t)
9
10 (defsystem gdk
11     :depends-on (gffi glib pango #?(pkg-exists-p "gdk-2.0" :atleast-version "2.8.0") cairo)
12     :components ((:file "defpackage")
13                  (:library "libgdk_pixbuf-2.0" 
14                   :libdir #.(pkg-libdir "gdk-2.0")
15                   :libname #-win32 "libgdk_pixbuf-2.0" 
16                            #+win32 "libgdk_pixbuf-2.0-0")
17                  (:library "libgdk-2.0" 
18                   :libdir #.(pkg-libdir "gdk-2.0")
19                   :libname #-win32 "libgdk-x11-2.0"
20                            #+win32 "libgdk-win32-2.0-0")
21                  (:shared-object "gdk-alien" :pathname "alien/"
22                   :ldflags #.(pkg-libs "gdk-2.0")
23                   :components ((:c-source-file "glue"
24                                 :cflags #.(pkg-cflags "gdk-2.0")))
25                   :depends-on (#+cmu "libgdk-2.0"))
26                  (:file "gdktypes" :depends-on ("defpackage" "gdk-alien" 
27                                                 "libgdk_pixbuf-2.0" 
28                                                 "libgdk-2.0"))
29                  (:file "gdkevents" :depends-on ("gdktypes"))
30                  (:file "pixbuf" :depends-on ("gdktypes"))
31                  (:file "gdk" :depends-on ("gdkevents"))
32                  (:file "export" :depends-on ("gdkevents" "gdktypes" "gdk"))))