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.
27 lines
470 B
Makefile
27 lines
470 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
SUBDIRS = api db mp util tttk
|
|
|
|
include ../tooltalk.inc
|
|
|
|
lib_LTLIBRARIES = libtt.la
|
|
|
|
if AIX
|
|
libtt_la_SOURCES = realpath.c
|
|
else
|
|
libtt_la_SOURCES =
|
|
endif
|
|
|
|
libtt_la_LIBADD = api/c/libapi.la api/dnd/libdnd.la db/libdb.la mp/libmp.la \
|
|
util/libutil.la tttk/libtttk.la -lstdc++
|
|
|
|
if SOLARIS
|
|
libtt_la_LIBADD += -lnsl -lsocket -lintl -ldl -lc -lw
|
|
endif
|
|
|
|
if LINUX
|
|
libtt_la_LIBADD += $(TIRPCLIB)
|
|
endif
|
|
|
|
libtt_la_LDFLAGS = -version-info 2:1:0
|