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.
24 lines
431 B
Makefile
24 lines
431 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
include ../../tooltalk.inc
|
|
|
|
bin_PROGRAMS = ttsession
|
|
|
|
ttsession_CXXFLAGS = -I../../slib -I../../lib $(TT_VERSION_DEFINE)
|
|
|
|
ttsession_LDADD = @LIBTT@ $(X_LIBS) ../../slib/libstt.a
|
|
|
|
if LINUX
|
|
ttsession_LDADD += $(TIRPCLIB) $(XTOOLLIB)
|
|
endif
|
|
|
|
if SOLARIS
|
|
ttsession_LDADD += $(XTOOLLIB) -ldl -lintl -lsocket -lnsl
|
|
endif
|
|
|
|
if OPENBSD
|
|
ttsession_LDADD += $(XTOOLLIB)
|
|
endif
|
|
|
|
ttsession_SOURCES = mp_server.C
|