| 1 |
;;;; -*- Mode: Lisp; Syntax: Common-Lisp; indent-tabs-mode: nil; Package: C -*- |
| 2 |
;;;; vim: set filetype=lisp tabstop=8 shiftwidth=2 expandtab: |
| 3 |
|
| 4 |
;;;; |
| 5 |
;;;; Copyright (c) 2009, Juan Jose Garcia-Ripoll |
| 6 |
;;;; Copyright (c) 2023, Daniel Kochmański |
| 7 |
;;;; |
| 8 |
;;;; See the file 'LICENSE' for the copyright details. |
| 9 |
;;;; |
| 10 |
|
| 11 |
;;;; CMPPACKAGE -- Package definitions and exported symbols |
| 12 |
|
| 13 |
(defpackage "C" |
| 14 |
(:nicknames "ECL-CMP" "COMPILER") |
| 15 |
(:local-nicknames ("OP" "ECL-CMP/OP")) |
| 16 |
(:use "CL") |
| 17 |
(:import-from "EXT" "INSTALL-C-COMPILER") |
| 18 |
(:export |
| 19 |
;; Flags controlling the compiler behavior. |
| 20 |
"*COMPILER-BREAK-ENABLE*" |
| 21 |
"*COMPILE-PRINT*" |
| 22 |
"*COMPILE-VERBOSE*" |
| 23 |
"*COMPILER-FEATURES*" |
| 24 |
"*CC*" |
| 25 |
"*CC-OPTIMIZE*" |
| 26 |
"*USER-CC-FLAGS*" |
| 27 |
"*USER-LD-FLAGS*" ; deprecated |
| 28 |
"*USER-LINKER-FLAGS*" |
| 29 |
"*USER-LINKER-LIBS*" |
| 30 |
"*SUPPRESS-COMPILER-MESSAGES*" |
| 31 |
;; Build targets. BUILD-ECL is not defined, preasumbly it was meant |
| 32 |
;; for cross compilation. |
| 33 |
"BUILD-ECL" |
| 34 |
"BUILD-PROGRAM" |
| 35 |
"BUILD-FASL" |
| 36 |
"BUILD-STATIC-LIBRARY" |
| 37 |
"BUILD-SHARED-LIBRARY" |
| 38 |
;; Conditions (and their accessors). |
| 39 |
"COMPILER-WARNING" |
| 40 |
"COMPILER-NOTE" |
| 41 |
"COMPILER-MESSAGE" |
| 42 |
"COMPILER-ERROR" |
| 43 |
"COMPILER-FATAL-ERROR" |
| 44 |
"COMPILER-INTERNAL-ERROR" |
| 45 |
"COMPILER-UNDEFINED-VARIABLE" |
| 46 |
"COMPILER-MESSAGE-FILE" |
| 47 |
"COMPILER-MESSAGE-FILE-POSITION" |
| 48 |
"COMPILER-MESSAGE-FORM" |
| 49 |
;; Other operators. |
| 50 |
"INSTALL-C-COMPILER" |
| 51 |
"UPDATE-COMPILER-FEATURES")) |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
(ext:package-lock '#:cl nil) |