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 = tttrace
tttrace_CXXFLAGS = $(TIRPCINC) -I../../lib
tttrace_CXXFLAGS = -I../../lib
tttrace_LDADD = @LIBTT@ $(X_LIBS)
if LINUX
tttrace_LDADD += $(TIRPCLIB) $(XTOOLLIB)
endif
tttrace_LDADD = @LIBTT@ $(XTOOLLIB)
if SOLARIS
tttrace_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
endif
if OPENBSD
tttrace_LDADD += $(XTOOLLIB)
tttrace_LDADD += -ldl -lintl -lsocket -lnsl
endif
tttrace_SOURCES = tttrace.C tttrace_objs.C