2001-07-21 13:02:31 +00:00
|
|
|
|
2002-09-06 14:07:17 +00:00
|
|
|
AUTOMAKE_OPTIONS = dejagnu
|
2003-08-20 07:28:49 +00:00
|
|
|
DEJATOOL = testfreq testbcd testloc rigctl
|
2002-09-06 14:07:17 +00:00
|
|
|
|
2002-10-31 00:23:12 +00:00
|
|
|
DISTCLEANFILES = rigctl.log rigctl.sum testbcd.log testbcd.sum
|
2002-09-06 14:07:17 +00:00
|
|
|
|
2008-09-12 22:55:10 +00:00
|
|
|
bin_PROGRAMS = rigctl rigmem rigswr rigsmtr rotctl rigctld rotctld
|
|
|
|
man_MANS = rigctl.1 rigmem.1 rigswr.1 rigsmtr.1 rotctl.1 rigctld.8 rotctld.8
|
2001-07-21 13:02:31 +00:00
|
|
|
|
2007-11-11 23:05:37 +00:00
|
|
|
check_PROGRAMS = dumpmem testrig testtrn testbcd testfreq listrigs \
|
|
|
|
testloc rig_bench @RIGMATRIX@
|
2002-09-06 14:07:17 +00:00
|
|
|
|
2007-11-11 23:05:37 +00:00
|
|
|
rigctl_SOURCES = rigctl.c rigctl_parse.c dumpcaps.c sprintflst.c
|
|
|
|
rigctld_SOURCES = rigctld.c rigctl_parse.c dumpcaps.c sprintflst.c
|
2008-09-12 22:55:10 +00:00
|
|
|
rotctl_SOURCES = rotctl.c rotctl_parse.c
|
|
|
|
rotctld_SOURCES = rotctld.c rotctl_parse.c
|
2004-06-14 20:13:35 +00:00
|
|
|
rigswr_SOURCES = rigswr.c
|
2007-05-21 20:03:17 +00:00
|
|
|
rigsmtr_SOURCES = rigsmtr.c
|
2003-12-04 23:15:54 +00:00
|
|
|
rigmem_SOURCES = rigmem.c memsave.c memload.c memcsv.c sprintflst.c
|
2008-09-12 22:55:10 +00:00
|
|
|
noinst_HEADERS = sprintflst.h rigctl_parse.h rotctl_parse.h
|
2001-07-21 13:02:31 +00:00
|
|
|
|
2008-09-12 22:55:10 +00:00
|
|
|
EXTRA_PROGRAMS = rigmatrix rigctld rotctld
|
2000-11-28 22:35:28 +00:00
|
|
|
|
|
|
|
# all the programs need this
|
2002-11-13 20:39:07 +00:00
|
|
|
LDADD = $(top_builddir)/src/libhamlib.la $(top_builddir)/lib/libmisc.la
|
|
|
|
DEPENDENCIES = $(top_builddir)/src/libhamlib.la
|
2000-11-28 22:35:28 +00:00
|
|
|
|
2009-03-21 11:19:02 +00:00
|
|
|
rigmem_CFLAGS = $(AM_CFLAGS) @LIBXML2_CFLAGS@
|
2003-12-04 23:15:54 +00:00
|
|
|
|
2000-11-28 22:35:28 +00:00
|
|
|
## Linker options
|
2001-12-19 03:28:25 +00:00
|
|
|
listrigs_LDFLAGS = @BACKENDLNK@
|
|
|
|
dumpmem_LDFLAGS = @BACKENDLNK@
|
|
|
|
testrig_LDFLAGS = @BACKENDLNK@
|
2003-10-01 21:51:19 +00:00
|
|
|
rig_bench_LDFLAGS = $(top_builddir)/lib/libmisc.la @BACKENDLNK@
|
2001-12-19 03:28:25 +00:00
|
|
|
testtrn_LDFLAGS = @BACKENDLNK@
|
|
|
|
rigctl_LDFLAGS = @BACKENDLNK@
|
2004-06-14 20:13:35 +00:00
|
|
|
rigswr_LDFLAGS = @BACKENDLNK@
|
2007-05-21 20:03:17 +00:00
|
|
|
rigsmtr_LDFLAGS = @BACKENDLNK@
|
2009-03-21 11:19:02 +00:00
|
|
|
rigmem_LDFLAGS = @BACKENDLNK@ @LIBXML2_LIBS@
|
2002-01-16 23:34:18 +00:00
|
|
|
rotctl_LDFLAGS = @ROT_BACKENDLNK@
|
2008-05-08 16:21:33 +00:00
|
|
|
rigctld_LDFLAGS = @BACKENDLNK@ @PTHREAD_LIBS@ @NET_LIBS@
|
2008-09-12 22:55:10 +00:00
|
|
|
rotctld_LDFLAGS = @ROT_BACKENDLNK@ @PTHREAD_LIBS@ @NET_LIBS@
|
2001-12-27 22:02:19 +00:00
|
|
|
|
|
|
|
# temporary hack
|
|
|
|
testbcd_LDFLAGS = -dlpreopen self
|
|
|
|
testloc_LDFLAGS = -dlpreopen self
|
|
|
|
|
2000-11-01 23:24:39 +00:00
|
|
|
# rigmatrix needs also libgd
|
2001-12-19 03:28:25 +00:00
|
|
|
rigmatrix_LDFLAGS = -lgd -lz @BACKENDLNK@
|
2000-11-28 22:35:28 +00:00
|
|
|
|
|
|
|
## Dependencies
|
2001-01-04 05:47:31 +00:00
|
|
|
|
2001-10-16 19:24:07 +00:00
|
|
|
dumpmem_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
|
|
testrig_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2003-02-24 20:55:12 +00:00
|
|
|
rig_bench_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2001-10-16 19:24:07 +00:00
|
|
|
testtrn_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
|
|
listrigs_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2001-12-19 03:28:25 +00:00
|
|
|
rigctl_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2003-12-04 23:15:54 +00:00
|
|
|
rigmem_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2004-06-14 20:13:35 +00:00
|
|
|
rigswr_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2007-05-21 20:03:17 +00:00
|
|
|
rigsmtr_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2002-01-16 23:34:18 +00:00
|
|
|
rotctl_DEPENDENCIES = $(DEPENDENCIES) @ROT_BACKENDEPS@
|
2001-10-16 19:24:07 +00:00
|
|
|
rigmatrix_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2007-11-11 23:05:37 +00:00
|
|
|
rigctld_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
2008-09-12 22:55:10 +00:00
|
|
|
rotctld_DEPENDENCIES = $(DEPENDENCIES) @ROT_BACKENDEPS@
|
2000-11-28 22:35:28 +00:00
|
|
|
|
2001-06-04 21:25:07 +00:00
|
|
|
|
2001-12-27 22:02:19 +00:00
|
|
|
|
2002-09-06 14:07:17 +00:00
|
|
|
rigmatrix.html: rigmatrix_head.html rigmatrix listrigs
|
2007-05-21 20:35:41 +00:00
|
|
|
mkdir -p sup-info/support
|
|
|
|
( cat $(srcdir)/rigmatrix_head.html && cd sup-info && ../rigmatrix ) > sup-info/rigmatrix.html
|
|
|
|
for f in `./listrigs | tail -n +2 | cut -f1` ; do ( ./rigctl -m $$f -u > sup-info/support/model$$f.txt || exit 0 ) ; done
|
|
|
|
./rigctl -l |sort -n | $(srcdir)/rig_split_lst.awk -v lst_dir="sup-info"
|
2001-06-04 21:25:07 +00:00
|
|
|
|
2008-10-27 20:45:40 +00:00
|
|
|
EXTRA_DIST = rigmatrix_head.html rig_split_lst.awk $(man_MANS)
|
2001-06-15 07:06:11 +00:00
|
|
|
|