annotate lisp/oobr/Makefile @ 100:4be1180a9e89 r20-1b2

Import from CVS: tag r20-1b2
author cvs
date Mon, 13 Aug 2007 09:15:11 +0200
parents 131b0175ea99
children 15872534500d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 # SUMMARY: Build OO-Browser directories and distributions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 # AUTHOR: Bob Weiner
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 # ORIG-DATE: 6-Oct-94 at 03:42:38
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
7 # LAST-MOD: 21-Feb-97 at 18:37:04 by Bob Weiner
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 # Copyright (C) 1994-1995 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 # See the file BR-COPY for license information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 # This file is part of the OO-Browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 # DESCRIPTION:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 # USAGE: Before doing your first make, edit the CONFIGURABLE SECTION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 # in the "Makefile". The only change you have to make is to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 # set the EMACS variable to point to the Emacs executable that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 # you want to use to byte-compile the OO-Browser Lisp files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 # Make this change now and save the file.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 # If you are running Emacs V18 or Epoch, you must first rebuild
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 # all byte-compiled Lisp files. Use:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 # make all-elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 # Then, whatever Emacs version you use, invoke:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 # make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 # Use these commands if you want to build graphical interfaces
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 # to the OO-Browser:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 # Build the X OO-Browser: make xoobr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 # If you want to rebuild the NEXTSTEP OO-Browser below the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 # "tree-nx" directory, you must use NeXT's ProjectBuilder.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 # Now the OO-Browser should be ready for use if you have
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 # followed the installation instructions in "BR-README".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 # -----------------
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 # To force rebuilding of all .elc files, even ones that are not
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 # out of date:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 # make all-elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 # To build the Info version of the OO-Browser:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 # make info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 # To build the Postscript version of the OO-Browser:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 # make ps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 # DESCRIP-END.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 # CONFIGURABLE SECTION #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 # Binaries for various versions of Emacs. Set 'EMACS' below to the one you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 # want to use to byte-compile Lisp files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 EMACS19 = emacs19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 EMACS18 = emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 EPOCH = epoch
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 INFODOCK = infodock.bin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 XEMACS = xemacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 # Emacs version used to byte-compile .el files into .elc's.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 EMACS = $(XEMACS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
68 # Where to install IDA logo image.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
69 datadir = ../../etc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 # Where to install the Info version of the OO-Browser manual.
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
71 infodir = ../../info
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
72 # Where to find the doc for the OO-Browser manual before installation.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
73 tar_mandir = man
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
74 # Where to find the .texi source for the OO-Browser manual after installation.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
75 mandir = ../../man
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 # Where to install the Texinfo version of the OO-Browser manual
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 # along with its im/ directory of images.
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
78 texidir = ../../man
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 # Site-specific Emacs Lisp libraries to load before byte-compiling any files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 # from this package. Typically the only reason to set this is to get Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 # to include the directory of this package into its load-path variable, which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 # determines where it will find Lisp library files to load.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 # InfoDock and XEmacs 19.12 or higher include this package and automatically
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 # add its directory to load-path. Under Emacs 19, if you add this directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 # to load-path in your site-lisp/site-start.el file, then you need not change
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 # this setting since site-start is automatically loaded whenever Emacs starts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 # up. If, however, you set load-path in your personal ~/.emacs file, you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 # must add that to this setting.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 # You must include the .el or .elc file suffix on each library name and each
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 # must be preceded by the `-l ' command-line flag. If the directory in which
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 # the library is stored will not be in your Emacs load-path when Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 # attempts to load the library, you must include the full pathname to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 # library. Here is an example setting.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 # SITE_PRELOADS = -l ~/.emacs -l set-load-path.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 SITE_PRELOADS =
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 # Temp file to use to build .elc files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 ELISP_TO_COMPILE = /tmp/elc-${USER}
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 # Shell used to process this Makefile. Bourne shell syntax is required.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 SHELL = /bin/sh
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 # UNIX commands you may want to change for your particular system.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 CP = \cp -p
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 DVIPS = \dvips
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 ETAGS = etags
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 INSTALL = install -c
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 MAKE = make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 MAKEINFO = \makeinfo --fill-column 74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 MKDIR = mkdir
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 MV = \mv -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 RM = \rm -f
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 TAR = tar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 # Directory in which to create new distributions of the OO-Browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 DIST_DIR = /tmp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 # NO CHANGES REQUIRED BELOW HERE #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 ##########################################################################
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
127 OOBR_VERSION = 2.10
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 # Libraries that must be pre-loaded before trying to byte-compile anything.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 PRELOADS = $(SITE_PRELOADS) -l ./br-start.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 # Compile in batch mode. Under Emacs 19 and XEmacs, load
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 # site-lisp/site-start.el, which may set load-path.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 BATCHFLAGS = -batch
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 # Directories other than the current directory in which to find files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 # This doesn't seem to work in all versions of make, so we also add hypb/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 # explicitly to those files which need it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 VPATH = hypb
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 HYPB_EL = hypb/h-skip-bytec.lsp hypb/hact.el hypb/hargs.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 hypb/hhist.el hypb/hmail.el hypb/hmouse-drv.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 hypb/hmouse-key.el hypb/hmous-info.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 hypb/hmouse-reg.el hypb/hmouse-sh.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 hypb/hpath.el hypb/hui-mouse.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 hypb/hui-window.el hypb/hvar.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 hypb/hversion.el hypb/hypb.el hypb/set.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 HYPB_ELC = hypb/hact.elc hypb/hargs.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 hypb/hhist.elc hypb/hmail.el hypb/hmouse-drv.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 hypb/hmouse-key.elc hypb/hmous-info.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 hypb/hmouse-reg.elc hypb/hmouse-sh.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 hypb/hpath.elc hypb/hui-mouse.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 hypb/hui-window.elc hypb/hvar.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 hypb/hversion.elc hypb/hypb.elc hypb/set.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 # Files from Hyperbole necessary for OO-Browser mouse support.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 HYPERBOLE = $(HYPB_EL) $(HYPB_ELC)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 EL_COMPILE = br-c-ft.el br-c++-ft.el br-c++.el br-clos-ft.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 br-clos.el br-compl.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 br-eif-ft.el br-eif.el br-env.el br-ftr.el br-info.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 br-init.el br-java.el br-java-ft.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 br-lib.el br-menu.el br-objc-ft.el \
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
165 br-objc.el br-python.el br-python-ft.el br-site.el br-vers.el \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 br-smt.el br-start.el br-tree.el br.el c++-browse.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 clos-brows.el eif-browse.el eif-calls.el eif-ise-er.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 hasht.el hmouse-br.el info-brows.el java-brows.el \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 objc-brows.el python-browse.el smt-browse.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 ELC_COMPILE = br-c-ft.elc br-c++-ft.elc br-c++.elc br-clos-ft.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 br-clos.elc br-compl.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 br-eif-ft.elc br-eif.elc br-env.elc br-ftr.elc br-info.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 br-init.elc br-java.elc br-java-ft.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 br-lib.elc br-menu.elc br-objc-ft.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 br-objc.elc br-python.elc br-python-ft.elc \
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
177 br-site.elc br-vers.elc \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 br-smt.elc br-start.elc br-tree.elc br.elc c++-browse.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 clos-brows.elc eif-browse.elc eif-calls.elc eif-ise-er.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 hasht.elc hmouse-br.elc info-brows.elc java-brows.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 objc-brows.elc python-browse.elc smt-browse.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 EL_TAGS = $(EL_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 .SUFFIXES: # Delete the default suffixes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 .SUFFIXES: .el .elc # Define the list of file suffixes to match to rules
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 # Build the OO-Browser for use in current directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 all: elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 doc: info ps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 xoobr:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 cd tree-x; make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 install: xoobr
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
198 $(MV) ida-logo.xpm $(datadir)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 # Install the X OO-Browser in its executable directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 cd tree-x; make install
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
201 cd $(tar_mandir); $(INSTALL) oo-browser.info* $(infodir); \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 $(INSTALL) oo-browser.texi $(texidir); \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 $(INSTALL) im $(texidir)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 # Record any .el files that need to be compiled.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 .el.elc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 @ echo $< >> $(ELISP_TO_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 # Compile all recorded .el files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 elc: elc-init $(ELC_COMPILE) $(HYPB_ELC)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 @- \test ! -f $(ELISP_TO_COMPILE) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 || (echo "These files will be compiled: " \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 && echo "`cat $(ELISP_TO_COMPILE)`" \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 && $(EMACS) $(BATCHFLAGS) $(PRELOADS) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 -f batch-byte-compile `cat $(ELISP_TO_COMPILE)`)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 @ $(RM) $(ELISP_TO_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 elc-init:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 @ $(RM) $(ELISP_TO_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 # Remove and then rebuild all byte-compiled .elc files for V19 Emacs, even
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 # those .elc files which do not yet exist.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 all-elc:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 $(RM) *.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 $(EMACS) $(BATCHFLAGS) $(PRELOADS) -f batch-byte-compile $(EL_COMPILE)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 # This target is used for background building of OO-Browser Environments.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 # Don't change the name of the target since it is used in "br-env.el".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 # Don't try to use this target manually unless you first set the following 2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 # environment variables:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 # OOBR_DIR = full pathname of the directory where the OO-Browser lives
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 # OOBR_ENV = full pathname of the Environment specification to build
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 oobr-env:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 cd $(OOBR_DIR); $(EMACS) $(BATCHFLAGS) $(PRELOADS) ${OOBR_ENV} -f br-env-batch-build
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
236 dvi: $(mandir)/oo-browser.dvi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
238 info: $(infodir)/oo-browser.info
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
240 ps: $(mandir)/oo-browser.ps
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
242 $(mandir)/oo-browser.dvi: $(mandir)/oo-browser.info
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
243 cd $(mandir); tex oo-browser.texi; texindex oo-browser.??; tex oo-browser.texi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
245 $(infodir)/oo-browser.info: $(mandir)/oo-browser.texi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
246 cd $(mandir); $(MAKEINFO) oo-browser.texi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
248 $(mandir)/oo-browser.ps: $(mandir)/oo-browser.texi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
249 make $(mandir)/oo-browser.dvi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
250 -$(RM) $(mandir)/oo-browser.ps
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
251 cd $(mandir); $(DVIPS) -o oo-browser.ps oo-browser.dvi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 tags: $(EL_TAGS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 $(ETAGS) $(EL_TAGS) tree-x/*.[ch] tree-nx/*.[mh]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 hypb-tags: $(EL_TAGS)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 cd $(DIST_DIR)/oobr; $(ETAGS) $(EL_TAGS) $(HYPB_EL) tree-x/*.[ch] tree-nx/*.[mh]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 clean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 $(RM) *.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 version:
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
263 fgrep $(OOBR_VERSION) BR-RELEASE br-vers.el $(mandir)/oo-browser.texi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 echo ""
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 # Don't use this target.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 bw-install:
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
268 cd /home/infodock/lisp/; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 tar zxvf /tmp/oo-browser-$(OOBR_VERSION).tar.gz; \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 cd oobr/; mv man/*.info* ../../info/; mv man/*.texi ../../man/; \
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
271 mv ida-logo.xpm $(datadir); rm -rf hypb man
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 dist: version elc info
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
274 echo "Ensure version # in br-vers.el and oo-browser.texi is up to date."
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 $(RM) -r $(DIST_DIR)/oobr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 cd ..; $(TAR) clf $(DIST_DIR)/br.tar oobr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 cd $(DIST_DIR); $(TAR) xf br.tar
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 cd $(DIST_DIR)/oobr; $(RM) -r hypb man/im; make distclean; \
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
279 mkdir hypb man man/im; chmod 755 hypb man man/im; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
280 $(CP) /home/infodock/man/im/oobr-* man/im/; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
281 $(CP) /home/infodock/man/oo-browser.texi man/; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
282 $(CP) /home/infodock/info/oo-browser.info* man/
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
283 $(CP) $(HYPERBOLE) $(DIST_DIR)/oobr/hypb/
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
284 $(CP) $(datadir)/ida-logo.xpm $(DIST_DIR)/oobr/
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 # This ver setup won't work under SunOS for some reason.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 # ver="`head -3 oobr/br-vers.el | tail -1 | sed -e 's/.*|//'`"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 cd $(DIST_DIR); $(RM) br.tar; \
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
288 $(TAR) -czlf oo-browser-$(OOBR_VERSION).tar.gz oobr
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 distclean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 -$(RM) TAGS core .place* .*~ *~ *\# *.orig *.rej .nfs*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 -cd tree-x; $(RM) .*~ *~ *\# *.orig *.rej *.o xoobr .nfs*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 -cd tree-nx; $(RM) -r .*~ *~ *\# *.orig *.rej obj* TreeView.app .nfs*
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents: 70
diff changeset
294 -cd $(tar_mandir); $(RM) oo-browser.?? oo-browser.dvi .*~ *~ *\# *.orig *.rej .nfs*