summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: fcc2fbeb9b0f8a75b487fc5628dfa0d2e5773da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ACLOCAL_AMFLAGS = -I m4

lib_LTLIBRARIES = libsunavl.la

libsunavl_la_SOURCES = \
usr/src/common/avl/avl.c \
usr/src/uts/common/sys/avl.h \
usr/src/uts/common/sys/avl_impl.h

# VERSION_SCRIPT is defined in linker supports
# symbol versioning and versioning is enabled.
# Otherwise VERSION_SCRIPT is empty.

libsunavl_la_LDFLAGS = -version-info 2:0:0
if USE_VERSION_SCRIPT
libsunavl_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)$(top_srcdir)/libsunavl.vers
endif

AM_CPPFLAGS = \
-I$(top_srcdir)/usr/src/uts/common/sys \
$(CPPFLAGS_DEBUG)

libsunavldir = $(includedir)/libsunavl
libsunavl_HEADERS = \
usr/src/uts/common/sys/avl.h \
usr/src/uts/common/sys/avl_impl.h

include_HEADERS = libsunavl.h

EXTRA_DIST = libsunavl.vers LICENSE