From 42725c83f647d023896753714d46508e519670ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sat, 21 Jul 2001 13:02:31 +0000 Subject: [PATCH] added rigctl man page, workaround for libtool bug? git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@600 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- tests/Makefile.am | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 79640ae0c..2030ef1ed 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,26 +1,31 @@ -noinst_PROGRAMS = dumpcaps dumpmem testcaps testrig testtrn testbcd testfreq listrigs testcpp @RIGMATRIX@ + bin_PROGRAMS = rigctl +man_MANS = rigctl.1 + +noinst_PROGRAMS = dumpcaps dumpmem testcaps testrig testtrn testbcd testfreq listrigs testcpp @RIGMATRIX@ + EXTRA_PROGRAMS = rigmatrix # all the programs need this -LDADD = ../src/libhamlib.la +LDADD = ../src/libhamlib.la ../lib/libmisc.a DEPENDENCIES = ../src/libhamlib.la ## The quotes around -dlopen below fool automake into accepting it -BACKENDLNK = "-dlopen" self "-dlopen" ../icom/libhamlib-icom.la "-dlopen" ../yaesu/libhamlib-yaesu.la "-dlopen" ../kenwood/libhamlib-kenwood.la "-dlopen" ../aor/libhamlib-aor.la "-dlopen" ../dummy/libhamlib-dummy.la "-dlopen" ../pcr/libhamlib-pcr.la "-dlopen" ../alinco/libhamlib-alinco.la "-dlopen" ../uniden/libhamlib-uniden.la "-dlopen" ../tentec/libhamlib-tentec.la @WINRADIOLNK@ +BACKENDLNK = -dlopen self -dlopen ../icom/libhamlib-icom.la -dlopen ../yaesu/libhamlib-yaesu.la -dlopen ../kenwood/libhamlib-kenwood.la -dlopen ../aor/libhamlib-aor.la -dlopen ../dummy/libhamlib-dummy.la -dlopen ../pcr/libhamlib-pcr.la -dlopen ../alinco/libhamlib-alinco.la -dlopen ../uniden/libhamlib-uniden.la -dlopen ../tentec/libhamlib-tentec.la @WINRADIOLNK@ BACKENDEPS = ../icom/libhamlib-icom.la ../yaesu/libhamlib-yaesu.la ../kenwood/libhamlib-kenwood.la ../aor/libhamlib-aor.la ../dummy/libhamlib-dummy.la ../pcr/libhamlib-pcr.la ../alinco/libhamlib-alinco.la ../uniden/libhamlib-uniden.la ../tentec/libhamlib-tentec.la @WINRADIODEPS@ ## Linker options -listrigs_LDADD = $(BACKENDLNK) $(LDADD) -dumpcaps_LDADD = $(BACKENDLNK) $(LDADD) -dumpmem_LDADD = $(BACKENDLNK) $(LDADD) -testcaps_LDADD = $(BACKENDLNK) $(LDADD) -testrig_LDADD = $(BACKENDLNK) $(LDADD) -testtrn_LDADD = $(BACKENDLNK) $(LDADD) -rigctl_LDADD = $(BACKENDLNK) $(LDADD) ../lib/libmisc.a +listrigs_LDFLAGS = $(BACKENDLNK) +dumpcaps_LDFLAGS = $(BACKENDLNK) +dumpmem_LDFLAGS = $(BACKENDLNK) +testcaps_LDFLAGS = $(BACKENDLNK) +testrig_LDFLAGS = $(BACKENDLNK) +testtrn_LDFLAGS = $(BACKENDLNK) +rigctl_LDFLAGS = $(BACKENDLNK) # rigmatrix needs also libgd -rigmatrix_LDADD = -lgd $(BACKENDLNK) $(LDADD) -testcpp_LDADD = $(BACKENDLNK) ../c++/libhamlib++.la +rigmatrix_LDFLAGS = -lgd $(BACKENDLNK) +testcpp_LDADD = ../c++/libhamlib++.la $(LDADD) +testcpp_LDFLAGS = $(BACKENDLNK) ## Dependencies @@ -50,8 +55,7 @@ testcpp_SOURCES = testcpp.cc rigmatrix.html: rigmatrix_head.html rigmatrix listrigs dumpcaps mkdir -p html ( cd html && cat ../rigmatrix_head.html && ../rigmatrix ) > html/rigmatrix.html - #for f in `./listrigs | tail +2 | cut -f1` ; do ./dumpcaps $f > html/model$1.txt ; done - # ./listrigs | awk 'NR!=1 { system("./dumpcaps $1 > html/model$1.txt") }' + for f in `./listrigs | tail +2 | cut -f1` ; do ./dumpcaps $$f > html/model$$f.txt ; done -EXTRA_DIST = rigmatrix_head.html +EXTRA_DIST = rigmatrix_head.html $(man_MANS)