4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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.
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.
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/>.
22 # Copyright (c) 2014, Intel Corporation.
26 # Amir Shehata <amir.shehata@intel.com>
29 lib_LTLIBRARIES = liblnetconfig.la
31 CYAML := $(top_builddir)/lnet/utils/cyaml/cyaml.c \
32 $(top_builddir)/lnet/utils/cyaml/cyaml.h
33 liblnetconfig_la_SOURCES = liblnetconfig.c liblnetconfig.h \
34 liblnetconfig_lnd.c liblnd.h $(CYAML)
35 liblnetconfig_la_CPPFLAGS = -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 \
36 -DLUSTRE_UTILS=1 -I$(top_builddir)/lnet/utils/cyaml
37 liblnetconfig_la_LDFLAGS = -L$(top_builddir)/libcfs/libcfs -version-info 1:1:0