]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/management/libibcommon/Makefile.am
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / management / libibcommon / Makefile.am
1
2 SUBDIRS = .
3
4 INCLUDES = -I$(srcdir)/include/infiniband
5
6 lib_LTLIBRARIES = libibcommon.la
7
8 libibcommon_la_CFLAGS = -Wall
9
10 if HAVE_LD_VERSION_SCRIPT
11 libibcommon_version_script = -Wl,--version-script=$(srcdir)/src/libibcommon.map
12 else
13 libibcommon_version_script =
14 endif
15
16 libibcommon_la_SOURCES = src/stack.c src/sysfs.c src/util.c src/time.c src/hash.c
17 libibcommon_la_LDFLAGS = -version-info $(ibcommon_api_version) \
18     -export-dynamic $(libibcommon_version_script)
19 libibcommon_la_DEPENDENCIES = $(srcdir)/src/libibcommon.map
20
21 libibcommonincludedir = $(includedir)/infiniband
22
23 libibcommoninclude_HEADERS = $(srcdir)/include/infiniband/common.h
24
25 EXTRA_DIST = $(srcdir)/include/infiniband/common.h \
26         libibcommon.spec.in libibcommon.spec \
27         $(srcdir)/src/libibcommon.map libibcommon.ver autogen.sh
28
29 dist-hook:
30         if [ -x $(top_srcdir)/../gen_chlog.sh ] ; then \
31                 $(top_srcdir)/../gen_chlog.sh $(PACKAGE) > $(distdir)/ChangeLog ; \
32         fi