diff options
| author | [email protected] <[email protected]> | 2010-05-20 00:10:15 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2010-05-20 00:10:15 +0000 |
| commit | 0fbfdec40dfc11e1be93c74c69b4c55a0724e45a (patch) | |
| tree | 389f8354fdaa53c152cb26f768ab574c01fbe3f3 /components/dfs/filesystems/nfs/SConscript | |
| parent | 5836237ae3d0883dc20364ca59c1f49230690680 (diff) | |
add NFS v3 filesystem implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@721 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs/filesystems/nfs/SConscript')
| -rw-r--r-- | components/dfs/filesystems/nfs/SConscript | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/components/dfs/filesystems/nfs/SConscript b/components/dfs/filesystems/nfs/SConscript new file mode 100644 index 0000000000..d0f6718064 --- /dev/null +++ b/components/dfs/filesystems/nfs/SConscript @@ -0,0 +1,40 @@ +Import('env')
+Import('projects')
+Import('RTT_ROOT')
+Import('rtconfig')
+
+src = Split('''
+mount_clnt.c
+mount_xdr.c
+nfs_clnt.c
+nfs_xdr.c
+dfs_nfs.c
+rpc/auth_none.c
+rpc/clnt_generic.c
+rpc/clnt_udp.c
+rpc/rpc_prot.c
+rpc/pmap.c
+rpc/xdr.c
+rpc/xdr_mem.c
+''')
+
+# group definitions
+group = {}
+group['name'] = 'nfsclient'
+group['src'] = File(src) #Glob('*.c')
+group['CCFLAGS'] = ''
+group['CPPPATH'] = [RTT_ROOT + '/components/dfs/filesystems/nfs']
+group['CPPDEFINES'] = ''
+group['LINKFLAGS'] = ''
+
+# add group to project list
+projects.append(group)
+
+env.Append(CCFLAGS = group['CCFLAGS'])
+env.Append(CPPPATH = group['CPPPATH'])
+env.Append(CPPDEFINES = group['CPPDEFINES'])
+env.Append(LINKFLAGS = group['LINKFLAGS'])
+
+objs = env.Object(group['src'])
+
+Return('objs')
|
