Whamcloud - gitweb
LU-5396: o2ib: make local functions static
[fs/lustre-release.git] / lnet / klnds / socklnd / autoMakefile.am
index 0923459..8fac7a6 100644 (file)
@@ -1,9 +1,11 @@
-# Copyright (C) 2001  Cluster File Systems, Inc.
-#
-# This code is issued under the GNU General Public License.
-# See the file COPYING in this distribution
+if MODULES
+if LINUX
 
-modulenet_DATA = ksocknal$(KMODEXT)
+  modulenet_DATA := ksocklnd$(KMODEXT)
 
-MOSTLYCLEANFILES = *.o *.ko *.mod.c
-DIST_SOURCES = $(ksocknal-objs:%.o=%.c) socknal.h
+endif # LINUX
+endif # MODULES
+
+EXTRA_DIST := $(ksocklnd-objs:%.o=%.c) socklnd_lib-linux.h socklnd.h
+
+MOSTLYCLEANFILES = @MOSTLYCLEANFILES@ socklnd_lib.c