2011-06-23 02:10:50 +02:00
|
|
|
#
|
2011-06-08 23:00:22 +02:00
|
|
|
# Makefile.am
|
2011-06-23 02:10:50 +02:00
|
|
|
#
|
2012-08-14 06:51:53 +02:00
|
|
|
# Copyright (C) 2011-2012 Kamal Mostafa <kamal@whence.com>
|
2011-06-23 02:10:50 +02:00
|
|
|
#
|
|
|
|
# This program 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 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#
|
2011-06-08 23:00:22 +02:00
|
|
|
|
2011-06-22 22:55:57 +02:00
|
|
|
AM_CFLAGS = -Wall # -Werror
|
2011-05-20 17:16:52 +02:00
|
|
|
|
|
|
|
INCLUDES = $(DEPS_CFLAGS)
|
|
|
|
|
|
|
|
|
2011-06-08 23:00:22 +02:00
|
|
|
bin_PROGRAMS = minimodem
|
|
|
|
|
2011-06-23 01:10:31 +02:00
|
|
|
dist_man_MANS = minimodem.1
|
|
|
|
|
2012-08-15 20:44:26 +02:00
|
|
|
EXTRA_DIST = minimodem.1.html
|
2011-05-20 17:16:52 +02:00
|
|
|
|
2011-06-08 23:00:22 +02:00
|
|
|
SIMPLEAUDIO_SRC = \
|
|
|
|
simpleaudio.h \
|
|
|
|
simpleaudio_internal.h \
|
2011-05-30 07:20:28 +02:00
|
|
|
simpleaudio.c \
|
2011-06-18 20:29:00 +02:00
|
|
|
simple-tone-generator.c \
|
2011-05-30 07:20:28 +02:00
|
|
|
simpleaudio-pulse.c \
|
2012-08-08 23:26:39 +02:00
|
|
|
simpleaudio-alsa.c \
|
2012-08-14 00:50:04 +02:00
|
|
|
simpleaudio-benchmark.c \
|
2011-05-30 07:20:28 +02:00
|
|
|
simpleaudio-sndfile.c
|
|
|
|
|
2011-06-08 23:00:22 +02:00
|
|
|
FSK_SRC = fsk.h fsk.c
|
|
|
|
|
2011-06-11 03:09:47 +02:00
|
|
|
BAUDOT_SRC = baudot.h baudot.c
|
|
|
|
|
2014-08-15 23:29:27 +02:00
|
|
|
UIC_SRC = uic_codes.h uic_codes.c
|
|
|
|
|
2012-09-01 06:39:08 +02:00
|
|
|
DATABITS_SRC = \
|
|
|
|
databits.h \
|
|
|
|
databits_ascii.c \
|
|
|
|
databits_binary.c \
|
2012-10-06 04:40:17 +02:00
|
|
|
databits_callerid.c \
|
2014-08-15 23:29:27 +02:00
|
|
|
databits_baudot.c $(BAUDOT_SRC) \
|
|
|
|
databits_uic.c $(UIC_SRC)
|
2012-09-01 06:39:08 +02:00
|
|
|
|
2011-05-20 17:16:52 +02:00
|
|
|
minimodem_LDADD = $(DEPS_LIBS)
|
2012-09-01 06:39:08 +02:00
|
|
|
minimodem_SOURCES = minimodem.c $(DATABITS_SRC) $(FSK_SRC) $(SIMPLEAUDIO_SRC)
|
2011-06-08 23:00:22 +02:00
|
|
|
|
2011-07-16 04:17:31 +02:00
|
|
|
|
|
|
|
minimodem.1.html: minimodem.1 Makefile
|
|
|
|
man --html=cat ./minimodem.1 | sed '5,$$ s:\(http\:[^ &]*\):<A HREF="\1">\1</A>:g' > $@
|
|
|
|
[ -s $@ ] || { rm $@; exit 1; }
|
|
|
|
|