chiark / gitweb /
f56cde8b5ca9f6f414c5cc751c04c18e95fbfb4d
[clg] / gtk / gtk.asd
1 ;;; -*- Mode: lisp -*-
2
3 (asdf:oos 'asdf:load-op :clg-tools)
4
5 (defpackage "GTK-SYSTEM"
6   (:use "COMMON-LISP" "ASDF" "PKG-CONFIG"))
7
8 (in-package "GTK-SYSTEM")
9
10 (pkg-exists-p "gtk+-2.0" :atleast-version "2.4.0" :error t)
11
12 (defsystem gtk
13     :depends-on (gffi glib gdk pango atk)
14     :components ((:file "defpackage")
15                  (:library "libgtk-2.0" 
16                            :libdir #.(pkg-libdir "gtk+-2.0")
17                            :libname #-win32 "libgtk-x11-2.0"
18                                     #+win32 "libgtk-win32-2.0-0")
19                  (:unix-dso "alien"
20                             :ldflags #.(pkg-libs "gtk+-2.0")
21                             :components ((:c-source-file "glue"
22                                           :cflags #.(pkg-cflags "gtk+-2.0")))
23                             :depends-on (#+cmu "libgtk-2.0"))
24                  (:file "gtkobject" 
25                         :depends-on ("defpackage" "alien" "libgtk-2.0"))
26                  (:file "gtktypes" :depends-on ("gtkobject"))
27                  (:file "gtkwidget" :depends-on ("gtktypes"))
28                  (:file "gtkcontainer" :depends-on ("gtktypes"))
29                  (:file "gtktree" :depends-on ("gtktypes"))
30                  (:file "gtktext" :depends-on ("gtktypes"))
31                  (:file "gtkaction" :depends-on ("gtktypes" "gtk"))
32                  (:file "gtkselection" :depends-on ("gtktypes"))
33                  (:file "gtkstyle" :depends-on ("gtktypes"))
34                  (:file "gtk" :depends-on ("gtktypes" "gtkcontainer"))
35                  (:file "gtkutils" :depends-on ("gtk"))
36                  (:file "export" :depends-on ("gtktypes" "gtkwidget" "gtkcontainer" "gtk" "gtktree" "gtkaction" "gtkselection" "gtkutils" "gtkstyle"))))