1## Copyright (C) 2007-2009 Stelios Bounanos, M0GLD (m0gld AT enotty DOT net) 2# Copyright (c) 2008 Dave Freese, W1HKJ (w1hkj AT w1hkj DOT com) 3# Copyright (c) 2012 Remi Chateauneu, F4ECW (remi dot chateauneu AT gmail DOT com) 4# License: GPLv3+: GNU GPL version 3 or later. 5 6bin_PROGRAMS = 7SUBDIRS = 8if WANT_FLDIGI 9 bin_PROGRAMS += fldigi 10endif 11if WANT_FLARQ 12 bin_PROGRAMS += flarq 13endif 14 15# The BUILD_* variables are defined in build.m4 16fldigi_CPPFLAGS = -DBUILD_FLDIGI -DLOCALEDIR=\"$(localedir)\" @FLDIGI_BUILD_CPPFLAGS@ -DPKGDATADIR=\"$(pkgdatadir)\" 17fldigi_CXXFLAGS = @FLDIGI_BUILD_CXXFLAGS@ 18fldigi_CFLAGS = @FLDIGI_BUILD_CFLAGS@ 19fldigi_LDFLAGS = @FLDIGI_BUILD_LDFLAGS@ 20fldigi_LDADD = @FLDIGI_BUILD_LDADD@ 21 22flarq_CPPFLAGS = -DBUILD_FLARQ -DLOCALEDIR=\"$(localedir)\" @FLARQ_BUILD_CPPFLAGS@ 23flarq_CXXFLAGS = @FLARQ_BUILD_CXXFLAGS@ 24flarq_CFLAGS = $(fldigi_CFLAGS) 25flarq_LDFLAGS = @FLARQ_BUILD_LDFLAGS@ 26flarq_LDADD = @FLARQ_BUILD_LDADD@ 27 28if WIN32 29fldigi_CPPFLAGS += -fno-var-tracking 30fldigi_CXXFLAGS += -fno-var-tracking 31endif 32 33HAMLIB_SRC = \ 34include/hamlib.h \ 35rigcontrol/hamlib.cxx \ 36include/rigclass.h \ 37rigcontrol/rigclass.cxx 38 39XMLRPC_SRC = \ 40include/xmlrpc.h \ 41network/xmlrpc.cxx 42 43FLDIGI_WIN32_RES_SRC = fldigirc.rc 44 45FLARQ_WIN32_RES_SRC = flarq-src/flarqrc.rc 46 47COMMON_WIN32_RES_SRC = common.rc 48 49BENCHMARK_SRC = include/benchmark.h misc/benchmark.cxx 50 51REGEX_SRC = compat/regex.h compat/regex.c 52 53STACK_SRC = include/stack.h misc/stack.cxx 54 55MINGW32_SRC = include/compat.h compat/getsysinfo.c compat/mingw.c compat/mingw.h 56 57NLS_SRC = misc/nls.cxx include/nls.h 58 59# We distribute these but do not always compile them 60# Build the xmlrpcpp source if libflxmlrpc is not found 61XMLRPCPP_SRC = \ 62 xmlrpcpp/XmlRpcBase64.h \ 63 xmlrpcpp/XmlRpcClient.cpp \ 64 xmlrpcpp/XmlRpcClient.h \ 65 xmlrpcpp/XmlRpcDispatch.cpp \ 66 xmlrpcpp/XmlRpcDispatch.h \ 67 xmlrpcpp/XmlRpcException.h \ 68 xmlrpcpp/XmlRpc.h \ 69 xmlrpcpp/XmlRpcMutex.cpp \ 70 xmlrpcpp/XmlRpcMutex.h \ 71 xmlrpcpp/XmlRpcServerConnection.cpp \ 72 xmlrpcpp/XmlRpcServerConnection.h \ 73 xmlrpcpp/XmlRpcServer.cpp \ 74 xmlrpcpp/XmlRpcServer.h \ 75 xmlrpcpp/XmlRpcServerMethod.cpp \ 76 xmlrpcpp/XmlRpcServerMethod.h \ 77 xmlrpcpp/XmlRpcSocket.cpp \ 78 xmlrpcpp/XmlRpcSocket.h \ 79 xmlrpcpp/XmlRpcSource.cpp \ 80 xmlrpcpp/XmlRpcSource.h \ 81 xmlrpcpp/XmlRpcUtil.cpp \ 82 xmlrpcpp/XmlRpcUtil.h \ 83 xmlrpcpp/XmlRpcValue.cpp \ 84 xmlrpcpp/XmlRpcValue.h 85 86# Build the libmbedtls source if libmbedtls is not found 87LIBMBEDTLS_SRC = \ 88 mbedtls/aes.c \ 89 mbedtls/aesni.c \ 90 mbedtls/arc4.c \ 91 mbedtls/aria.c \ 92 mbedtls/asn1parse.c \ 93 mbedtls/asn1write.c \ 94 mbedtls/base64.c \ 95 mbedtls/bignum.c \ 96 mbedtls/blowfish.c \ 97 mbedtls/camellia.c \ 98 mbedtls/ccm.c \ 99 mbedtls/certs.c \ 100 mbedtls/chacha20.c \ 101 mbedtls/chachapoly.c \ 102 mbedtls/cipher.c \ 103 mbedtls/cipher_wrap.c \ 104 mbedtls/cmac.c \ 105 mbedtls/ctr_drbg.c \ 106 mbedtls/debug.c \ 107 mbedtls/des.c \ 108 mbedtls/dhm.c \ 109 mbedtls/ecdh.c \ 110 mbedtls/ecdsa.c \ 111 mbedtls/ecjpake.c \ 112 mbedtls/ecp.c \ 113 mbedtls/ecp_curves.c \ 114 mbedtls/entropy.c \ 115 mbedtls/entropy_poll.c \ 116 mbedtls/error.c \ 117 mbedtls/gcm.c \ 118 mbedtls/havege.c \ 119 mbedtls/hkdf.c \ 120 mbedtls/hmac_drbg.c \ 121 mbedtls/md2.c \ 122 mbedtls/md4.c \ 123 mbedtls/md5.c \ 124 mbedtls/md.c \ 125 mbedtls/md_wrap.c \ 126 mbedtls/memory_buffer_alloc.c \ 127 mbedtls/net_sockets.c \ 128 mbedtls/nist_kw.c \ 129 mbedtls/oid.c \ 130 mbedtls/padlock.c \ 131 mbedtls/pem.c \ 132 mbedtls/pk.c \ 133 mbedtls/pkcs11.c \ 134 mbedtls/pkcs12.c \ 135 mbedtls/pkcs5.c \ 136 mbedtls/pkparse.c \ 137 mbedtls/pk_wrap.c \ 138 mbedtls/pkwrite.c \ 139 mbedtls/platform.c \ 140 mbedtls/platform_util.c \ 141 mbedtls/poly1305.c \ 142 mbedtls/ripemd160.c \ 143 mbedtls/rsa.c \ 144 mbedtls/rsa_internal.c \ 145 mbedtls/sha1.c \ 146 mbedtls/sha256.c \ 147 mbedtls/sha512.c \ 148 mbedtls/ssl_cache.c \ 149 mbedtls/ssl_ciphersuites.c \ 150 mbedtls/ssl_cli.c \ 151 mbedtls/ssl_cookie.c \ 152 mbedtls/ssl_srv.c \ 153 mbedtls/ssl_ticket.c \ 154 mbedtls/ssl_tls.c \ 155 mbedtls/threading.c \ 156 mbedtls/timing.c \ 157 mbedtls/version.c \ 158 mbedtls/version_features.c \ 159 mbedtls/x509.c \ 160 mbedtls/x509_create.c \ 161 mbedtls/x509_crl.c \ 162 mbedtls/x509_crt.c \ 163 mbedtls/x509_csr.c \ 164 mbedtls/x509write_crt.c \ 165 mbedtls/x509write_csr.c \ 166 mbedtls/xtea.c \ 167 include/mbedtls/aes.h \ 168 include/mbedtls/aesni.h \ 169 include/mbedtls/arc4.h \ 170 include/mbedtls/aria.h \ 171 include/mbedtls/asn1.h \ 172 include/mbedtls/asn1write.h \ 173 include/mbedtls/base64.h \ 174 include/mbedtls/bignum.h \ 175 include/mbedtls/blowfish.h \ 176 include/mbedtls/bn_mul.h \ 177 include/mbedtls/camellia.h \ 178 include/mbedtls/ccm.h \ 179 include/mbedtls/certs.h \ 180 include/mbedtls/chacha20.h \ 181 include/mbedtls/chachapoly.h \ 182 include/mbedtls/check_config.h \ 183 include/mbedtls/cipher.h \ 184 include/mbedtls/cipher_internal.h \ 185 include/mbedtls/cmac.h \ 186 include/mbedtls/compat-1.3.h \ 187 include/mbedtls/config.h \ 188 include/mbedtls/ctr_drbg.h \ 189 include/mbedtls/debug.h \ 190 include/mbedtls/des.h \ 191 include/mbedtls/dhm.h \ 192 include/mbedtls/ecdh.h \ 193 include/mbedtls/ecdsa.h \ 194 include/mbedtls/ecjpake.h \ 195 include/mbedtls/ecp.h \ 196 include/mbedtls/ecp_internal.h \ 197 include/mbedtls/entropy.h \ 198 include/mbedtls/entropy_poll.h \ 199 include/mbedtls/error.h \ 200 include/mbedtls/gcm.h \ 201 include/mbedtls/havege.h \ 202 include/mbedtls/hkdf.h \ 203 include/mbedtls/hmac_drbg.h \ 204 include/mbedtls/md2.h \ 205 include/mbedtls/md4.h \ 206 include/mbedtls/md5.h \ 207 include/mbedtls/md.h \ 208 include/mbedtls/md_internal.h \ 209 include/mbedtls/memory_buffer_alloc.h \ 210 include/mbedtls/net.h \ 211 include/mbedtls/net_sockets.h \ 212 include/mbedtls/nist_kw.h \ 213 include/mbedtls/oid.h \ 214 include/mbedtls/padlock.h \ 215 include/mbedtls/pem.h \ 216 include/mbedtls/pkcs11.h \ 217 include/mbedtls/pkcs12.h \ 218 include/mbedtls/pkcs5.h \ 219 include/mbedtls/pk.h \ 220 include/mbedtls/pk_internal.h \ 221 include/mbedtls/platform.h \ 222 include/mbedtls/platform_time.h \ 223 include/mbedtls/platform_util.h \ 224 include/mbedtls/poly1305.h \ 225 include/mbedtls/ripemd160.h \ 226 include/mbedtls/rsa.h \ 227 include/mbedtls/rsa_internal.h \ 228 include/mbedtls/sha1.h \ 229 include/mbedtls/sha256.h \ 230 include/mbedtls/sha512.h \ 231 include/mbedtls/ssl_cache.h \ 232 include/mbedtls/ssl_ciphersuites.h \ 233 include/mbedtls/ssl_cookie.h \ 234 include/mbedtls/ssl.h \ 235 include/mbedtls/ssl_internal.h \ 236 include/mbedtls/ssl_ticket.h \ 237 include/mbedtls/threading.h \ 238 include/mbedtls/timing.h \ 239 include/mbedtls/version.h \ 240 include/mbedtls/x509_crl.h \ 241 include/mbedtls/x509_crt.h \ 242 include/mbedtls/x509_csr.h \ 243 include/mbedtls/x509.h \ 244 include/mbedtls/xtea.h 245 246 247EXTRA_fldigi_SOURCES = \ 248 $(HAMLIB_SRC) $(XMLRPC_SRC) $(FLDIGI_WIN32_RES_SRC) \ 249 $(COMMON_WIN32_RES_SRC) $(BENCHMARK_SRC) $(REGEX_SRC) $(STACK_SRC) \ 250 $(MINGW32_SRC) $(NLS_SRC) $(XMLRPCPP_SRC) $(LIBMBEDTLS_SRC) 251 252EXTRA_flarq_SOURCES = $(FLARQ_WIN32_RES_SRC) $(COMMON_WIN32_RES_SRC) $(XMLRPCPP_SRC) 253 254fldigi_SOURCES = 255flarq_SOURCES = 256 257fldigi_SOURCES += $(XMLRPC_SRC) 258 259if !ENABLE_FLXMLRPC 260fldigi_SOURCES += $(XMLRPCPP_SRC) 261flarq_SOURCES += $(XMLRPCPP_SRC) 262else 263fldigi_CPPFLAGS += @FLXMLRPC_CFLAGS@ 264fldigi_CXXFLAGS += @FLXMLRPC_CFLAGS@ 265fldigi_CFLAGS += @FLXMLRPC_CFLAGS@ 266fldigi_LDFLAGS += @FLXMLRPC_LIBS@ 267flarq_CPPFLAGS += @FLXMLRPC_CFLAGS@ 268flarq_CXXFLAGS += @FLXMLRPC_CFLAGS@ 269flarq_CFLAGS += @FLXMLRPC_CFLAGS@ 270flarq_LDFLAGS += @FLXMLRPC_LIBS@ 271endif 272 273if !ENABLE_LIBMBEDTLS 274fldigi_SOURCES += $(LIBMBEDTLS_SRC) 275else 276fldigi_CPPFLAGS += @LIBMBEDTLS_CFLAGS@ 277fldigi_CXXFLAGS += @LIBMBEDTLS_CFLAGS@ 278fldigi_CFLAGS += @LIBMBEDTLS_CFLAGS@ 279fldigi_LDFLAGS += @LIBMBEDTLS_LIBS@ 280endif 281 282if ENABLE_HAMLIB 283 fldigi_SOURCES += $(HAMLIB_SRC) 284endif 285if NEED_HAMLIB_LOCATOR 286 fldigi_SOURCES += $(LOCATOR_SRC) 287endif 288 289if ENABLE_BENCHMARK 290 fldigi_SOURCES += $(BENCHMARK_SRC) 291endif 292 293if COMPAT_REGEX 294 fldigi_SOURCES += $(REGEX_SRC) 295 flarq_SOURCES += $(REGEX_SRC) 296endif 297 298if COMPAT_STACK 299 fldigi_SOURCES += $(STACK_SRC) 300 flarq_SOURCES += $(STACK_SRC) 301endif 302 303if MINGW32 304 fldigi_SOURCES += $(MINGW32_SRC) 305 flarq_SOURCES += $(MINGW32_SRC) 306endif 307 308if USE_NLS 309 fldigi_SOURCES += $(NLS_SRC) 310 flarq_SOURCES += $(NLS_SRC) 311endif 312 313######################################################################## 314 315 316FLDIGI_VERSION_MAJOR = @FLDIGI_VERSION_MAJOR@ 317FLDIGI_VERSION_MINOR = @FLDIGI_VERSION_MINOR@ 318FLDIGI_VERSION_PATCH = @FLDIGI_VERSION_PATCH@ 319FLDIGI_VERSION = @FLDIGI_VERSION@ 320FLARQ_VERSION_MAJOR = @FLARQ_VERSION_MAJOR@ 321FLARQ_VERSION_MINOR = @FLARQ_VERSION_MINOR@ 322FLARQ_VERSION_PATCH = @FLARQ_VERSION_PATCH@ 323FLARQ_VERSION = @FLARQ_VERSION@ 324 325# Define the custom silent rule function 326@SILENT_CMDS@ 327 328.EXPORT_ALL_VARIABLES: appbundle nsisinst hamlib-static 329 330# Sources that are generated, 331BUILT_SOURCES = 332# not distributed, 333nodist_fldigi_SOURCES = $(BUILT_SOURCES) 334# and deleted by the clean targets 335CLEANFILES = $(BUILT_SOURCES) 336CLEAN_LOCAL = 337 338if WIN32 339if HAVE_WINDRES 340.rc.o: 341 $(call silent,WRES ,$@)$(WINDRES) -DRC_BUILD_TIME=\\\"$(shell date +%s)\\\" -I$(srcdir) -I$(srcdir)/include -I$(srcdir)/../data/win32 $< -O coff $@ 342fldigi_SOURCES += $(FLDIGI_WIN32_RES_SRC) 343flarq_SOURCES += $(FLARQ_WIN32_RES_SRC) 344endif 345endif 346 347install-exec-local: 348if WANT_FLDIGI 349 if test -f $(srcdir)/../scripts/ftp_kml_files.sh; then \ 350 $(mkinstalldirs) $(DESTDIR)/$(bindir); \ 351 $(INSTALL_SCRIPT) $(srcdir)/../scripts/ftp_kml_files.sh $(DESTDIR)/$(bindir); \ 352 fi 353endif 354 355# TODO: xpm files should probably go to $(datadir)/pixmaps/fldigi instead of $(datadir)/pixmaps 356 357install-data-local: 358if WANT_FLDIGI 359 if test -f $(srcdir)/../data/fldigi.xpm; then \ 360 $(mkinstalldirs) $(DESTDIR)/$(datadir)/pixmaps; \ 361 $(INSTALL_DATA) $(srcdir)/../data/fldigi.xpm $(DESTDIR)/$(datadir)/pixmaps; \ 362 fi 363 if test -f $(srcdir)/../data/fldigi.desktop; then \ 364 $(mkinstalldirs) $(DESTDIR)/$(datadir)/applications; \ 365 $(INSTALL_DATA) $(srcdir)/../data/fldigi.desktop $(DESTDIR)/$(datadir)/applications; \ 366 fi 367 if test -f $(srcdir)/../data/NAVTEX_Stations.csv; then \ 368 $(mkinstalldirs) $(DESTDIR)/$(datadir)/fldigi; \ 369 $(INSTALL_DATA) $(srcdir)/../data/NAVTEX_Stations.csv $(DESTDIR)/$(pkgdatadir); \ 370 fi 371 if test -f $(srcdir)/../data/nsd_bbsss.txt; then \ 372 $(mkinstalldirs) $(DESTDIR)/$(datadir)/fldigi; \ 373 $(INSTALL_DATA) $(srcdir)/../data/nsd_bbsss.txt $(DESTDIR)/$(pkgdatadir); \ 374 fi 375 if test -f $(srcdir)/../data/station_table.txt; then \ 376 $(mkinstalldirs) $(DESTDIR)/$(datadir)/fldigi; \ 377 $(INSTALL_DATA) $(srcdir)/../data/station_table.txt $(DESTDIR)/$(pkgdatadir); \ 378 fi 379 if test -f $(srcdir)/../data/ToR-Stats-SHIP.csv; then \ 380 $(mkinstalldirs) $(DESTDIR)/$(datadir)/fldigi; \ 381 $(INSTALL_DATA) $(srcdir)/../data/ToR-Stats-SHIP.csv $(DESTDIR)/$(pkgdatadir); \ 382 fi 383 if test -f $(srcdir)/../data/wmo_list.txt; then \ 384 $(mkinstalldirs) $(DESTDIR)/$(datadir)/fldigi; \ 385 $(INSTALL_DATA) $(srcdir)/../data/wmo_list.txt $(DESTDIR)/$(pkgdatadir); \ 386 fi 387 if test -f $(srcdir)/../kml/styles.kml; then \ 388 $(mkinstalldirs) $(DESTDIR)/$(pkgdatadir)/kml; \ 389 $(INSTALL_DATA) $(srcdir)/../kml/styles.kml $(DESTDIR)/$(pkgdatadir)/kml; \ 390 fi 391endif 392if WANT_FLARQ 393 if test -f $(srcdir)/../data/flarq.xpm; then \ 394 $(mkinstalldirs) $(DESTDIR)/$(datadir)/pixmaps; \ 395 $(INSTALL_DATA) $(srcdir)/../data/flarq.xpm $(DESTDIR)/$(datadir)/pixmaps; \ 396 fi 397 if test -f $(srcdir)/../data/flarq.desktop; then \ 398 $(mkinstalldirs) $(DESTDIR)/$(datadir)/applications; \ 399 $(INSTALL_DATA) $(srcdir)/../data/flarq.desktop $(DESTDIR)/$(datadir)/applications; \ 400 fi 401endif 402 403uninstall-local: 404if WANT_FLDIGI 405 rm -f $(DESTDIR)/$(datadir)/pixmaps/fldigi.xpm 406 rm -f $(DESTDIR)/$(datadir)/applications/fldigi.desktop 407 rm -fr $(DESTDIR)/$(datadir)/fldigi 408endif 409if WANT_FLARQ 410 rm -f $(DESTDIR)/$(datadir)/pixmaps/flarq.xpm 411 rm -f $(DESTDIR)/$(datadir)/applications/flarq.desktop 412endif 413 414FLDIGI_FL_SRC = \ 415 debug/debug_dialog.fl \ 416 dialogs/confdialog.fl \ 417 dialogs/notifydialog.fl \ 418 dialogs/record_browse.fl \ 419 dialogs/rxmon.fl \ 420 dialogs/testsigs.fl \ 421 logbook/lgbook.fl \ 422 logbook/fd_view.fl \ 423 dxcluster/dx_dialog.fl 424FLARQ_FL_SRC = flarq-src/arqdialogs.fl 425 426if HAVE_FLUID 427flgen: $(FLDIGI_FL_SRC) $(FLARQ_FL_SRC) 428if WANT_FLDIGI 429 $(call silent,FLUID ,$(FLDIGI_FL_SRC))(cd $(srcdir)/include; \ 430 for f in $(FLDIGI_FL_SRC); do \ 431 c=$${f%.fl}.cxx; h=$${f%.fl}.h; h=$${h##*/}; \ 432 $(FLUID) -c -o ../$$c -h $$h ../$$f; \ 433 done) 434endif 435if WANT_FLARQ 436 $(call silent,FLUID ,$(FLARQ_FL_SRC))(cd $(srcdir)/flarq-src/include; \ 437 for f in $(FLARQ_FL_SRC); do \ 438 c=$${f%.fl}.cxx; h=$${f%.fl}.h; h=$${h##*/}; \ 439 $(FLUID) -c -o ../../$$c -h $$h ../../$$f; \ 440 done) 441endif 442endif 443 444 445if WANT_FLDIGI 446 WANT_FLDIGI = yes 447 INSTALLER_FILE = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)_setup.exe 448 APPBUNDLE=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) 449 APPBUNDLE_NOLIBS=$(APPBUNDLE)-nolibs 450endif 451if WANT_FLARQ 452 WANT_FLARQ = yes 453if !WANT_FLDIGI 454 INSTALLER_FILE = flarq-$(FLARQ_VERSION)_setup.exe 455 APPBUNDLE=flarq-$(FLARQ_VERSION) 456 APPBUNDLE_NOLIBS=$(APPBUNDLE)-nolibs 457endif 458endif 459 460if DARWIN 461appbundle: $(bin_PROGRAMS) 462 $(call silent,APPB ,$(APPBUNDLE_NOLIBS) $(APPBUNDLE))sh $(srcdir)/../scripts/mkappbundle.sh "$(srcdir)/../data" . 463 CLEAN_LOCAL += $(APPBUNDLE_NOLIBS) $(APPBUNDLE) $(APPBUNDLE)*.dmg 464endif 465 466if HAVE_NSIS 467nsisinst: $(bin_PROGRAMS) 468 $(call silent,NSIS ,$(INSTALLER_FILE))sh $(srcdir)/../scripts/mknsisinst.sh "$(srcdir)/../data" . 469 CLEANFILES += $(INSTALLER_FILE) 470endif 471 472if USE_NLS 473 CLEAN_LOCAL += share 474endif 475 476if WANT_FLDIGI 477if ENABLE_HAMLIB 478hamlib-static: $(fldigi_OBJECTS) 479 $(call silent,HLS ,fldigi$(EXEEXT))sh $(srcdir)/../scripts/mkhamlibstatic.sh fldigi 480endif 481endif 482 483tmp_srcdir_var=$(srcdir) 484TESTS = $(tmp_srcdir_var)/../scripts/tests/config-h.sh $(tmp_srcdir_var)/../scripts/tests/cr.sh 485 486if HAVE_ASCIIDOC 487$(builddir)/../doc/guide.html: $(builddir)/../doc/guide.txt 488 @$(MAKE) -C $(builddir)/../doc $(AM_MAKEFLAGS) guide.html 489 490$(builddir)/dialogs/guide.cxx: $(builddir)/../doc/guide.html 491 @mkdir -p $(builddir)/dialogs 492 $(call silent,GUIDE ,$@)sed 's/\\/\\\\/g; s/"/\\"/g; s/$$/\\n\\/g; 1 s/.*/const char* szBeginner = "&/; $$ s/.*/&n";/' $< > $@ 493dialogs/htmlstrings.cxx: $(builddir)/dialogs/guide.cxx 494 495distclean-local: 496 @if test "$(builddir)" != "$(srcdir)"; then \ 497 rm -f $(builddir)/dialogs/guide.cxx; \ 498 fi 499endif 500 501clean-local: 502 -rm -rf $(CLEAN_LOCAL) 503 504# Sources that we build. It is OK to have headers here. 505fldigi_SOURCES += \ 506 combo/combo.cxx \ 507 config_script/create_default_script.cxx \ 508 config_script/run_script.h \ 509 config_script/run_scripts.cxx \ 510 config_script/script_parsing.cxx \ 511 config_script/script_parsing.h \ 512 contestia/contestia.cxx \ 513 cw_rtty/cw.cxx \ 514 cw_rtty/morse.cxx \ 515 cw_rtty/nanoIO.cxx \ 516 cw_rtty/ICOMkeying.cxx \ 517 cw_rtty/KYkeying.cxx \ 518 cw_rtty/YAESUkeying.cxx \ 519 cw_rtty/Nav.cxx \ 520 cw_rtty/rtty.cxx \ 521 cw_rtty/view_cw.cxx \ 522 cw_rtty/view_rtty.cxx \ 523 cw_rtty/winkeyer.cxx \ 524 debug/debug.cxx \ 525 debug/debug_dialog.cxx \ 526 dialogs/confdialog.cxx \ 527 dialogs/fl_digi.cxx \ 528 dialogs/font_browser.cxx \ 529 dialogs/htmlstrings.cxx \ 530 dialogs/notifydialog.cxx \ 531 dialogs/record_browse.cxx \ 532 dialogs/rxmon.cxx \ 533 dialogs/testsigs.cxx \ 534 dialogs/tod_clock.cxx \ 535 dialogs/Viewer.cxx \ 536 dominoex/dominoex.cxx \ 537 dominoex/dominovar.cxx \ 538 dtmf/dtmf.cxx \ 539 dxcluster/dxcluster.cxx \ 540 dxcluster/dx_dialog.cxx \ 541 feld/feld.cxx \ 542 feld/feldfonts.cxx \ 543 fft-monitor/fft-monitor.cxx \ 544 fft-monitor/spectrum.cxx \ 545 fft-monitor/spectrum_viewer.cxx \ 546 fileselector/fileselect.cxx \ 547 filters/fftfilt.cxx \ 548 filters/filters.cxx \ 549 filters/viterbi.cxx \ 550 fmt/fmt.cxx \ 551 fmt/fmt_dialog.cxx \ 552 fsq/fsq.cxx \ 553 fsq/fsq_monitor.cxx \ 554 globals/globals.cxx \ 555 ifkp/ifkp.cxx \ 556 ifkp/tux.cxx \ 557 irrxml/CXMLReaderImpl.h \ 558 irrxml/fast_atof.h \ 559 irrxml/heapsort.h \ 560 irrxml/irrArray.h \ 561 irrxml/irrString.h \ 562 irrxml/irrTypes.h \ 563 irrxml/irrXML.cpp \ 564 irrxml/irrXML.h \ 565 kml/kmlserver.cxx \ 566 libtiniconv/tiniconv.c \ 567 libtiniconv/tiniconv_desc.c \ 568 logbook/adif_io.cxx \ 569 logbook/calendar.cxx \ 570 logbook/contest.cxx \ 571 logbook/counties.cxx \ 572 logbook/county_lists.cxx \ 573 logbook/cty-dat.cxx \ 574 logbook/date.cxx \ 575 logbook/fd_logger.cxx \ 576 logbook/fd_view.cxx \ 577 logbook/lgbook.cxx \ 578 logbook/logbook.cxx \ 579 logbook/logsupport.cxx \ 580 logbook/lookupcall.cxx \ 581 logbook/maclogger.cxx \ 582 logbook/n3fjp_logger.cxx \ 583 logbook/qrzlib.cxx \ 584 logbook/qso_db.cxx \ 585 logbook/table.cxx \ 586 logbook/textio.cxx \ 587 logbook/xmlrpc_log.cxx \ 588 logger/logger.cxx \ 589 logger/rx_extract.cxx \ 590 logger/speak.cxx \ 591 main.cxx \ 592 mfsk/interleave.cxx \ 593 mfsk/mfsk.cxx \ 594 mfsk/mfskvaricode.cxx \ 595 misc/arq_io.cxx \ 596 misc/ascii.cxx \ 597 misc/ax25_decode.cxx \ 598 misc/charsetdistiller.cxx \ 599 misc/charsetlist.cxx \ 600 misc/configuration.cxx \ 601 misc/coordinate.cxx \ 602 misc/dxcc.cxx \ 603 misc/estrings.cxx \ 604 misc/icons.cxx \ 605 misc/kiss_io.cxx \ 606 misc/locator.cxx \ 607 misc/log.cxx \ 608 misc/macroedit.cxx \ 609 misc/macros.cxx \ 610 misc/misc.cxx \ 611 misc/newinstall.cxx \ 612 misc/outputencoder.cxx \ 613 misc/pixmaps.cxx \ 614 misc/pixmaps_tango.cxx \ 615 misc/record_loader.cxx \ 616 misc/re.cxx \ 617 misc/stacktrace.cxx \ 618 misc/status.cxx \ 619 misc/strutil.cxx \ 620 misc/threads.cxx \ 621 misc/timeops.cxx \ 622 misc/utf8file_io.cxx \ 623 misc/util.cxx \ 624 mt63/dsp.cxx \ 625 mt63/mt63base.cxx \ 626 mt63/mt63.cxx \ 627 navtex/navtex.cxx \ 628 network/ca_cert.cxx \ 629 network/metar.cxx \ 630 network/network.cxx \ 631 network/socket.cxx \ 632 network/weather.cxx \ 633 olivia/olivia.cxx \ 634 psk/pskcoeff.cxx \ 635 psk/psk.cxx \ 636 psk/pskeval.cxx \ 637 psk/pskvaricode.cxx \ 638 psk/viewpsk.cxx \ 639 psm/psm.cxx \ 640 psm/psm.h \ 641 qrunner/fqueue.h \ 642 qrunner/qrunner.cxx \ 643 rigcontrol/FreqControl.cxx \ 644 rigcontrol/norig.cxx \ 645 rigcontrol/ptt.cxx \ 646 rigcontrol/rigio.cxx \ 647 rigcontrol/rigsupport.cxx \ 648 rigcontrol/rigxml.cxx \ 649 rigcontrol/serial.cxx \ 650 rigcontrol/xmlrpc_rig.cxx \ 651 rsid/rsid.cxx \ 652 soundcard/audio_alert.cxx \ 653 soundcard/bark.cxx \ 654 soundcard/checkout.cxx \ 655 soundcard/diesel.cxx \ 656 soundcard/dinnerbell.cxx \ 657 soundcard/doesnot.cxx \ 658 soundcard/play.pa.cxx \ 659 soundcard/soundconf.cxx \ 660 soundcard/sound.cxx \ 661 soundcard/steam_train.cxx \ 662 soundcard/ttybell.cxx \ 663 spot/notify.cxx \ 664 spot/pskrep.cxx \ 665 spot/spot.cxx \ 666 ssb/ssb.cxx \ 667 synop-src/synop.cxx \ 668 thor/thor.cxx \ 669 thor/thorvaricode.cxx \ 670 throb/throb.cxx \ 671 trx/modem.cxx \ 672 trx/nullmodem.cxx \ 673 trx/test_signal.cxx \ 674 trx/trx.cxx \ 675 waterfall/colorbox.cxx \ 676 waterfall/digiscope.cxx \ 677 waterfall/raster.cxx \ 678 waterfall/waterfall.cxx \ 679 wefax/wefax.cxx \ 680 wefax/wefax_map.cxx \ 681 wefax/wefax-pic.cxx \ 682 widgets/flinput2.cxx \ 683 widgets/flmisc.cxx \ 684 widgets/flslider2.cxx \ 685 widgets/Fl_Text_Buffer_mod.cxx \ 686 widgets/Fl_Text_Display_mod.cxx \ 687 widgets/Fl_Text_Editor_mod.cxx \ 688 widgets/FTextRXTX.cxx \ 689 widgets/FTextView.cxx \ 690 widgets/Panel.cxx \ 691 widgets/picture.cxx \ 692 widgets/plot_xy.cxx \ 693 widgets/progress.cxx \ 694 widgets/psk_browser.cxx \ 695 widgets/pwrmeter.cxx \ 696 widgets/smeter.cxx \ 697 widgets/vumeter.cxx \ 698 wwv/analysis.cxx \ 699 wwv/wwv.cxx 700 701# packet/pkt.cxx 702# include/pkt.h 703 704# Sources that are part of the distribution but are not compiled directly 705EXTRA_fldigi_SOURCES += \ 706 blank/blank.cxx \ 707 blank/blank.h \ 708 dialogs/fl_digi_main.cxx \ 709 dxcluster/arc-help.cxx \ 710 dxcluster/CCC_Commands.cxx \ 711 dxcluster/DXClusterServers.cxx \ 712 dxcluster/DXSpiderCommandReference.cxx \ 713 fileselector/flnfc_common.cxx \ 714 feld/Feld7x7-14.cxx \ 715 feld/Feld7x7n-14.cxx \ 716 feld/FeldDx-14.cxx \ 717 feld/FeldFat-14.cxx \ 718 feld/FeldHell-12.cxx \ 719 feld/FeldLittle-12.cxx \ 720 feld/FeldLo8-14.cxx \ 721 feld/FeldLow-14.cxx \ 722 feld/FeldModern-14.cxx \ 723 feld/FeldModern8-14.cxx \ 724 feld/FeldNarr-14.cxx \ 725 feld/FeldReal-14.cxx \ 726 feld/FeldStyl-14.cxx \ 727 feld/FeldVert-14.cxx \ 728 feld/FeldWide-14.cxx \ 729 fsq/fsq_varicode.cxx \ 730 include/crc8.h \ 731 include/Fl_Text_Buffer_mod.H \ 732 include/Fl_Text_Display_mod.H \ 733 include/Fl_Text_Editor_mod.H \ 734 fsq/fsq-pic.cxx \ 735 fsq/bitmaps.cxx \ 736 ifkp/ifkp_bitmaps.cxx \ 737 ifkp/ifkp_varicode.cxx \ 738 ifkp/ifkp-pic.cxx \ 739 mfsk/mfsk-pic.cxx \ 740 mt63/alias_1k.dat \ 741 mt63/alias_2k.dat \ 742 mt63/morse.dat \ 743 mt63/symbol.dat \ 744 mt63/alias_k5.dat \ 745 mt63/mt63intl.dat \ 746 rsid/rsid_defs.cxx \ 747 thor/thor-pic.cxx \ 748 trx/tune.cxx \ 749 dialogs/guide.cxx \ 750 include/adif_def.h \ 751 include/adif_io.h \ 752 include/analysis.h \ 753 include/arq_io.h \ 754 include/ascii.h \ 755 include/audio_alert.h \ 756 include/ax25_decode.h \ 757 include/calendar.h \ 758 include/charsetdistiller.h \ 759 include/charsetlist.h \ 760 include/colorbox.h \ 761 include/combo.h \ 762 include/complex.h \ 763 include/confdialog.h \ 764 include/configuration.h \ 765 include/contest.h \ 766 include/contestia.h \ 767 include/coordinate.h \ 768 include/counties.h \ 769 include/cw.h \ 770 include/data_io.h \ 771 include/date.h \ 772 include/debug.h \ 773 include/debug_dialog.h \ 774 include/digiscope.h \ 775 include/dominoex.h \ 776 include/dominovar.h \ 777 include/dr_mp3.h \ 778 include/dsp.h \ 779 include/dtmf.h \ 780 include/dxcc.h \ 781 include/dx_cluster.h \ 782 include/dx_dialog.h \ 783 include/estrings.h \ 784 include/fd_logger.h \ 785 include/fd_view.h \ 786 include/feld.h \ 787 include/fftfilt.h \ 788 include/fft-monitor.h \ 789 include/field_def.h \ 790 include/fileselect.h \ 791 include/filters.h \ 792 include/fldigi-config.h \ 793 include/fl_digi.h \ 794 include/flinput2.h \ 795 include/flmisc.h \ 796 include/flslider2.h \ 797 include/fmt.h \ 798 include/fmt_dialog.h \ 799 include/font_browser.h \ 800 include/fontdef.h \ 801 include/FreqControl.h \ 802 include/fsq.h \ 803 include/FTextRXTX.h \ 804 include/FTextView.h \ 805 include/gettext.h \ 806 include/gfft.h \ 807 include/globals.h \ 808 include/hidapi.h \ 809 include/hid_lin.h \ 810 include/hid_mac.h \ 811 include/hid_win.h \ 812 include/htmlstrings.h \ 813 include/https.h \ 814 include/icons.h \ 815 include/ifkp.h \ 816 include/interleave.h \ 817 include/jalocha/pj_cmpx.h \ 818 include/jalocha/pj_fft.h \ 819 include/jalocha/pj_fht.h \ 820 include/jalocha/pj_fifo.h \ 821 include/jalocha/pj_gray.h \ 822 include/jalocha/pj_lowpass3.h \ 823 include/jalocha/pj_mfsk.h \ 824 include/jalocha/pj_struc.h \ 825 include/kiss_io.h \ 826 include/kmlserver.h \ 827 include/ICOMkeying.h \ 828 include/KYkeying.h \ 829 include/YAESUkeying.h \ 830 include/lgbook.h \ 831 include/locator.h \ 832 include/logbook.h \ 833 include/logger.h \ 834 include/log.h \ 835 include/logsupport.h \ 836 include/lookupcall.h \ 837 include/maclogger.h \ 838 include/macroedit.h \ 839 include/macros.h \ 840 include/main.h \ 841 include/mbuffer.h \ 842 include/metar.h \ 843 include/mfsk.h \ 844 include/mfskvaricode.h \ 845 include/misc.h \ 846 include/modem.h \ 847 include/morse.h \ 848 include/mt63base.h \ 849 include/mt63.h \ 850 include/n3fjp_logger.h \ 851 include/nanoIO.h \ 852 include/Nav.h \ 853 include/navtex.h \ 854 include/navtex.h \ 855 include/nco.h \ 856 include/network.h \ 857 include/newinstall.h \ 858 include/notifydialog.h \ 859 include/notify.h \ 860 include/nullmodem.h \ 861 include/olivia.h \ 862 include/outputencoder.h \ 863 include/Panel.h \ 864 include/picture.h \ 865 include/plot_xy.h \ 866 include/pixmaps.h \ 867 include/pkg.h \ 868 include/play.pa.h \ 869 include/progress.h \ 870 include/psk_browser.h \ 871 include/pskcoeff.h \ 872 include/pskeval.h \ 873 include/psk.h \ 874 include/pskrep.h \ 875 include/pskvaricode.h \ 876 include/ptt.h \ 877 include/pwrmeter.h \ 878 include/qrunner.h \ 879 include/qrzlib.h \ 880 include/qso_db.h \ 881 include/raster.h \ 882 include/record_browse.h \ 883 include/record_loader_gui.h \ 884 include/record_loader.h \ 885 include/re.h \ 886 include/rigCAT.h \ 887 include/rigio.h \ 888 include/rigsupport.h \ 889 include/rigxml.h \ 890 include/ringbuffer.h \ 891 include/rsid.h \ 892 include/rtty.h \ 893 include/rx_extract.h \ 894 include/rxmon.h \ 895 include/serial.h \ 896 include/smeter.h \ 897 include/vumeter.h \ 898 include/socket.h \ 899 include/soundconf.h \ 900 include/sound.h \ 901 include/speak.h \ 902 include/spectrum.h \ 903 include/spectrum_viewer.h \ 904 include/spot.h \ 905 include/ssb.h \ 906 include/stacktrace.h \ 907 include/status.h \ 908 include/status_box.h \ 909 include/strutil.h \ 910 include/synop.h \ 911 include/tabdefs.h \ 912 include/table.h \ 913 include/testmodem.h \ 914 include/test_signal.h \ 915 include/testsigs.h \ 916 include/textio.h \ 917 include/thor.h \ 918 include/thorvaricode.h \ 919 include/threads.h \ 920 include/throb.h \ 921 include/timeops.h \ 922 include/trx.h \ 923 include/utf8file_io.h \ 924 include/util.h \ 925 include/view_cw.h \ 926 include/Viewer.h \ 927 include/viewpsk.h \ 928 include/view_rtty.h \ 929 include/viterbi.h \ 930 include/waterfall.h \ 931 include/weather.h \ 932 include/wefax.h \ 933 include/wefax_map.h \ 934 include/wefax-pic.h \ 935 include/winkeyer.h \ 936 include/wwv.h \ 937 include/xmlreader.h \ 938 libtiniconv/tiniconv.h \ 939 libtiniconv/tiniconv_int.h \ 940 libtiniconv/encdec/ascii.h \ 941 libtiniconv/encdec/big5.h \ 942 libtiniconv/encdec/ces_big5.h \ 943 libtiniconv/encdec/ces_gbk.h \ 944 libtiniconv/encdec/cp1250.h \ 945 libtiniconv/encdec/cp1251.h \ 946 libtiniconv/encdec/cp1252.h \ 947 libtiniconv/encdec/cp1253.h \ 948 libtiniconv/encdec/cp1254.h \ 949 libtiniconv/encdec/cp1255.h \ 950 libtiniconv/encdec/cp1256.h \ 951 libtiniconv/encdec/cp1257.h \ 952 libtiniconv/encdec/cp1258.h \ 953 libtiniconv/encdec/cp866.h \ 954 libtiniconv/encdec/cp936ext.h \ 955 libtiniconv/encdec/cp936.h \ 956 libtiniconv/encdec/euc_cn.h \ 957 libtiniconv/encdec/flushwc.h \ 958 libtiniconv/encdec/gb2312.h \ 959 libtiniconv/encdec/gbkext1.h \ 960 libtiniconv/encdec/gbkext2.h \ 961 libtiniconv/encdec/gbkext_inv.h \ 962 libtiniconv/encdec/gbk.h \ 963 libtiniconv/encdec/iso2022_jp.h \ 964 libtiniconv/encdec/iso8859_10.h \ 965 libtiniconv/encdec/iso8859_11.h \ 966 libtiniconv/encdec/iso8859_13.h \ 967 libtiniconv/encdec/iso8859_14.h \ 968 libtiniconv/encdec/iso8859_15.h \ 969 libtiniconv/encdec/iso8859_16.h \ 970 libtiniconv/encdec/iso8859_1.h \ 971 libtiniconv/encdec/iso8859_2.h \ 972 libtiniconv/encdec/iso8859_3.h \ 973 libtiniconv/encdec/iso8859_4.h \ 974 libtiniconv/encdec/iso8859_5.h \ 975 libtiniconv/encdec/iso8859_6.h \ 976 libtiniconv/encdec/iso8859_7.h \ 977 libtiniconv/encdec/iso8859_8.h \ 978 libtiniconv/encdec/iso8859_9.h \ 979 libtiniconv/encdec/jisx0201.h \ 980 libtiniconv/encdec/jisx0208.h \ 981 libtiniconv/encdec/koi8_r.h \ 982 libtiniconv/encdec/koi8_ru.h \ 983 libtiniconv/encdec/koi8_u.h \ 984 libtiniconv/encdec/mac_cyrillic.h \ 985 libtiniconv/encdec/ucs2.h \ 986 libtiniconv/encdec/utf7.h \ 987 libtiniconv/encdec/utf8.h \ 988 libtiniconv/encdec/vietcomb.h 989 990flarq_SOURCES += \ 991 dialogs/font_browser.cxx \ 992 flarq-src/arq.cxx \ 993 flarq-src/arqdialogs.cxx \ 994 flarq-src/arqhelp.cxx \ 995 flarq-src/b64.cxx \ 996 flarq-src/flarq.cxx \ 997 flarq-src/flarqenv.cxx \ 998 flarq-src/xml_server.cxx \ 999 flarq-src/include/arq.h \ 1000 flarq-src/include/arqdialogs.h \ 1001 flarq-src/include/b64.h \ 1002 flarq-src/include/flarq.h \ 1003 flarq-src/include/flarqenv.h \ 1004 flarq-src/include/xml_server.h \ 1005 include/F_Edit.h \ 1006 include/fileselect.h \ 1007 include/flinput2.h \ 1008 include/flmisc.h \ 1009 include/flslider2.h \ 1010 include/font_browser.h \ 1011 include/icons.h \ 1012 include/pixmaps.h \ 1013 include/re.h \ 1014 include/socket.h \ 1015 include/stacktrace.h \ 1016 include/threads.h \ 1017 include/table.h \ 1018 include/util.h \ 1019 combo/combo.cxx \ 1020 fileselector/fileselect.cxx \ 1021 logbook/table.cxx \ 1022 misc/ascii.cxx \ 1023 misc/stacktrace.cxx \ 1024 misc/threads.cxx \ 1025 misc/timeops.cxx \ 1026 network/socket.cxx \ 1027 widgets/flinput2.cxx \ 1028 widgets/flmisc.cxx \ 1029 widgets/flslider2.cxx \ 1030 misc/icons.cxx \ 1031 misc/pixmaps.cxx \ 1032 misc/pixmaps_tango.cxx \ 1033 misc/re.cxx \ 1034 misc/util.cxx \ 1035 widgets/Fl_Text_Buffer_mod.cxx \ 1036 widgets/Fl_Text_Display_mod.cxx \ 1037 widgets/Fl_Text_Editor_mod.cxx \ 1038 widgets/FTextView.cxx \ 1039 widgets/F_Edit.cxx 1040 1041# Additional files that we distribute 1042EXTRA_DIST = \ 1043 $(srcdir)/../build-aux/config.rpath \ 1044 $(srcdir)/../scripts/mkappbundle.sh \ 1045 $(srcdir)/../scripts/mkhamlibstatic.sh \ 1046 $(srcdir)/../scripts/mknsisinst.sh \ 1047 $(srcdir)/../scripts/buildmxe.sh \ 1048 $(srcdir)/../scripts/builddist.sh \ 1049 $(srcdir)/../scripts/tests/cr.sh \ 1050 $(srcdir)/../scripts/tests/config-h.sh \ 1051 $(srcdir)/../data/fldigi-psk.png \ 1052 $(srcdir)/../data/fldigi-rtty.png \ 1053 $(srcdir)/../data/fldigi.xpm \ 1054 $(srcdir)/../data/fldigi.desktop \ 1055 $(srcdir)/../data/NAVTEX_Stations.csv \ 1056 $(srcdir)/../data/nsd_bbsss.txt \ 1057 $(srcdir)/../data/station_table.txt \ 1058 $(srcdir)/../data/ToR-Stats-SHIP.csv \ 1059 $(srcdir)/../data/mac/Info.plist.in \ 1060 $(srcdir)/../data/mac/fldigi.icns \ 1061 $(srcdir)/../data/win32/fldigi.ico \ 1062 $(srcdir)/../data/win32/fldigi.nsi \ 1063 $(srcdir)/../data/flarq.desktop \ 1064 $(srcdir)/../data/flarq.xpm \ 1065 $(srcdir)/../data/mac/flarq.icns \ 1066 $(srcdir)/../data/win32/flarq.ico \ 1067 $(srcdir)/mbedtls/libmbedtls.pc \ 1068 $(srcdir)/mbedtls/LICENSE \ 1069 $(srcdir)/mbedtls/gpl-2.0.txt \ 1070 $(srcdir)/synop-src/synop_tool.cxx \ 1071 $(srcdir)/synop-src/README \ 1072 $(srcdir)/synop-src/Makefile \ 1073 $(FLDIGI_FL_SRC) \ 1074 $(FLARQ_FL_SRC) 1075