%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/cedet/ede/ |
Current File : //usr/local/share/emacs/27.2/lisp/cedet/ede/proj-elisp.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\"\210\307\310\311\312!\"\210\307\313\314\312!\"\210\307\315\313\"\210\316\315\317\320#\210\321\312\322\313#\323\312\324\325\326$\207" [require ede/proj ede/pmake ede/pconf autoload semantic-ede-proj-target-grammar "semantic/ede-grammar" defalias ede-proj-target-elisp-p eieio-make-class-predicate ede-proj-target-elisp ede-proj-target-elisp--eieio-childp eieio-make-child-predicate ede-proj-target-elisp-child-p make-obsolete "use (cl-typep ... \\='ede-proj-target-elisp) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (ede-proj-target-makefile) ((menu :initform nil) (keybindings :initform nil) (phony :initform t) (sourcetype :initform '(ede-source-emacs)) (availablecompilers :initform '(ede-emacs-compiler ede-xemacs-compiler)) (aux-packages :initarg :aux-packages :initform nil :type list :custom (repeat string) :documentation "Additional packages needed.\nThere should only be one toplevel package per auxiliary tool needed.\nThese packages location is found, and added to the compile time\nload path.") (pre-load-packages :initarg :pre-load-packages :initform nil :type list :custom (repeat string) :documentation "Additional packages to pre-load.\nEach package name will be loaded with `require'.\nEach package's directory should also appear in :aux-packages via a package name.")) (:documentation "This target consists of a group of lisp files.\nA lisp target may be one general program with many separate lisp files in it.")] 6) #@60 Create a new object of class type `ede-proj-target-elisp'. (defalias 'ede-proj-target-elisp #[(&rest slots) "\301\302\303#\207" [slots apply make-instance ede-proj-target-elisp] 4 (#$ . 1945)]) (byte-code "\300\301\302\303#\300\207" [function-put ede-proj-target-elisp compiler-macro ede-proj-target-elisp--anon-cmacro] 4) (defalias 'ede-proj-target-elisp--anon-cmacro #[(whole &rest slots) "@;\204 \207\302\303\304@ @# @\305@DABB\"\207" [slots whole macroexp--warn-and-return format "Obsolete name arg %S to constructor %S" identity] 5]) (byte-code "\300\301\302\303\304\305%\210\300\306\304\307\304\310%\207" [cl-generic-define-method ede-proj-makefile-insert-rules (:after) ((this ede-proj-target-elisp)) nil #[(this) "\302\303\"\211\203 \304\305\302\306\"\307\310 \311##c\210)\312c\207" [this preloads eieio-oref pre-load-packages format "%s: PRELOADS=%s\n" name mapconcat identity " " "\n"] 8 "Insert rules needed by THIS target.\nThis inserts the PRELOADS target-local variable."] ede-proj-makefile-dependencies ((this ede-proj-target-elisp)) #[(this) "\301\302\303!\"\207" [this format "$(addsuffix c, $(%s))" ede-proj-makefile-sourcevar] 4 "Return a string representing the dependencies for THIS.\nSome compilers only use the first element in the dependencies, others\nhave a list of intermediates (object files), and others don't care.\nThis allows customization of how these elements appear.\nFor Emacs Lisp, return addsuffix command on source files."]] 6) #@36 Emacs Lisp source code definition. (defvar ede-source-emacs (ede-sourcecode :name "Emacs Lisp" :sourcepattern "\\.el$" :garbagepattern '("*.elc")) (#$ . 3430)) #@30 Compile Emacs Lisp programs. (defvar ede-emacs-compiler (byte-code "\300\301\302\303\304\305\306\307\310\311\312\305\313&C\314\315\316\317\320\321&\f\207" [ede-compiler :name "emacs" :variables (("EMACS" . "emacs") ("EMACSFLAGS" . "-batch --no-site-file --eval '(setq debug-on-error t)'") ("require" . "$(foreach r,$(1),(require (quote $(r))))")) :rules ede-makefile-rule :target "%.elc" :dependencies "%.el" ("$(EMACS) $(EMACSFLAGS) $(addprefix -L ,$(LOADPATH)) --eval '(progn $(call require, $(PRELOADS)))' -f batch-byte-compile $^") :autoconf ("AM_PATH_LISPDIR") :sourcetype (ede-source-emacs) :objectextention ".elc"] 13) (#$ . 3596)) #@42 Compile Emacs Lisp programs with XEmacs. (defvar ede-xemacs-compiler (clone ede-emacs-compiler :name "xemacs" :variables '(("EMACS" . "xemacs"))) (#$ . 4242)) (cl-generic-define-method 'ede-buffer-mine nil '((this ede-proj-target-elisp) buffer) t #[(#1=#:cl--cnm this buffer) "\304\305\306!\"\203 \307\306!!\310P\211\311\n\312\"\235)\207 \207" [buffer fname this #1# string-match "\\.elc$" buffer-file-name file-name-sans-extension ".el" eieio-oref auxsource] 5 "Return t if object THIS lays claim to the file in BUFFER.\nLays claim to all .elc files that match .el files in this target."]) #@53 Convert a list of PACKAGES, to a list of load path. (defalias 'ede-proj-elisp-packages-to-loadpath #[(packages) "\306\211\n\2039 \307\n@!\211\204 \310\311\n@\"\210\312!\313!\306\314\315\f\"\203* \206/ \f B\nA+\202 *\207" [ldir paths packages fnd rel full nil locate-library error "Cannot find package %s" file-name-directory file-relative-name string-match "^\\.\\./\\.\\./\\.\\./\\.\\./\\.\\."] 3 (#$ . 4844)]) (byte-code "\300\301\302\303\302\304%\210\300\305\302\306\307\310%\210\300\311\302\312\302\313%\207" [cl-generic-define-method project-compile-target nil ((obj ede-proj-target-elisp)) #[(obj) "\305!\306 \307\"\310\211\311\312\306\313\"\"\210\314\315\316!\"\210\f,B\207" [obj proj dir comp utd ede-target-parent eieio-oref directory 0 mapc #[(src) "\306 \"\307\n!\310P\f\311W\2030 \312!\203 \313\n\"\203' T\314\n!\202G T\211\202G \315\n\316\317#\320=\203A T\211\202G T\211*\207" [src dir fsrc elc emacs-major-version comp expand-file-name file-name-sans-extension ".elc" 24 file-exists-p file-newer-than-file-p byte-compile-file byte-recompile-file nil 0 t utd] 4] source message "All Emacs Lisp sources are up to date in %s" eieio-object-name] 6 "Compile all sources in a Lisp target OBJ.\nBonus: Return a cons cell: (COMPILED . UPTODATE)."] ede-update-version-in-source ((this ede-proj-target-elisp) version) t #[(#1=#:cl--cnm this version) "\306\307\"\205J \310\307\"\205J \310\307\"\311\211\203G r\312\313\n@\"!q\210eb\210\314\315\316\311\314#\203? \314\317\224\317\225|\210\317\224b\210\fc\210*\nA\211\204 *\207" [this match vs case-fold-search version #1# slot-boundp versionsource eieio-oref nil find-file-noselect ede-expand-filename t re-search-forward "-version\\s-+\"\\([^\"]+\\)\"" 1] 5 "In a Lisp file, updated a version string for THIS to VERSION.\nThere are standards in Elisp files specifying how the version string\nis found, such as a `-version' variable, or the standard header."] ede-proj-makefile-sourcevar ((this ede-proj-target-elisp)) #[(this) "\303 \203 \304\207\305 \302\"\306\307\n\"\203 \310\311\312\313\n$\202 \n*\314P\207" [this obj name ede-proj-automake-p ("lisp_LISP" . share) eieio-oref string-match "\\." replace-match "_" nil t "_LISP"] 5 "Return the variable name for THIS's sources."]] 6) #@65 Insert a sequence of ITEMS into the Makefile LOADPATH variable. (defalias 'ede-proj-makefile-insert-loadpath-items #[(items) "\205v \304\305\212db\210\306\307 \310Q\311\304#)\203? \312\225b\210\313 \210i\314W\2037 h\315U\204: h\316U\204: \317c\210\202: \320c\210\311\202D \321\261\210\212\306\310!)\203k \212\306\322\323@!\324Q\304#)\204d \317@\261\210A\211\204N )\n\203s \325c\210db*\207" [items v addcr begin t "LOADPATH" re-search-backward "^" "\\s-*=" nil 0 ede-pmake-end-of-variable 40 61 32 " " "\\\n " "=" "\\s-" regexp-quote "[ \n \\]" "\n"] 5 (#$ . 7149)]) (cl-generic-define-method 'ede-proj-makefile-insert-variables '(:after) '((this ede-proj-target-elisp)) nil #[(this) "\302\303\"\205 \304\302\303\"!\305 !)\207" [this newitems eieio-oref aux-packages ede-proj-elisp-packages-to-loadpath ede-proj-makefile-insert-loadpath-items] 4 "Insert variables needed by target THIS."]) #@56 Add path PATH into the file if it isn't already there. (defalias 'ede-proj-elisp-add-path #[(path) "eb\210\301\302\303!P\304\305#?\205% \301\306\304\305#\203\"