File: Makefile

package info (click to toggle)
emacspeak 7.0-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,980 kB
  • ctags: 1,977
  • sloc: lisp: 19,030; perl: 548; makefile: 525; sh: 419
file content (640 lines) | stat: -rw-r--r-- 20,437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
# $Id: Makefile,v 7.0 1997/11/13 15:32:30 raman Exp $
# $Author: raman $ 
# Description:  Makefile for Emacspeak 
# Keywords: Emacspeak, Dectalk, Makefile 
# {{{ LCD Entry: 

# LCD Archive Entry:
# emacspeak| T. V. Raman |raman@adobe.com 
# A speech interface to Emacs |
# $Date: 1997/11/13 15:32:30 $ |
#  $Revision: 7.0 $ | 
# Location undetermined
#

# }}}
# {{{ Copyright:  

#Copyright (C) 1995, 1996, 1997  T. V. Raman  Adobe Systems Incorporated

# Copyright (c) 1994, 1995 by Digital Equipment Corporation.
# All Rights Reserved. 
#
# This file is not part of GNU Emacs, but the same permissions apply.
#
# GNU Emacs is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Emacs; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

# }}}
# {{{ Installation instructions:

                # Set some Make  configuration variables here.
# If you have a Dectalk connected to a serial port, for example, /dev/tty00 
# specify it in the following line:
DECTALK = > /dev/null 
# and the installation will give you spoken feedback.
# Alternately, you can specify this on the make command line as in
#    make "DECTALK =>/dev/tty00"
# Note: (the above is only for spoken feedback during compilation.)
# If you're reading this, then you've already unpacked the tar archive
# and extracted the sources in a directory.
# cd to the  directory where you placed the sources.
# This directory is referred to henceforth as EMACSPEAK_DIR.
# and then type
#    make config
# Now type
#    make emacspeak 
# to compile the files, then (as superuser)
#    make install
# to install them.
#
# By default, files are installed in subdirectories of /usr --
# that is, executables in /usr/bin, .info files in
# /usr/info, and compiled files in /usr/share/lib/emacs/site-lisp/emacspeak. 
# If you want them somewhere else, you may add a "PREFIX=" parameter to all
# make commands.  For example, to place files in subdirectories /usr
# instead of /usr, use these commands:
#    make PREFIX=/usr install
#
#Note: The intent is to place emacspeak in a subdirectory of site-lisp.
#Newer emacsuns have this under /usr/local/share (or /usr/share)
#older emacsuns used /usr/local/lib/...
# emacspeak uses tclx --extended tcl-- for the synthesizer driver.
# Note:  Extended TCL  --tclx-- is *not* tclsh
# Setting up synthesizer driver:
# Emacspeak comes with two drivers written in TCL:
# 1) dtk-exp for the Dectalk Express
# 2) dtk-mv for the MultiVoice and older Dectalk 3 synthesizers
# emacspeak uses the shell environment variable DTK_PROGRAM to determine 
# which driver to use, and the shell environment variable DTK_PORT
# to determine the port where the Dectalk is connected. 
# Examples: If using csh or tcsh 
#    setenv DTK_PROGRAM "dtk-exp"
# or if using bash
#    export DTK_PROGRAM=dtk-exp
# By default the port is /dev/tty00 on ultrix/osf1, and /dev/ttyS0 on linux.
#
# Finally, make sure that tcl  is present in your search path by typing 
#    which tcl
# Assuming you're using dtk-exp: 
# Check that the dtk-exp can be run by typing
#    tcl <emacspeak-dir>/dtk-exp 
# You should hear the Dectalk speak and get a TCL prompt if everything is okay.
# Next, check that your serial port is working correctly, and that your stty 
# settings are correct. You can do this by executing the following sequence 
# of TCL commands in the TCL session you just started:
#    dectalk_speak {this is a test. }
# should speak the text within the braces.
#    dectalk_stop
# The above command stops speech.
# You should see a TCL prompt when you execute it.
# If things appear to hang when you execute dectalk_stop
# i.e. you don't see a TCL prompt (%) then
# a) The serial cable conecting your speech device is flaky
# b) Your serial port is flaky
# c) The stty settings on the port are incorrect for your system
# In the case of (c) please report the problem
# quit this tcl session by typing ctrl-d
#
# To use emacspeak you can do one of the following:
# Add the line
# (load-file (expand-file-name "<EMACSPEAK_DIR>/emacspeak-setup.el"))
# to the start of your .emacs
# This will start emacspeak every time you use emacs
# or alternatively set the following alias.
# If you use csh or tcsh  
# alias emacspeak "emacs -q -l <EMACSPEAK_DIR>/emacspeak-setup.el -l $HOME/.emacs"
# If you use bash (the default under linux)
# alias emacspeak="emacs -q -l <EMACSPEAK_DIR>/emacspeak-setup.el -l $HOME/.emacs"
# Note: in all of the above you should replace <EMACSPEAK_DIR> with your 
# site-specific value. The distribution also creates a shell executable 
# emacspeak.sh that does the same thing as the alias shown above. 

