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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user