kopia lustrzana https://github.com/Hamlib/Hamlib
Set AC_PREREQ to 2.67, enable Automake warnings
Deprecate the use of the INCLUDES variable in favor of the AM_CPPFLAGS variable per Automake warnings and documentation.Hamlib-3.0
rodzic
f3e732ff94
commit
a5f13e0056
|
@ -3,8 +3,7 @@
|
|||
# more information on swig at http://www.swig.org
|
||||
#
|
||||
|
||||
#INCLUDES = @INCLUDES@ -Dbool=char -I@PERL_INC_DIR@ @TCL_INCLUDE_SPEC@ -I$(top_srcdir)/bindings
|
||||
INCLUDES = @INCLUDES@ -I$(top_srcdir)/bindings @TCL_INCLUDE_SPEC@ @PYTHON_CPPFLAGS@
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/bindings @TCL_INCLUDE_SPEC@ @PYTHON_CPPFLAGS@
|
||||
|
||||
SWGFILES = hamlib.swg ignore.swg rig.swg rotator.swg
|
||||
|
||||
|
@ -16,6 +15,7 @@ BUILT_SOURCES=
|
|||
MOSTLYCLEANFILES=
|
||||
|
||||
AM_CFLAGS = -fno-strict-aliasing
|
||||
|
||||
##########################################
|
||||
# Perl binding
|
||||
|
||||
|
@ -96,7 +96,7 @@ check-tcl: all-tcl
|
|||
install-tcl:
|
||||
clean-tcl:
|
||||
distclean-tcl: clean-tcl
|
||||
uninstall-tcl:
|
||||
uninstall-tcl:
|
||||
|
||||
endif
|
||||
|
||||
|
@ -137,7 +137,7 @@ hamlibpy_wrap.c: hamlib.swg $(SWGDEP)
|
|||
install-py:
|
||||
clean-py:
|
||||
distclean-py:
|
||||
uninstall-py:
|
||||
uninstall-py:
|
||||
|
||||
##########################################
|
||||
lib_LTLIBRARIES = $(tcl_ltlib)
|
||||
|
|
18
configure.ac
18
configure.ac
|
@ -1,7 +1,9 @@
|
|||
## Process this file with autoconf to create configure. -*- autoconf -*-
|
||||
|
||||
## FIXME: Is this really new enough? ##
|
||||
AC_PREREQ(2.59)
|
||||
dnl Autoconf 2.67 is in Debian Squeeze--is an older version needed
|
||||
dnl for some other distribution?
|
||||
## FIXME: Is this too new? ##
|
||||
AC_PREREQ(2.67)
|
||||
|
||||
|
||||
## ------------------------ ##
|
||||
|
@ -18,7 +20,9 @@ AC_CONFIG_MACRO_DIR([macros])
|
|||
## ------------------------ ##
|
||||
## Automake Initialisation. ##
|
||||
## ------------------------ ##
|
||||
AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION, -)
|
||||
dnl Passing AC_PACKAGE_TARNAME, AC_PACKAGE_VERSION to AM_INIT_AUTOMAKE is
|
||||
dnl obsolete as these values are obtained from the AC_INIT macro.
|
||||
AM_INIT_AUTOMAKE([-Wall])
|
||||
AC_CONFIG_HEADERS([include/config.h])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
AM_MAINTAINER_MODE
|
||||
|
@ -92,7 +96,8 @@ fi
|
|||
|
||||
AC_SYS_POSIX_TERMIOS()
|
||||
|
||||
INCLUDES="${INCLUDES} -I\$(top_srcdir)/include -I\$(top_srcdir)/src -I\$(top_srcdir)/lib"
|
||||
# Add Hamlib header include paths
|
||||
AM_CPPFLAGS="${AM_CPPFLAGS} -I\$(top_srcdir)/include -I\$(top_srcdir)/src -I\$(top_srcdir)/lib"
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_TYPE_SIZE_T
|
||||
|
@ -184,7 +189,7 @@ AC_SUBST(LIBLTDL)
|
|||
|
||||
case "$host_os" in
|
||||
freebsd*)
|
||||
INCLUDES="-I/usr/local/include ${INCLUDES}"
|
||||
AM_CPPFLAGS="-I/usr/local/include ${AM_CPPFLAGS}"
|
||||
AM_LDFLAGS="${AM_LDFLAGS} -L/usr/local/lib"
|
||||
AC_SUBST([AM_LDFLAGS])
|
||||
;;
|
||||
|
@ -470,7 +475,7 @@ AC_SUBST(BINDING_UNINSTALL)
|
|||
AC_SUBST(BINDING_LIST)
|
||||
AC_SUBST(BINDING_LIB_TARGETS)
|
||||
|
||||
AC_SUBST(INCLUDES)
|
||||
AC_SUBST(AM_CPPFLAGS)
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
macros/Makefile
|
||||
|
@ -543,7 +548,6 @@ echo \
|
|||
Enable WinRadio ${cf_with_winradio}
|
||||
Enable USRP ${cf_with_usrp}
|
||||
Enable USB backends ${cf_with_libusb}
|
||||
Enable RPC backends ${cf_with_rpc_backends}
|
||||
Enable shared libs ${enable_shared}
|
||||
Enable static libs ${enable_static}
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
|
||||
INCLUDES = @INCLUDES@
|
||||
|
||||
EXTRA_DIST = hamlib.cfg index.doxygen hamlib.css footer.html
|
||||
|
||||
SRCDOCLST = ../src/rig.c ../src/rotator.c ../src/tones.c ../src/locator.c \
|
||||
|
@ -8,5 +5,3 @@ SRCDOCLST = ../src/rig.c ../src/rotator.c ../src/tones.c ../src/locator.c \
|
|||
|
||||
doc: hamlib.cfg $(SRCDOCLST)
|
||||
doxygen hamlib.cfg
|
||||
|
||||
#man_MANS= man/man3/rig.c.3
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
INCLUDES = @INCLUDES@ @INCLTDL@
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@ @INCLTDL@
|
||||
RIGSRC = rig.c serial.c misc.c register.c event.c cal.c conf.c tones.c \
|
||||
rotator.c locator.c rot_reg.c rot_conf.c iofunc.c ext.c \
|
||||
mem.c settings.c parallel.c usb_port.c debug.c network.c \
|
||||
|
|
Ładowanie…
Reference in New Issue