Whamcloud - gitweb
LU-5523 mdt: add --index option to default dir stripe
[fs/lustre-release.git] / lnet / lnet / autoMakefile.am
index 285f8fe..424c660 100644 (file)
@@ -1,26 +1,24 @@
-# Copyright (C) 2002  Cluster File Systems, Inc.
-#
-# This code is issued under the GNU General Public License.
-# See the file COPYING in this distribution
+my_sources =    api-ni.c config.c \
+               lib-me.c lib-msg.c lib-eq.c \
+               lib-md.c lib-ptl.c lib-move.c lo.c \
+               router.c router_proc.c \
+               acceptor.c peer.c net_fault.c
 
-my_sources =    api-errno.c api-ni.c api-wrap.c \
-               lib-init.c lib-me.c lib-msg.c lib-eq.c \
-               lib-md.c lib-move.c lib-ni.c lib-pid.c
-
-if !CRAY_PORTALS
 
 if LIBLUSTRE
-noinst_LIBRARIES= libportals.a
-libportals_a_SOURCES= $(my_sources)
-libportals_a_CPPFLAGS = $(LLCPPFLAGS)
-libportals_a_CFLAGS = $(LLCFLAGS)
+noinst_LIBRARIES= liblnet.a
+liblnet_a_SOURCES= $(my_sources)
+liblnet_a_CPPFLAGS = $(LLCPPFLAGS)
+liblnet_a_CFLAGS = $(LLCFLAGS)
 endif
 
 if MODULES
-modulenet_DATA = portals$(KMODEXT)
-endif # MODULES
 
-endif # CRAY_PORTALS
+if LINUX
+modulenet_DATA = lnet$(KMODEXT)
+endif # LINUX
+
+endif # MODULES
 
-MOSTLYCLEANFILES = *.o *.ko *.mod.c
-DIST_SOURCES = $(portals-objs:%.o=%.c)
+MOSTLYCLEANFILES = @MOSTLYCLEANFILES@ lnet
+EXTRA_DIST = $(lnet-objs:%.o=%.c)