Add prompt stack for recursive minibuffer
[sxemacs] / modules / Makefile.am
1 ## SXEmacs Makefile.am
2
3 ## Copyright (C) 2007 Steve Youngs.
4
5 ## This file is part of SXEmacs.
6
7 ## SXEmacs is free software: you can redistribute it and/or modify it
8 ## under the terms of the GNU General Public License as published by the
9 ## Free Software Foundation, either version 3 of the License, or (at your
10 ## option) any later version.
11
12 ## SXEmacs is distributed in the hope that it will be
13 ## useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 ## General Public License for more details.
16
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program.  If not, see <http://www.gnu.org/licenses/>. 
19
20 ## Process this file with automake to produce Makefile.in
21
22 # Help the Developers and yourself. Just use the C locale and settings
23 # for the compilation. They can still be overriden by make LANG=<whatever>
24 # but that is general a not very good idea
25 LANG=C
26 LC_ALL=C
27
28 builddir = @builddir@
29 srcdir = @srcdir@
30 top_builddir = @top_builddir@
31 top_build_prefix = $(top_builddir)/
32 top_srcdir = @top_srcdir@
33 abs_builddir = @abs_builddir@
34 abs_top_builddir = @abs_top_builddir@
35 abs_top_srcdir = @abs_top_srcdir@
36
37 ETAGS = $(top_builddir)/lib-src/etags
38 TAGS_DEPENDENCIES = $(ETAGS)
39
40 sxesrcdir = $(top_srcdir)/src
41 bldsrcdir = $(top_builddir)/src
42 sxelispdir = $(abs_top_srcdir)/lisp
43 bldlispdir = $(abs_top_builddir)/lisp
44
45 sitemodule_DATA = 
46
47 EXTRA_DIST = autogen.sh
48 SUBDIRS = 
49 if DESCEND_ASE
50 SUBDIRS += ase
51 endif
52 if DESCEND_CL
53 SUBDIRS += cl
54 endif
55 ## ldap is fucking broken, we dont add it
56
57 ### handled in master Makefile.am
58 ##if !AUTARKIC
59 #module_DATA = auto-autoloads.el auto-autoloads.elc
60 ##endif
61
62 CLEANFILES = auto-autoloads.el* stage1 stage2
63
64 SXEMACS = $(top_builddir)/src/sxemacs
65 BITCH = $(SXEMACS) -batch
66 BITCHENV = EMACSPACKAGEPATH= SOURCE_TREE_ROOT=$(abs_top_srcdir) BUILD_TREE_ROOT=$(abs_top_builddir)
67 BATCH = $(BITCHENV) $(BITCH)
68 PUREBATCH = $(BITCHENV) $(PITCH)
69
70 auto-autoloads.el: $(SXEMACS)
71         @touch $@
72
73
74 SUFFIXES = .el .elc
75 .el.elc: $(SXEMACS)
76         $(BATCH) -vanilla -l bytecomp -f batch-byte-compile-one-file-here $<
77
78 #stage1: all-am
79 #       @touch $@
80 #
81 #stage2: stage1 auto-autoloads.el
82 #       @touch $@
83 #
84 #all: stage1 stage2