-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdaemonization.asd
62 lines (57 loc) · 2.75 KB
/
daemonization.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
;;;; daemonization.asd
;;;;
;;;; This file is part of the common lisp library - daemonization, released under Lisp-LGPL.
;;;; Based on restas-daemon.lisp (from contrib RESTAS system).
;;;; See file COPYING for details.
;;;;
;;;; Author: Katrevich Sergey <[email protected]>
(defsystem :daemonization
:version "0.0.1"
:depends-on (:sb-introspect ;:sb-debug
#+sbcl :sb-posix
#-sbcl #.(error "Not implemented for non sbcl lisp systems"))
:components ((:module "src"
:components ((:file "daemon-features")
(:file "daemon-logging")
(:file "daemon-share" :depends-on ("daemon-features" "daemon-logging"))
(:file "daemon-interfaces" :depends-on ("daemon-share"))
(:file "daemon-share-port" :depends-on ("daemon-share"))
#+(and linux sbcl)
(:file "daemon-sbcl-sys-linux-port" :depends-on ("daemon-share" "daemon-share-port"))
#+linux
(:file "daemon-unix-api-port" :depends-on ("daemon-share" "daemon-interfaces"
#+sbcl
"daemon-sbcl-sys-linux-port"
#-sbcl
#.(error "Not implemented for non sbcl lisp systems")))
#+linux
(:file "daemon-utils-linux-port" :depends-on ("daemon-share"
#+sbcl
"daemon-sbcl-sys-linux-port"
#-sbcl
#.(error "Not implemented for non sbcl lisp systems")
"daemon-unix-api-port"))
#+linux
(:file "daemon-core-linux-port" :depends-on ("daemon-share"
#+sbcl
"daemon-sbcl-sys-linux-port"
#-sbcl
#.(error "Not implemented for non sbcl lisp systems")
"daemon-unix-api-port"
"daemon-utils-linux-port"))
(:file "daemon-utils-port" :depends-on ("daemon-share"
#+linux "daemon-utils-linux-port"
#-linux (error "Not implemented on none Linux")
))
(:file "daemon-core-port" :depends-on ("daemon-share"
"daemon-utils-port"
#+linux "daemon-core-linux-port"
#-linux (error "Not implemented on none Linux")
))
(:file "daemon-logging-init" :depends-on ("daemon-share" "daemon-logging" "daemon-utils-port" "daemon-core-port"))
(:file "daemon-init" :depends-on ("daemon-logging-init" "daemon-core-port"))
#+linux
(:file "daemon-load-foreign-linux-port" :depends-on ("daemon-logging-init" "daemon-init"
"daemon-share" "daemon-share-port"))
(:file "daemonization" :depends-on ("daemon-share" "daemon-init" "daemon-core-port" "daemon-utils-port"))
(:file "daemonization-utils" :depends-on ("daemon-share" "daemon-init" "daemon-core-port" "daemon-utils-port"))))))