cifs: add missing Makefile
authorDavid Disseldorp <ddiss@suse.de>
Mon, 15 Dec 2014 23:48:51 +0000 (10:48 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 15 Dec 2014 23:48:51 +0000 (10:48 +1100)
This fixes the make install target, which traverses all tests/*
subdirectories.

Reported-by: David Drysdale <drysdale@google.com>
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/cifs/Makefile [new file with mode: 0644]

diff --git a/tests/cifs/Makefile b/tests/cifs/Makefile
new file mode 100644 (file)
index 0000000..9176e5c
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# Copyright (c) 2003-2005 Silicon Graphics, Inc.  All Rights Reserved.
+#
+
+TOPDIR = ../..
+include $(TOPDIR)/include/builddefs
+
+CIFS_DIR = cifs
+TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(CIFS_DIR)
+
+include $(BUILDRULES)
+
+install:
+       $(INSTALL) -m 755 -d $(TARGET_DIR)
+       $(INSTALL) -m 755 [0-9]?? $(TARGET_DIR)
+       $(INSTALL) -m 644 group $(TARGET_DIR)
+       $(INSTALL) -m 644 [0-9]??.* $(TARGET_DIR)
+
+# Nothing.
+install-dev install-lib: