summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-18 13:13:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:49 -0500
commitcfc2f3c5ab426d31cc11e47ff4c308cb72209db8 (patch)
tree9f2883bab832fdfe1d1b1f9b127b862a6c8def47 /source4/ntvfs
parent25b69856ec2ecd7f33ea833cc8f604e08d35b6c7 (diff)
downloadsamba-cfc2f3c5ab426d31cc11e47ff4c308cb72209db8.tar.gz
samba-cfc2f3c5ab426d31cc11e47ff4c308cb72209db8.tar.bz2
samba-cfc2f3c5ab426d31cc11e47ff4c308cb72209db8.zip
r766: convert ntvfs/* to a config.mk file
metze (This used to be commit 62d456c144e76b0d14225c2eed5b35bdf9650057)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/config.m418
-rw-r--r--source4/ntvfs/config.mk65
2 files changed, 72 insertions, 11 deletions
diff --git a/source4/ntvfs/config.m4 b/source4/ntvfs/config.m4
index 1cf5b39a7c..b5dbd7e3b7 100644
--- a/source4/ntvfs/config.m4
+++ b/source4/ntvfs/config.m4
@@ -230,20 +230,16 @@ samba_cv_HAVE_SENDFILEV=yes,samba_cv_HAVE_SENDFILEV=no)])
# end check for sendfile support
#################################################
-SMB_MODULE(ntvfs_cifs, NTVFS, STATIC, [ntvfs/cifs/vfs_cifs.o])
+SMB_MODULE_MK(ntvfs_cifs, NTVFS, STATIC, ntvfs/config.mk)
-SMB_MODULE(ntvfs_simple, NTVFS, STATIC,
- [ntvfs/simple/vfs_simple.o],
- [ntvfs/simple/svfs_util.o])
+SMB_MODULE_MK(ntvfs_simple, NTVFS, STATIC, ntvfs/config.mk)
-SMB_MODULE(ntvfs_print, NTVFS, STATIC, [ntvfs/print/vfs_print.o])
+SMB_MODULE_MK(ntvfs_print, NTVFS, STATIC, ntvfs/config.mk)
-SMB_MODULE(ntvfs_ipc, NTVFS, STATIC, [ntvfs/ipc/vfs_ipc.o])
+SMB_MODULE_MK(ntvfs_ipc, NTVFS, STATIC, ntvfs/config.mk)
-SMB_MODULE(ntvfs_posix, NTVFS, STATIC, [ntvfs/posix/vfs_posix.o])
+SMB_MODULE_MK(ntvfs_posix, NTVFS, STATIC, ntvfs/config.mk)
-SMB_MODULE(ntvfs_nbench, NTVFS, STATIC, [ntvfs/nbench/vfs_nbench.o])
+SMB_MODULE_MK(ntvfs_nbench, NTVFS, STATIC, ntvfs/config.mk)
-SMB_SUBSYSTEM(NTVFS,ntvfs/ntvfs_base.o,
- [ntvfs/ntvfs_generic.o
- ntvfs/ntvfs_util.o])
+SMB_SUBSYSTEM_MK(NTVFS,ntvfs/config.mk)
diff --git a/source4/ntvfs/config.mk b/source4/ntvfs/config.mk
new file mode 100644
index 0000000000..0feb380824
--- /dev/null
+++ b/source4/ntvfs/config.mk
@@ -0,0 +1,65 @@
+# NTVFS Server subsystem
+
+################################################
+# Start MODULE ntvfs_cifs
+[MODULE::ntvfs_cifs]
+INIT_OBJ_FILES = \
+ ntvfs/cifs/vfs_cifs.o
+REQUIRED_SUBSYSTEMS = \
+ LIBCLI
+# End MODULE ntvfs_cifs
+################################################
+
+################################################
+# Start MODULE ntvfs_simple
+[MODULE::ntvfs_simple]
+INIT_OBJ_FILES = \
+ ntvfs/simple/vfs_simple.o
+ADD_OBJ_FILES = \
+ ntvfs/simple/svfs_util.o
+# End MODULE ntvfs_cifs
+################################################
+
+################################################
+# Start MODULE ntvfs_print
+[MODULE::ntvfs_print]
+INIT_OBJ_FILES = \
+ ntvfs/print/vfs_print.o
+# End MODULE ntvfs_print
+################################################
+
+################################################
+# Start MODULE ntvfs_ipc
+[MODULE::ntvfs_ipc]
+INIT_OBJ_FILES = \
+ ntvfs/ipc/vfs_ipc.o
+# End MODULE ntvfs_ipc
+################################################
+
+################################################
+# Start MODULE ntvfs_posix
+[MODULE::ntvfs_posix]
+INIT_OBJ_FILES = \
+ ntvfs/posix/vfs_posix.o
+# End MODULE ntvfs_posix
+################################################
+
+################################################
+# Start MODULE ntvfs_nbench
+[MODULE::ntvfs_nbench]
+INIT_OBJ_FILES = \
+ ntvfs/nbench/vfs_nbench.o
+# End MODULE ntvfs_nbench
+################################################
+
+################################################
+# Start SUBSYSTEM NTVFS
+[SUBSYSTEM::NTVFS]
+INIT_OBJ_FILES = \
+ ntvfs/ntvfs_base.o
+ADD_OBJ_FILES = \
+ ntvfs/ntvfs_generic.o \
+ ntvfs/ntvfs_util.o
+#
+# End SUBSYSTEM NTVFS
+################################################