chiark / gitweb /
Should build everything now
[clg] / clg.system
CommitLineData
0d07716f 1;;; -*- Mode: lisp -*-
2
3(setf
4 (logical-pathname-translations "clg")
5 '(("**;*.*.*" "/home/espen/src/clg/**/*.*.*")))
6(setq mk::*cmu-errors-to-file* nil)
45eacdd2 7(push '(:PKG_CONFIG_PATH . "/opt/gnome/lib/pkgconfig") ext:*environment-list*)
0d07716f 8
9(load "clg:tools;config")
10(load "clg:tools;sharedlib")
11
12(import 'alien:load-shared-library)
13
14(eval
15 `(mk:defsystem clg
16 :source-pathname "clg:"
17 :binary-pathname "clg:"
18 :components
19 ((:module tools
20 :components ("autoexport"))
45eacdd2 21 (:file "pcl" :source-pathname "glib;" :binary-pathname "glib;")
0d07716f 22 (:module glib
23 :initially-do
24 (progn
45eacdd2 25 (load-shared-library "libglib-1.3.so.5")
26 (load-shared-library "libgobject-1.3.so.5" :init "g_type_init"))
0d07716f 27 :components
552f98a1 28 ((:file "callback"
29 :language :c
30 :compiler-options
5ea59051 31 (:cflags ,(pkg-cflags "glib-2.0")
552f98a1 32 :optimize 2
33 :definitions (#+cmu CMUCL)
34 :include-paths ("/usr/src/cmucl-2.4.20/src/lisp")))
35 (:file "glib-package")
0d07716f 36 (:file "gutils" :depends-on ("glib-package"))
37 (:file "gforeign" :depends-on ("gutils"))
38 (:file "glib" :depends-on ("gforeign"))
5ea59051 39 (:file "proxy" :depends-on ("glib"))
40 (:file "gtype" :depends-on ("proxy"))
41 (:file "gboxed" :depends-on ("gtype"))
552f98a1 42 (:file "gcallback" :depends-on ("gtype" "gparam" "callback"))
5ea59051 43 (:file "genums" :depends-on ("gtype"))
44 (:file "gparam" :depends-on ("genums"))
45 (:file "gobject" :depends-on ("gparam"))
552f98a1 46 (:file "glib-export"
5ea59051 47 :depends-on
48 ("gutils" "glib" "proxy" "gboxed" "gtype" "gparam" "gcallback"
49 "genums" "gobject")))
45eacdd2 50 :depends-on (tools "pcl"))
0d07716f 51 (:file "gdkglue"
52 :source-pathname "gdk;"
53 :binary-pathname "gdk;"
54 :initially-do
55 (progn
45eacdd2 56 (load-shared-library "libgdk_pixbuf-1.3.so.5")
57 (load-shared-library "libgdk-x11-1.3.so.5"
5ea59051 58 :init "gdk_init"
0d07716f 59 :prototype '(function
60 c-call:void
61 alien:system-area-pointer
62 alien:system-area-pointer)
63 :initargs (list (system:int-sap 0) (system:int-sap 0))))
64 :language :c
5ea59051 65 :compiler-options (:cflags ,(pkg-cflags "gtk+-2.0")
66 :optimize 2))
0d07716f 67 (:module gdk
5ea59051 68 :components
69 ((:file "gdk-package")
70 (:file "gdk-export" :depends-on ("gdkevents" "gdktypes" "gdk"))
71 (:file "gdktypes" :depends-on ("gdk-package"))
72 (:file "gdkevents" :depends-on ("gdktypes"))
73 (:file "gdk" :depends-on ("gdkevents")))
74 :depends-on (glib "gdkglue"))
45eacdd2 75 (:module pango
76 :initially-do (load-shared-library "libpango-0.16.so")
77 :components
78 ((:file "pango-package")
79 (:file "pango" :depends-on ("pango-package"))
80 (:file "pango-export" :depends-on ("pango")))
81 :depends-on (glib))
0d07716f 82 (:file "gtkglue"
83 :source-pathname "gtk;"
84 :binary-pathname "gtk;"
5ea59051 85 :initially-do
86 (progn
87 (load-shared-library
45eacdd2 88 "libgtk-x11-1.3.so.5"
5ea59051 89 :init "gtk_init"
90 :prototype '(function
91 c-call:void
92 alien:system-area-pointer
93 alien:system-area-pointer)
94 :initargs (list (system:int-sap 0) (system:int-sap 0))))
0d07716f 95 :language :c
5ea59051 96 :compiler-options (:cflags ,(pkg-cflags "gtk+-2.0")
0d07716f 97 :optimize 2
98 :definitions (#+cmu CMUCL)
99 :include-paths ("/usr/lib/cmucl")))
100 (:module gtk
101 :components
102 ((:file "gtk-package")
57398331 103 (:file "gtk-export" :depends-on ("gtktypes" "gtk"))
45eacdd2 104 (:file "gtkobject" :depends-on ("gtk-package"))
105 (:file "gtktypes" :depends-on ("gtkobject"))
106 (:file "gtkwidget" :depends-on ("gtktypes"))
107 (:file "gtkcontainer" :depends-on ("gtktypes"))
57398331 108 (:file "gtk" :depends-on ("gtktypes"))
109 (:file "gtkutils" :depends-on ("gtk")))
45eacdd2 110 :depends-on (glib gdk pango "gtkglue")))))
0d07716f 111
856e2b87 112
113