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,13 @@ include ../../tooltalk.inc
bin_PROGRAMS = tttar
tttar_CXXFLAGS = $(TIRPCINC) -I../../lib $(TT_VERSION_DEFINE)
tttar_CXXFLAGS = -I../../lib $(TT_VERSION_DEFINE)
tttar_LDADD = @LIBTT@ $(X_LIBS) ../../slib/libstt.a ../../mini_isam/libisam.a
if LINUX
tttar_LDADD += $(TIRPCLIB) $(XTOOLLIB)
endif
tttar_LDADD = @LIBTT@ ../../slib/libstt.a ../../mini_isam/libisam.a \
$(XTOOLLIB)
if SOLARIS
tttar_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
endif
if OPENBSD
tttar_LDADD += $(XTOOLLIB)
tttar_LDADD += -ldl -lintl -lsocket -lnsl
endif
tttar_SOURCES = tttar.C \