-# 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