;ELC
;;; Compiled by LTX@Xue-LingTaos-MacBook-Pro.local on Wed Mar 16 23:10:47 2011
;;; from file /Users/LTX/Projects/Emacs/emacs/lisp/cedet/ede/proj-shared.el
;;; in Emacs version 24.0.50.1
;;; 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\307\310$\207" [require ede/pmake ede/proj-obj ede/proj-prog eieio-defclass ede-proj-target-makefile-shared-object (ede-proj-target-makefile-program) ((availablecompilers :initform '(ede-gcc-libtool-shared-compiler ede-g++-libtool-shared-compiler)) (availablelinkers :initform '(ede-cc-linker-libtool ede-g++-linker-libtool)) (ldflags :custom (repeat (string :tag "Libtool flag")) :documentation "Additional flags to add when linking this shared library.\nUse ldlibs to add addition libraries.")) ("This target generates a shared library.")] 5)
#@28 Compiler for C sourcecode.
(defvar ede-gcc-shared-compiler (clone ede-gcc-compiler "ede-c-shared-compiler" :name "gcc -shared" :variables '(("CC_SHARED" . "gcc") ("C_SHARED_COMPILE" . "$(CC_SHARED) -shared $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)")) :autoconf '("AC_PROG_LIBTOOL")) (#$ . 1163))
#@28 Compiler for C sourcecode.
(defvar ede-gcc-libtool-shared-compiler (byte-code "\301\302\303\304\305\306\307\310\311\312\313\314\315\307\316&C\317\320&\n\207" [ede-gcc-shared-compiler clone "ede-c-shared-compiler-libtool" :name "libtool" :variables (("LIBTOOL" . "libtool") ("LTCOMPILE" . "$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)") ("LTLINK" . "$(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -L. -o $@")) :rules ede-makefile-rule "cc-inference-rule-libtool" :target "%.o" :dependencies "%.c" ("@echo '$(LTCOMPILE) -o $@ $<'; \\" "$(LTCOMPILE) -o $@ $<") :autoconf ("AC_PROG_LIBTOOL")] 16) (#$ . 1465))
#@33 Linker needed for c++ programs.
(defvar ede-cc-linker-libtool (clone ede-cc-linker "ede-cc-linker-libtool" :name "cc shared" :sourcetype '(ede-source-c++) :variables '(("LIBTOOL" . "libtool") ("LTLINK" . "$(LIBTOOL) --tag=CPP --mode=link $(CPP) $(CFLAGS) $(LDFLAGS) -L. -o $@")) :commands '("$(LTLINK) -o $@ $^") :autoconf '("AC_PROG_LIBTOOL") :objectextention ".la") (#$ . 2111))
#@28 Compiler for C sourcecode.
(defvar ede-g++-shared-compiler (clone ede-g++-compiler "ede-c++-shared-compiler" :name "gcc -shared" :variables '(("CXX_SHARED" . "g++") ("CXX_SHARED_COMPILE" . "$(CXX_SHARED) -shared $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)")) :autoconf '("AC_PROG_LIBTOOL")) (#$ . 2498))
#@28 Compiler for C sourcecode.
(defvar ede-g++-libtool-shared-compiler (byte-code "\301\302\303\304\305\306\307\310\311\312\313\314\315\307\316&C\317\320&\n\207" [ede-g++-shared-compiler clone "ede-c++-shared-compiler-libtool" :name "libtool" :variables (("CXX" "g++") ("LIBTOOL" . "libtool") ("LTCOMPILE" . "$(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)")) :rules ede-makefile-rule "c++-inference-rule-libtool" :target "%.o" :dependencies "%.cpp" ("@echo '$(LTCOMPILE) -o $@ $<'; \\" "$(LTCOMPILE) -o $@ $<") :autoconf ("AC_PROG_LIBTOOL")] 16) (#$ . 2806))
#@33 Linker needed for c++ programs.
(defvar ede-g++-linker-libtool (clone ede-g++-linker "ede-g++-linker-libtool" :name "g++" :sourcetype '(ede-source-c++) :variables '(("LIBTOOL" . "libtool") ("LTLINK" . "$(LIBTOOL) --tag=CXX --mode=link $(CXX) $(CFLAGS) $(LDFLAGS) -L. -o $@")) :commands '("$(LTLINK) -o $@ $^") :autoconf '("AC_PROG_LIBTOOL") :objectextention ".la") (#$ . 3407))
(eieio-defmethod 'ede-proj-configure-add-missing '(((this ede-proj-target-makefile-shared-object)) #[(this) "\300\301 \302\"\205
\300\301 \303\"?\207" [ede-expand-filename ede-toplevel "ltconfig" "ltmain.sh"] 3 "Query if any files needed by THIS provided by automake are missing.
Results in --add-missing being passed to automake."]))
(eieio-defmethod 'ede-proj-makefile-insert-automake-pre-variables '(((this ede-proj-target-makefile-shared-object)) #[(this) "\303\304\212db\210\305\306\307Q\310\303#)\203;\311\225b\210\312 \210i\313W\2033h\314U\2046h\315U\2046\316c\210\2026\317c\210\310\202@\320\261\210\321\322
!\323Qc\210	\203O\324c\210db*\207" [v addcr this t "lib_LTLIBRARIES" re-search-backward "^" "\\s-*=" nil 0 ede-pmake-end-of-variable 40 61 32 " " "\\
   " "=" "lib" ede-name ".la" "
"] 4 "Insert bin_PROGRAMS variables needed by target THIS.
We aren't acutally inserting SOURCE details, but this is used by the
Makefile.am generator, so use it to add this important bin program."]))
(eieio-defmethod 'ede-proj-makefile-insert-automake-post-variables '(((this ede-proj-target-makefile-shared-object)) #[(this) "\300\207" [nil] 1 "Insert bin_PROGRAMS variables needed by target THIS.
We need to override -program which has an LDADD element."]))
(eieio-defmethod 'ede-proj-makefile-target-name '(((this ede-proj-target-makefile-shared-object)) #[(this) "\301\302!\303Q\207" [this "lib" ede-name ".la"] 3 "Return the name of the main target for THIS target."]))
(eieio-defmethod 'ede-proj-makefile-sourcevar '(((this ede-proj-target-makefile-shared-object)) #[(this) "\301\302!\303\"\304=\203\305\301\306\"\307Q\207\310 \207" [this eieio-oref ede-target-parent makefile-type Makefile\.am "lib" name "_la_SOURCES" call-next-method] 4 "Return the variable name for THIS's sources."]))
(provide 'ede/proj-shared)
