kopia lustrzana https://github.com/Hamlib/Hamlib
62 wiersze
1.9 KiB
Makefile
62 wiersze
1.9 KiB
Makefile
|
|
AUTOMAKE_OPTIONS = dejagnu
|
|
DEJATOOL = testfreq testbcd testloc rigctl
|
|
|
|
DISTCLEANFILES = rigctl.log rigctl.sum testbcd.log testbcd.sum
|
|
|
|
bin_PROGRAMS = rigctl rigmem rotctl
|
|
man_MANS = rigctl.1 rigmem.1 rotctl.1
|
|
|
|
check_PROGRAMS = dumpmem testrig testtrn testbcd testfreq listrigs testloc rig_bench @RIGMATRIX@
|
|
|
|
rigctl_SOURCES = rigctl.c dumpcaps.c sprintflst.c
|
|
rigmem_SOURCES = rigmem.c memsave.c memload.c memcsv.c sprintflst.c
|
|
noinst_HEADERS = sprintflst.h
|
|
|
|
EXTRA_PROGRAMS = rigmatrix
|
|
|
|
# all the programs need this
|
|
LDADD = $(top_builddir)/src/libhamlib.la $(top_builddir)/lib/libmisc.la
|
|
DEPENDENCIES = $(top_builddir)/src/libhamlib.la
|
|
|
|
rigmem_CFLAGS = $(AM_CFLAGS) @XML_CFLAGS@
|
|
|
|
## Linker options
|
|
listrigs_LDFLAGS = @BACKENDLNK@
|
|
dumpmem_LDFLAGS = @BACKENDLNK@
|
|
testrig_LDFLAGS = @BACKENDLNK@
|
|
rig_bench_LDFLAGS = $(top_builddir)/lib/libmisc.la @BACKENDLNK@
|
|
testtrn_LDFLAGS = @BACKENDLNK@
|
|
rigctl_LDFLAGS = @BACKENDLNK@
|
|
rigmem_LDFLAGS = @BACKENDLNK@ @XML_LIBS@
|
|
rotctl_LDFLAGS = @ROT_BACKENDLNK@
|
|
|
|
# temporary hack
|
|
testbcd_LDFLAGS = -dlpreopen self
|
|
testloc_LDFLAGS = -dlpreopen self
|
|
|
|
# rigmatrix needs also libgd
|
|
rigmatrix_LDFLAGS = -lgd -lz @BACKENDLNK@
|
|
|
|
## Dependencies
|
|
|
|
dumpmem_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
testrig_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
rig_bench_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
testtrn_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
listrigs_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
rigctl_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
rigmem_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
rotctl_DEPENDENCIES = $(DEPENDENCIES) @ROT_BACKENDEPS@
|
|
rigmatrix_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
|
|
|
|
|
|
|
|
rigmatrix.html: rigmatrix_head.html rigmatrix listrigs
|
|
mkdir -p html
|
|
( cd html && cat ../rigmatrix_head.html && ../rigmatrix ) > html/rigmatrix.html
|
|
for f in `./listrigs | tail +2 | cut -f1` ; do ( ./rigctl -m $$f -u > html/model$$f.txt || exit 0 ) ; done
|
|
|
|
EXTRA_DIST = rigmatrix_head.html $(man_MANS)
|
|
|