1
# Select your audio output device. Current choices are:
3
# X11: The X11 window system.
4
# Linux: IBM PC Console running Linux.
5
# OSS: Open Sound System /dev/dsp device.
6
# PA: PulseAudio using the pulse-simple client API.
7
# ALSA: Advanced Linux Sound Architecture
10
# Many Linux laptops seem to have console speakers that are unreliable
11
# for various hardware and software reasons. You may be better off
12
# using morseALSA or morseOSS than morseLinux.
14
# Running on Mac OS X:
15
# (1) Use X11. The user must, as with any X11 client, set the DISPLAY
16
# variable, and have the X server running. Finally, the X11 output
17
# preferences dialog should have "Use system alert effect" unchecked;
18
# otherwise, the system alert (settable, but unlikely to be useful to
19
# copy code in any event) will be used instead of the X beep.
21
# Adding a new device is as simple as creating a new implementation of the
22
# beep.h interface. See beep*.c for examples. Please send any additions
33
MANPAGES = morse.1 QSO.1
34
DOCS = README HISTORY COPYING morse.xml $(MANPAGES)
35
ALL= $(DOCS) Makefile $(SOURCES) test_input \
36
morse.d/*.[ch] morse.d/Makefile \
37
qso.d/*.[ch] qso.d/Makefile
42
all: morse QSO morse.1 QSO.1
45
install morse.d/morsePA $(DESTDIR)/usr/bin/morse
46
install morse.d/morseLinux $(DESTDIR)/usr/bin
47
install morse.d/morseX11 $(DESTDIR)/usr/bin
48
install qso.d/QSO $(DESTDIR)/usr/bin
51
cd morse.d && make DEVICE=${DEVICE}
52
ln morse.d/morse ./morse
59
# "Jocks find quartz glyph, vex BMW." is my attempt to win Stephen J. Gould's
60
# prize (a copy of all his books) for the first person who can come up with a
61
# "perfect pangram": a meaningful sentence consisting entirely of common
62
# English words, with no abbreviations or proper names, that contains each
63
# letter exactly once. He rejected it because it contains "BMW", alas, but
64
# he did say it's the closest he's seen so far. - Joe Dellinger
67
(cat test_input; qso.d/QSO) | ./morse -w 24 -l -e
70
qso.d/QSO | ./morse -w 20 -l -e
75
rm -f morse QSO *.1 *.html SHIPPER.*
76
cd morse.d; make clean
80
rm -f $(MANPAGES) morse.html
82
morse.1 QSO.1: morse.xml
86
xmlto xhtml-nochunks morse.xml
88
morse-$(VERSION).tar.gz: $(ALL)
89
@ls $(ALL) | sed s:^:morse-$(VERSION)/: >MANIFEST
90
@(cd ..; ln -s morse-classic morse-$(VERSION))
91
(cd ..; tar -czf morse-classic/morse-$(VERSION).tar.gz `cat morse-classic/MANIFEST`)
92
@(cd ..; rm morse-$(VERSION))
94
dist: morse-$(VERSION).tar.gz
96
release: morse-$(VERSION).tar.gz morse.html
97
shipper -u -m -t; make clean