summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: b9ae962172dd3a33d0a2c15e576a8bef559fc59c (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
ACLOCAL_AMFLAGS = -I m4

lib_LTLIBRARIES = libdevice.la

libdevice_la_SOURCES = \
usr/src/lib/libdevice/devctl.c \
usr/src/lib/libdevice/libdevice.h

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

libdevice_la_LDFLAGS = -version-info 1:0:0
if USE_VERSION_SCRIPT
libdevice_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)$(top_srcdir)/libdevice.vers
endif

AM_CPPFLAGS = \
$(CPPFLAGS_DEBUG)

include_HEADERS = usr/src/lib/libdevice/libdevice.h

EXTRA_DIST = libdevice.vers LICENSE README