Fixed circular dependency for rpc.rigd and rpc.rotd

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@871 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.3
Francois Retief 2002-01-16 19:17:10 +00:00
rodzic a70ef2ab58
commit 4cd87b3f11
3 zmienionych plików z 19 dodań i 6 usunięć

Wyświetl plik

@ -4,7 +4,8 @@ aclocal_DATA = hamlib.m4
EXTRA_DIST = PLAN TODO LICENSE hamlib.m4
SUBDIRS = include lib libltdl src @BACKEND_LIST@ c++ tcl tests doc
SUBDIRS = include lib libltdl src @BACKEND_LIST@ @ROT_BACKEND_LIST@ \
c++ tcl tests doc
DIST_SUBDIRS = include lib libltdl src c++ tcl tests doc \
icom kenwood aor yaesu dummy pcr alinco uniden tentec kachina jrc \

Wyświetl plik

@ -154,7 +154,8 @@ fi
AC_SUBST(NET)
BACKEND_LIST="icom kenwood aor yaesu dummy pcr alinco uniden tentec kachina jrc easycomm"
BACKEND_LIST="icom kenwood aor yaesu dummy pcr alinco uniden tentec kachina jrc"
ROT_BACKEND_LIST="dummy easycomm"
case "$host_os" in
linux-gnu*)
@ -165,7 +166,8 @@ case "$host_os" in
esac
if test "${ac_cv_header_rpc_rpc_h}" = "yes" ; then
BACKEND_LIST="$BACKEND_LIST rpcrig rpcrot"
BACKEND_LIST="$BACKEND_LIST rpcrig"
ROT_BACKEND_LIST="$ROT_BACKEND_LIST rpcrot"
fi
# dlopen force or preopen self for static version ?
@ -178,6 +180,16 @@ AC_SUBST(BACKEND_LIST)
AC_SUBST(BACKENDLNK)
AC_SUBST(BACKENDEPS)
# dlopen force or preopen self for static version ?
ROT_BACKENDLNK="-dlopen force"
for be in ${ROT_BACKEND_LIST} ; do
ROT_BACKENDLNK="${ROT_BACKENDLNK} -dlopen ../${be}/libhamlib-${be}.la"
ROT_BACKENDEPS="${ROT_BACKENDEPS} ../${be}/libhamlib-${be}.la"
done
AC_SUBST(ROT_BACKEND_LIST)
AC_SUBST(ROT_BACKENDLNK)
AC_SUBST(ROT_BACKENDEPS)
Xsed="sed -e s/^X//"
LTLIBOBJS=`echo X"$LIBOBJS" | $Xsed -e "s,\.[^.]* ,.lo ,g;s,\.[^.]*\$,.lo,"`
AC_SUBST(LIBOBJS)

Wyświetl plik

@ -1,4 +1,4 @@
# $Id: Makefile.am,v 1.1 2002-01-16 16:45:11 fgretief Exp $
# $Id: Makefile.am,v 1.2 2002-01-16 19:17:10 fgretief Exp $
#
# rpcrot_xdr.c rpcrot_svc.c rpcrot_clnt.c and rpcrot.h are generated by rpcgen
# have to provide: rpcrot_proc.c rpcrotd.c rpcrot_backend.c
@ -11,9 +11,9 @@ DEPENDENCIES = ../src/libhamlib.la
# The RPC server
sbin_PROGRAMS = rpc.rotd
rpc_rotd_DEPENDENCIES = $(DEPENDENCIES) @BACKENDEPS@
rpc_rotd_DEPENDENCIES = $(DEPENDENCIES) @ROT_BACKENDEPS@
rpc_rotd_SOURCES = $(RPCROT_SVC)
rpc_rotd_LDFLAGS = @BACKENDLNK@
rpc_rotd_LDFLAGS = @ROT_BACKENDLNK@
man_MANS = rpc.rotd.8
# The RPC backend