# }}}
# {{{  Site Configuration

##### Site  Configuration #####
PREFIX = /usr
# where executables go
bindir = ${PREFIX}/bin
# where info files should go
infodir = ${PREFIX}/info
# where the emacspeak library directory should go
#for older emacsuns use /usr/lib
libparentdir = ${PREFIX}/share/emacs/site-lisp
# where .elc files should go
libdir =$(libparentdir)/emacspeak
# what emacs is called on your system
EMACS = emacs
# How to run in batch mode
BATCH = -batch -q -no-site-file
# How to compile 
COMPILE = -f batch-byte-compile
# Assuming you're doing 'make' in the source directory: 
CWD = `pwd`
# How to install files
INSTALL = install

# }}}
# {{{  define make variables and file groupings

############## no user servicable parts beyond this point ###################
SNAPSHOT = `date "+%h-%d-%y-%H-%M"`
#New make rules 
.SUFFIXES: .elc .el  .el .def 

.el.elc:
	$(EMACS) $(BATCH)  -l $(CWD)/emacspeak-load-path $(COMPILE) $(CWD)/$<
	@echo  "Compiled  $<.  " $(DECTALK)

# source files to distribute
ID = README
TABLE_SAMPLES=tables/*.tab tables/*.dat
SOUNDS=sounds/*.au
TCL_PROGRAMS = dtk-exp dtk-mv \
remote-tcl speech-server remote.txt
ELISP = dtk-css-speech.el \
dtk-macros.el \
dtk-speak.el \
dtk-tcl.el \
dtk-voices.el \
emacspeak-actions.el \
emacspeak-advice.el \
emacspeak-auctex.el \
emacspeak-bbdb.el \
emacspeak-bibtex.el \
emacspeak-buff-sel.el \
emacspeak-c.el \
emacspeak-calc.el \
emacspeak-calendar.el \
emacspeak-compile.el \
emacspeak-dired.el \
emacspeak-dismal.el \
emacspeak-dmacro.el \
emacspeak-ediff.el \
emacspeak-eterm.el \
emacspeak-fix-interactive.el \
emacspeak-folding.el \
emacspeak-forms.el \
emacspeak-gnus.el \
emacspeak-gud.el \
emacspeak-hyperbole.el \
emacspeak-info.el \
emacspeak-ispell.el \
emacspeak-keymap.el \
emacspeak-kotl.el \
emacspeak-load-path.el \
emacspeak-man.el \
emacspeak-message.el \
emacspeak-new-ediff.el \
emacspeak-oo-browser.el \
emacspeak-outline.el \
emacspeak-perl.el \
emacspeak-pronounce.el \
emacspeak-redefine.el \
emacspeak-replace.el \
emacspeak-rmail.el \
emacspeak-solitaire.el \
emacspeak-tetris.el \
emacspeak-bookmark.el \
emacspeak-buff-menu.el \
emacspeak-tar.el \
emacspeak-arc.el \
emacspeak-gomoku.el \
emacspeak-imenu.el \
emacspeak-remote.el \
emacspeak-sgml-mode.el \
emacspeak-tapestry.el \
emacspeak-enriched.el \
emacspeak-facemenu.el \
emacspeak-hide.el \
emacspeak-setup.el \
emacspeak-sounds.el \
emacspeak-speak.el \
emacspeak-table-ui.el \
emacspeak-table.el \
emacspeak-tabulate.el \
emacspeak-tcl.el \
emacspeak-tempo.el \
emacspeak-view-process.el \
emacspeak-view.el \
emacspeak-vm.el \
emacspeak-w3.el \
emacspeak-widget.el \
emacspeak-wrolo.el \
emacspeak.el \
html-voice.el \
html-outline.el \
voice-lock.el \
lazy-voice-lock.el \
fast-voice-lock.el \
voice-setup.el \
voice-settings.el \
regexp-opt.el \
tapestry.el 


TEMPLATES = emacspeak-load-path.def \
emacspeak-setup.def \
emacspeak.def \
play.def

INFO = info/Makefile info/explain info/emacspeak.texinfo
#INFO not listed in DISTFILES since we dont snapshot it
DISTFILES =${ELISP}  ${TEMPLATES}     $(TCL_PROGRAMS) \
	     Makefile COPYRIGHT HELP  
# {{{  grouping files into dependent modules

#The various modules:
DTK_OBJECTS =  dtk-macros.elc\
	dtk-speak.elc\
	dtk-tcl.elc\
        dtk-css-speech.elc \
	dtk-voices.elc
SPEAK_OBJECTS =   \
	emacspeak-speak.elc  \
        emacspeak-actions.elc \
	voice-lock.elc \
	lazy-voice-lock.elc \
	fast-voice-lock.elc \
	voice-setup.elc \
	voice-settings.elc \
        html-voice.elc \
html-outline.elc \
        emacspeak-pronounce.elc \
	emacspeak-sounds.elc 

CORE_OBJECTS =  \
	emacspeak.elc \
	emacspeak-advice.elc\
	emacspeak-keymap.elc\
	emacspeak-fix-interactive.elc\
	emacspeak-redefine.elc\
	emacspeak-replace.elc \
        emacspeak-table.elc \
        emacspeak-table-ui.elc \
	emacspeak-tabulate.elc 

AUX_OBJECTS = emacspeak-calendar.elc \
emacspeak-calc.elc \
emacspeak-c.elc \
emacspeak-compile.elc \
emacspeak-auctex.elc \
emacspeak-bibtex.elc \
emacspeak-dired.elc \
emacspeak-info.elc\
emacspeak-folding.elc \
emacspeak-outline.elc \
emacspeak-hyperbole.elc \
emacspeak-kotl.elc \
emacspeak-bbdb.elc \
emacspeak-dmacro.elc \
emacspeak-wrolo.elc \
emacspeak-oo-browser.elc \
emacspeak-tempo.elc \
emacspeak-tcl.elc \
emacspeak-perl.elc \
emacspeak-gud.elc \
emacspeak-man.elc \
emacspeak-forms.elc \
emacspeak-view.elc \
emacspeak-message.elc \
emacspeak-dismal.elc \
emacspeak-buff-sel.elc \
emacspeak-view-process.elc \
emacspeak-vm.elc \
emacspeak-rmail.elc \
emacspeak-solitaire.elc \
emacspeak-tetris.elc \
emacspeak-bookmark.elc \
emacspeak-buff-menu.elc \
emacspeak-tar.elc \
emacspeak-arc.elc \
emacspeak-gomoku.elc \
emacspeak-imenu.elc \
emacspeak-remote.elc \
emacspeak-sgml-mode.elc \
emacspeak-tapestry.elc \
emacspeak-enriched.elc \
emacspeak-facemenu.elc \
emacspeak-hide.elc \
emacspeak-widget.elc \
emacspeak-w3.elc \
emacspeak-ispell.elc \
emacspeak-eterm.elc \
emacspeak-ediff.elc \
emacspeak-new-ediff.elc \
emacspeak-gnus.elc\
emacspeak-setup.el

ADDON_OBJECTS= tapestry.elc  regexp-opt.elc

OBJECTS = $(DTK_OBJECTS) $(SPEAK_OBJECTS) $(CORE_OBJECTS)  \
	$(AUX_OBJECTS) $(ADDON_OBJECTS)

# }}}

# }}}
# {{{  User level targets emacspeak info print 

emacspeak: $(OBJECTS)
	@echo "Compiled on $(SNAPSHOT) by `whoami` on `hostname`" >> $(ID)
	@echo "Now check installation of  the synthesizer driver. "  $(DECTALK)
	@echo "See Makefile for instructions." $(DECTALK)
	@echo "Type make info for  the online  manual." $(DECTALK)
	@echo "Make sure you read the Emacs info pages" $(DECTALK)
	@echo "Now check installation of  the synthesizer driver."  
	@echo "See Makefile for instructions." 
	@echo "Type make info for  the online  manual."
	@echo "Make sure you read the Emacs info pages" 
	make config CWD=$(libdir)

info:
	cd info; make 

print:
	@echo "Please change to the info directory and type make print"

# }}}
# {{{  Maintainance targets tar snapshot dist 

tar:
	rm -f $(ID)
	@echo "This is Emacspeak from  $(SNAPSHOT)" > $(ID)
	@echo "Distribution created by `whoami` on `hostname`" >> $(ID)
	@echo "Place  the files from this distribution in a directory" >> $(ID)
	@echo "And type make config " >> $(ID)
	@echo "To configure the source files. Then type make" >> $(ID)
	@echo "See the Makefile for details. " >> $(ID)
	@echo "If you have a Dectalk connected to a serial port," >>$(ID)
	@echo 'e.g. /dev/tty00 then use make "DECTALK=>/dev/tty00"' >> $(ID)
	@echo "And  get spoken feedback during make. " >> $(ID)
	tar cvf  emacspeak.tar $(DISTFILES)   $(ID) \
         ${TABLE_SAMPLES} ${SOUNDS} DOC $(INFO)
snapshot: $(DISTFILES)
	rcs -n$(SNAPSHOT):$$ $(DISTFILES)

dist: $(DISTFILES) $(INFO)
	make tar
	make snapshot 
	@echo "emacspeak $(SNAPSHOT)  prepared for distribution in emacspeak.tar"

# }}}
# {{{ User level target--  config 

config:
	@rm -f emacspeak-setup.el emacspeak-load-path.el  play emacspeak.sh
	@sed "s@<emacspeak-dir>@$(CWD)@g" \
		emacspeak.def > emacspeak.sh
	@sed "s@<emacspeak-dir>@$(CWD)@g" \
		emacspeak-load-path.def > emacspeak-load-path.el
	@sed "s@<emacspeak-dir>@$(CWD)@g" \
		emacspeak-setup.def  > emacspeak-setup.el
	@sed "s@<emacspeak-dir>@$(CWD)@g" \
		play.def > play
	@chmod 444 emacspeak-setup.el emacspeak-load-path.el
	@chmod 755 play  emacspeak.sh
	@echo "Configured emacspeak in directory $(CWD)." $(DECTALK)
	 @echo "Now type make emacspeak" $(DECTALK)
	@echo "Configured emacspeak in directory $(CWD). Now type make emacspeak"

# }}}
# {{{  user level target-- install uninstall

install:
	if test ! $(libdir) = $(CWD) ; then \
	  if test ! -d $(libparentdir) ; then mkdir $(libparentdir); fi ; \
	  if test ! -d $(libdir) ; then mkdir $(libdir); fi ; \
	  chmod 755 $(libdir); \
	  $(INSTALL) -m 0644  $(OBJECTS) dtk-exp dtk-mv remote-tcl  $(libdir); \
	  $(INSTALL) -d $(libdir)/sounds; \
	  $(INSTALL)  -m 0644 $(SOUNDS) $(libdir)/sounds; \
	fi
	if test ! -d $(bindir) ; then mkdir $(bindir); fi
	$(INSTALL) emacspeak.sh $(bindir)/emacspeak
	if test ! -d $(infodir) ; then mkdir $(infodir); fi
	cd info; \
	make install infodir=$(infodir);
uninstall:
	rm -rf $(infodir)/emacspeak.info* $(bindir)/emacspeak;
	if test ! $(libdir) = $(CWD) ; then \
	  (cd $(libparentdir); rm -rf $(libdir) ); \
	fi

# }}}
# {{{  Make rules for the various modules

# Do this in this brain-dead way because different makes do pattern
# rules differently. grumble grumble...
#dtk module:
#dtk-tcl contains inline functions.
#Compile dtk-tcl first, and make dtk-speak depend on it
#Modules using functions from the dtk module should depend on dtk-speak
dtk-macros.elc: dtk-macros.el
dtk-speak.elc: dtk-speak.el dtk-tcl.el
dtk-tcl.elc: dtk-tcl.el dtk-voices.elc emacspeak-pronounce.elc
dtk-voices.elc: dtk-voices.el
dtk-css-speech.elc: dtk-css-speech.el dtk-voices.elc
voice-setup.elc: voice-setup.el
voice-settings.elc: voice-settings.el
voice-lock.elc: voice-lock.el voice-settings.elc voice-setup.elc
lazy-voice-lock.elc: lazy-voice-lock.el voice-lock.elc
fast-voice-lock.elc: fast-voice-lock.el voice-lock.elc
html-voice.elc: html-voice.el voice-lock.elc
html-outline.elc: html-outline.el
#Emacspeak module:
emacspeak-sounds.elc: emacspeak-sounds.el
emacspeak-pronounce.elc: emacspeak-pronounce.el
emacspeak-advice.elc: emacspeak-advice.el dtk-speak.elc
emacspeak-calendar.elc: emacspeak-calendar.el dtk-speak.el
emacspeak-calc.elc: emacspeak-calc.el 
emacspeak-c.elc: emacspeak-c.el dtk-speak.elc
emacspeak-dired.elc: emacspeak-dired.el dtk-speak.elc
emacspeak-auctex.elc: emacspeak-auctex.el dtk-speak.elc
emacspeak-bibtex.elc: emacspeak-bibtex.el dtk-speak.elc
emacspeak-info.elc: emacspeak-info.el dtk-speak.elc 
emacspeak-folding.elc: emacspeak-folding.el dtk-speak.elc
emacspeak-outline.elc: emacspeak-outline.el dtk-speak.elc
emacspeak-hyperbole.elc: emacspeak-hyperbole.el dtk-speak.elc
emacspeak-kotl.elc: emacspeak-kotl.el dtk-speak.elc
emacspeak-bbdb.elc: emacspeak-bbdb.el dtk-speak.elc
emacspeak-dmacro.elc: emacspeak-dmacro.el dtk-speak.elc
emacspeak-wrolo.elc: emacspeak-wrolo.el dtk-speak.elc 
emacspeak-oo-browser.elc: emacspeak-oo-browser.el dtk-speak.elc 
emacspeak-tempo.elc: emacspeak-tempo.el dtk-speak.elc
emacspeak-tcl.elc: emacspeak-tcl.el dtk-speak.elc
emacspeak-perl.elc: emacspeak-perl.el dtk-speak.elc
emacspeak-gud.elc: emacspeak-gud.el dtk-speak.elc
emacspeak-man.elc: emacspeak-man.el dtk-speak.elc
emacspeak-forms.elc: emacspeak-forms.el dtk-speak.elc
emacspeak-view.elc: emacspeak-view.el dtk-speak.elc
emacspeak-message.elc: emacspeak-message.el dtk-speak.elc
emacspeak-dismal.elc: emacspeak-dismal.el dtk-speak.elc
emacspeak-buff-sel.elc: emacspeak-buff-sel.el dtk-speak.elc
emacspeak-view-process.elc: emacspeak-view-process.el dtk-speak.elc
emacspeak-eterm.elc: emacspeak-eterm.el dtk-speak.elc
emacspeak-ediff.elc: emacspeak-ediff.el dtk-speak.elc
emacspeak-new-ediff.elc: emacspeak-new-ediff.el dtk-speak.elc
emacspeak-fix-interactive.elc: emacspeak-fix-interactive.el dtk-speak.elc
emacspeak-gnus.elc: emacspeak-gnus.el dtk-speak.elc
emacspeak-ispell.elc: emacspeak-ispell.el dtk-speak.elc
emacspeak-keymap.elc: emacspeak-keymap.el 
emacspeak-load-path.elc: emacspeak-load-path.elc
emacspeak-redefine.elc: emacspeak-redefine.el  dtk-speak.elc
emacspeak-replace.elc: emacspeak-replace.el dtk-speak.elc
emacspeak-table.elc: emacspeak-table.el
emacspeak-table-ui.elc: emacspeak-table-ui.el emacspeak-tabulate.elc  \
emacspeak-table.elc
emacspeak-tabulate.elc: emacspeak-tabulate.el dtk-speak.elc
emacspeak-setup.elc: emacspeak-setup.el
emacspeak-speak.elc: emacspeak-speak.el dtk-speak.elc voice-lock.elc
emacspeak-actions.elc: emacspeak-actions.el  voice-lock.elc
emacspeak-vm.elc: emacspeak-vm.el dtk-speak.elc
emacspeak-rmail.elc: emacspeak-rmail.el dtk-speak.elc
emacspeak-solitaire.elc: emacspeak-solitaire.el dtk-speak.elc
emacspeak-tetris.elc: emacspeak-tetris.el dtk-speak.elc
emacspeak-bookmark.elc: emacspeak-bookmark.el dtk-speak.elc
emacspeak-buff-menu.elc: emacspeak-buff-menu.el dtk-speak.elc
emacspeak-tar.elc: emacspeak-tar.el dtk-speak.elc
emacspeak-arc.elc: emacspeak-arc.el dtk-speak.elc
emacspeak-gomoku.elc: emacspeak-gomoku.el dtk-speak.elc
emacspeak-imenu.elc: emacspeak-imenu.el dtk-speak.elc
emacspeak-remote.elc: emacspeak-remote.el
emacspeak-sgml-mode.elc: emacspeak-sgml-mode.el dtk-speak.elc
emacspeak-tapestry.elc: emacspeak-tapestry.el dtk-speak.elc
emacspeak-enriched.elc: emacspeak-enriched.el dtk-speak.elc
emacspeak-facemenu.elc: emacspeak-facemenu.el dtk-speak.elc
emacspeak-hide.elc: emacspeak-hide.el emacspeak-speak.elc
emacspeak-widget.elc: emacspeak-widget.el dtk-speak.elc
emacspeak-w3.elc: emacspeak-w3.el dtk-speak.elc
emacspeak.elc: emacspeak.el

# }}}
# {{{  complete build 

#targets
#the complete build 
all: emacspeak 

# }}}
# {{{  shortcuts for building subsystems 

#Compiling support for different packages:
#this is done as part of make all.

#You can recompile support for individual packages, e.g. calendar by typing
# make calendar
#
actions: emacspeak-actions.elc 
calendar: emacspeak-calendar.elc
calc: emacspeak-calc.elc 
c: emacspeak-c.elc
compile: emacspeak-compile.elc
auctex: emacspeak-auctex.elc
bibtex: emacspeak-bibtex.elc
dired: emacspeak-dired.elc  
folding: emacspeak-folding.elc
outline:emacspeak-outline.elc
hyperbole: emacspeak-hyperbole.elc
kotl: emacspeak-kotl.elc
bbdb: emacspeak-bbdb.elc
dmacro: emacspeak-dmacro.elc 
wrolo: emacspeak-wrolo.elc
oo-browser: emacspeak-oo-browser.elc
table: emacspeak-table.elc
table-ui: emacspeak-table-ui.elc
tabulate: emacspeak-tabulate.elc
tempo: emacspeak-tempo.elc
tcl: emacspeak-tcl.elc
perl: emacspeak-perl.elc
gud: emacspeak-gud.elc 
man: emacspeak-man.elc
forms: emacspeak-forms.elc
view: emacspeak-view.elc
message: emacspeak-message.elc
dismal: emacspeak-dismal.elc
buff-sel: emacspeak-buff-sel.elc
view-process: emacspeak-view-process.elc
vm: emacspeak-vm.elc
solitaire: emacspeak-solitaire.elc
tetris: emacspeak-tetris.elc
bookmark: emacspeak-bookmark.elc
buff-menu: emacspeak-buff-menu.elc
tar-mode: emacspeak-tar.elc
arc: emacspeak-arc.elc
imenu: emacspeak-imenu.elc
remote: emacspeak-remote.elc
sgml-mode: emacspeak-sgml-mode.elc
enriched: emacspeak-enriched.elc
facemenu: emacspeak-facemenu.elc
hide: emacspeak-hide.elc
widget: emacspeak-widget.elc
w3: emacspeak-w3.elc  
ispell: emacspeak-ispell.elc  
eterm: emacspeak-eterm.elc
ediff: emacspeak-ediff.elc
new-ediff: emacspeak-new-ediff.elc
gnus: emacspeak-gnus.elc

# }}}
# {{{  user level target-- clean

clean:
	rm -f *.elc 
		cd info; make clean

# }}}
# {{{ labeling releases 

#label  releases when ready
LABEL=
label: $(DISTFILES)
	co -l $(DISTFILES)
	   ci -f -u${LABEL} -m"Releasing ${LABEL}" \
        -n$(SNAPSHOT) $(DISTFILES)


release: #supply LABEL=NN.NN
	make label LABEL=$(LABEL)
	make dist 
	mkdir release; \
mv emacspeak.tar release; \
	cd release; \
	mkdir emacspeak-$(LABEL); \
	cd emacspeak-$(LABEL); \
	tar xvf ../emacspeak.tar ; \
	cd ..; \
	rm -f emacspeak.tar ; \
	tar cvf emacspeak.tar emacspeak-$(LABEL); \
	gzip -9 emacspeak.tar; \
	mv  emacspeak.tar.gz ../ems.tgz; \
	cd .. ; \
	/bin/rm -rf release 
	@echo "Prepared Emacspeak-$(LABEL) in ems.tgz"

# }}}
# {{{list distfiles to stdout

list_dist:
	ls -1  $(DISTFILES)
# }}}
# {{{ end of file 

#local variables: 
#major-mode: makefile-mode
#eval:  (fold-set-marks "# {{{" "# }}}")
#folded-file: t
#end:

# }}}