1SubDir HAIKU_TOP src add-ons kernel file_systems netfs client ;
2
3UsePrivateHeaders shared ;
4UsePrivateKernelHeaders ;
5
6local userlandFSIncludes = [ FDirName $(HAIKU_TOP) headers private
7	userlandfs ] ;
8
9SubDirSysHdrs [ FDirName $(userlandFSIncludes) legacy ] ;
10SubDirSysHdrs [ FDirName $(userlandFSIncludes) public ] ;
11SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ;
12
13SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) headers authentication_server ] ;
14SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) headers fs ] ;
15SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) headers shared ] ;
16
17SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) shared ] ;
18SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems
19	userlandfs shared ] ;
20
21DEFINES += USER=1 ;
22DEFINES += DEBUG_APP="\\\"netfs\\\"" ;
23
24# If defined this doesn't remove the local machine from the servers accessible
25# via netfs. For debugging purposes only.
26if $(NETFS_ADD_SERVER_LOCALHOST) {
27	DEFINES += ADD_SERVER_LOCALHOST=$(NETFS_ADD_SERVER_LOCALHOST) ;
28}
29
30Addon netfs
31	: DebugSupport.cpp
32#	  Locker.cpp
33	  ObjectTracker.cpp
34#	  Referencable.cpp
35
36	  AbstractConnection.cpp
37	  AttrDirInfo.cpp
38	  AuthenticationServerDefs.cpp
39#	  Blocker.cpp
40#	  BlockerPool.cpp
41	  Channel.cpp
42	  Connection.cpp
43	  ConnectionFactory.cpp
44	  EntryInfo.cpp
45	  FSObject.cpp
46	  InsecureChannel.cpp
47	  InsecureConnection.cpp
48#	  KMessage.cpp
49	  NetAddress.cpp
50	  NetFSDefs.cpp
51	  NodeInfo.cpp
52	  PortChannel.cpp
53	  PortConnection.cpp
54	  Request.cpp
55	  RequestChannel.cpp
56	  RequestConnection.cpp
57	  RequestDumper.cpp
58	  RequestFactory.cpp
59	  RequestFlattener.cpp
60	  RequestHandler.cpp
61	  Requests.cpp
62	  RequestUnflattener.cpp
63	  ServerInfo.cpp
64	  ServerNodeID.cpp
65	  TaskManager.cpp
66	  ThreadLocal.cpp
67
68	  AuthenticationServer.cpp
69	  ExtendedServerInfo.cpp
70	  netfs.cpp
71	  Node.cpp
72	  QueryIterator.cpp
73	  QueryManager.cpp
74	  RootVolume.cpp
75	  ServerConnection.cpp
76	  ServerConnectionProvider.cpp
77	  ServerManager.cpp
78	  ServerQueryIterator.cpp
79	  ServerVolume.cpp
80	  ShareAttrDir.cpp
81	  ShareAttrDirIterator.cpp
82	  ShareNode.cpp
83	  ShareVolume.cpp
84	  VirtualDir.cpp
85	  VirtualVolume.cpp
86	  Volume.cpp
87	  VolumeEvent.cpp
88	  VolumeManager.cpp
89
90	: be libuserlandfs_beos_kernel.so
91	  $(TARGET_NETWORK_LIBS) [ TargetLibsupc++ ] shared
92;
93