Remove $(TIRPCINC) from all Makefile.am files - it no longer exists

Also, restructure some of the dependencies in the lib/tt binaries.  We
will link with libtt (which will include libtirpc as a dependency),
and XTOOLLIB - all the right X11 stuff without needing to add it to
every OS.  Removed several uneeded OS specializations ("if LINUX",
etc) as a result.
This commit is contained in:
Jon Trulson
2019-11-20 18:35:03 -07:00
parent 0f1223a07e
commit c329d5cfd7
43 changed files with 52 additions and 100 deletions

View File

@@ -4,20 +4,12 @@ include ../../tooltalk.inc
bin_PROGRAMS = ttmv ttrm ttcp ttrmdir
AM_CXXFLAGS = -I../../lib $(TIRPCINC) $(TT_VERSION_DEFINE)
AM_CXXFLAGS = -I../../lib $(TT_VERSION_DEFINE)
LDADD = @LIBTT@ $(X_LIBS)
if LINUX
LDADD += $(TIRPCLIB) $(XTOOLLIB)
endif
LDADD = @LIBTT@ $(XTOOLLIB)
if SOLARIS
LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
endif
if OPENBSD
LDADD += $(XTOOLLIB)
LDADD += -ldl -lintl -lsocket -lnsl
endif
ttmv_SOURCES = ttmv.C mover.C