2 # SUMMARY: Build OO-Browser Environments in batch/background modes.
6 # The Force for Open Source(TM)
8 # Web: www.beopen.com - Learn all about Open Source.
9 # E-mail: <info@beopen.com>
11 # ORIG-DATE: 6-Oct-94 at 03:42:38
12 # LAST-MOD: 9-Jun-99 at 18:02:52 by Bob Weiner
14 # Copyright (C) 1994-1999 BeOpen.com
15 # See the file BR-COPY for license information.
17 # This file is part of the OO-Browser.
21 # USAGE: Called from "br-env.el". Do not try to call any targets in here
22 # by hand unless you understand how to set things up by hand.
24 # make -f Env-Make oo-browser-env
26 # make -f Env-Make oo-browser-env-debug
28 # The latter target is for debugging background building.
32 ##########################################################################
33 # CONFIGURABLE SECTION #
34 ##########################################################################
36 # Binaries for various versions of Emacs. Set 'EMACS' below to the one you
37 # want to use to byte-compile Lisp files.
40 INFODOCK = infodock.bin
43 # Emacs version used to byte-compile .el files into .elc's.
46 # Site-specific Emacs Lisp libraries to load before byte-compiling any files
47 # from this package. Typically the only reason to set this is to get Emacs
48 # to include the directory of this package into its load-path variable, which
49 # determines where it will find Lisp library files to load.
51 # InfoDock and XEmacs 19.12 or higher include this package and automatically
52 # add its directory to load-path. Under Emacs 19, if you add this directory
53 # to load-path in your site-lisp/site-start.el file, then you need not change
54 # this setting since site-start is automatically loaded whenever Emacs starts
55 # up. If, however, you set load-path in your personal ~/.emacs file, you
56 # must add that to this setting.
58 # You must include the .el or .elc file suffix on each library name and each
59 # must be preceded by the `-l ' command-line flag. If the directory in which
60 # the library is stored will not be in your Emacs load-path when Emacs
61 # attempts to load the library, you must include the full pathname to the
62 # library. Here is an example setting.
64 # SITE_PRELOADS = -l ~/.emacs -l set-load-path.el
68 # Shell used to process this Makefile. Bourne shell syntax is required.
71 ##########################################################################
72 # NO CHANGES REQUIRED BELOW HERE #
73 ##########################################################################
75 # Libraries that must be pre-loaded before trying to byte-compile anything.
76 PRELOADS = $(SITE_PRELOADS) -l ./br-start.elc -l ./br-env.elc
78 # Compile in batch mode. Under Emacs 19 and XEmacs, load
79 # site-lisp/site-start.el, which may set load-path.
82 # This target is used for background building of OO-Browser Environments.
83 # Don't change the name of the target since it is used in "br-env.el".
84 # Don't try to use this target manually unless you first cd to the directory
85 # where the OO-Browser program code lives and set the following 2 environment
87 # OO_BROWSER_ENV = space-separated Environment specification pathnames to build
88 # EMACSLOADPATH = colon separated string of Emacs Lisp directories,
89 # including the ones for the OO-Browser and Hyperbole
92 $(EMACS) $(BATCHFLAGS) $(PRELOADS) ${OO_BROWSER_ENV} -f br-env-batch-build
94 # This target presently works under InfoDock and XEmacs only.
95 # It is used to debug background building of environments when necessary.
97 $(EMACS) $(BATCHFLAGS) $(PRELOADS) ${OO_BROWSER_ENV} \
98 -eval "(call-with-condition-handler 'really-early-error-handler 'br-env-batch-build)"