Whamcloud - gitweb
b14785f8d4b655cae57b95f7f574d6ad2337a15e
[fs/lustre-release.git] / lnet / utils / lnetconfig / Makefile.am
1 #
2 # LGPL HEADER START
3 #
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 2.1 of the
9 # License, or (at your option) any later version.
10 #
11 # This library is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 #
19 # LGPL HEADER END
20
21 #
22 # Copyright (c) 2014, 2017, Intel Corporation.
23 #
24
25 # Author:
26 #   Amir Shehata <amir.shehata@intel.com>
27 #
28
29 lib_LTLIBRARIES = liblnetconfig.la
30
31 liblnetconfig_la_SOURCES  = liblnetconfig.c liblnetconfig.h \
32                             liblnetconfig_lnd.c liblnd.h cyaml.c \
33                             $(top_builddir)/lnet/include/cyaml.h
34 liblnetconfig_la_CPPFLAGS = -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 \
35                             -DLUSTRE_UTILS=1 -I$(top_builddir)/lnet/include
36 liblnetconfig_la_LDFLAGS = -L$(top_builddir)/libcfs/libcfs -lyaml -lm \
37                            $(LIBREADLINE) -version-info 4:0:0
38 liblnetconfig_la_LIBADD = $(top_builddir)/libcfs/libcfs/libcfs.la
39
40 EXTRA_DIST =