35 lines
802 B
Makefile
35 lines
802 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
SUBDIRS = api db mp util tttk
|
|
|
|
lib_LTLIBRARIES = libtt.la
|
|
|
|
# if you are on a system that does not support realpath(), you may need to
|
|
# include realpath.c in the _SOURCES
|
|
#
|
|
#libtt_la_SOURCES = realpath.c
|
|
|
|
libtt_la_SOURCES =
|
|
|
|
# fake things so libtool creates this as a C++ library
|
|
nodist_EXTRA_libtt_la_SOURCES = dummy.cxx
|
|
libtt_la_LIBADD = api/c/libapi.la api/dnd/libdnd.la db/libdb.la mp/libmp.la \
|
|
util/libutil.la tttk/libtttk.la
|
|
|
|
if SOLARIS
|
|
# This stuff should be figured out by configure
|
|
libtt_la_LIBADD += -lnsl -lsocket -lintl -lw
|
|
endif
|
|
|
|
if LINUX
|
|
libtt_la_LIBADD += $(TIRPCLIB)
|
|
endif
|
|
|
|
# in order to try to keep lib versions the same across platforms, (2.1.0)
|
|
if BSD
|
|
libtt_la_LDFLAGS = -version-info 2:1:0
|
|
else
|
|
libtt_la_LDFLAGS = -version-info 3:0:1
|
|
endif
|
|
|