Eliminate the separately maintained Lisp system version number.
[sod] / src / sod-frontend.asd.in
diff --git a/src/sod-frontend.asd.in b/src/sod-frontend.asd.in
new file mode 100644 (file)
index 0000000..b81fd2d
--- /dev/null
@@ -0,0 +1,61 @@
+;;; -*-lisp-*-
+;;;
+;;; System definition for the Sensible Object Design front end
+;;;
+;;; (c) 2015 Straylight/Edgeware
+;;;
+
+;;;----- Licensing notice ---------------------------------------------------
+;;;
+;;; This file is part of the Sensble Object Design, an object system for C.
+;;;
+;;; SOD is free software; you can redistribute it and/or modify
+;;; it under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 2 of the License, or
+;;; (at your option) any later version.
+;;;
+;;; SOD is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with SOD; if not, write to the Free Software Foundation,
+;;; Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+(cl:defpackage #:sod-sysdef
+  (:use #:common-lisp #:asdf))
+
+(cl:in-package #:sod-sysdef)
+
+#|@-auto-@|# (load "auto.lisp")
+
+;;;--------------------------------------------------------------------------
+;;; Definition.
+
+(defsystem sod-frontend
+
+  ;; Boring copyright stuff.
+  :version #.*sysdef-version*
+  :author "Mark Wooding"
+  :license "GNU General Public License, version 2 or later"
+  #|@-path-@|# :pathname "@srcdir@"
+
+  ;; Documentation.
+  :description "A Sensible Object Design for C, command-line frontend."
+
+  :long-description
+  "The Sensible Object Design (SOD) is a fairly simple, yet powerful object
+   system for plain old C.
+
+   This system provides a command-line interface to the SOD translator.  It's
+   a separate system because it has additional dependencies and
+   Lisp-system-specific code."
+
+  :depends-on ("cl-launch" "sod")
+
+  :components
+  ((:file "optparse")
+   (:file "frontend" :depends-on ("optparse"))))
+
+;;;----- That's all, folks --------------------------------------------------