Moved libnetapi.so sources into the src/kit/net/ directory - they don't yet build, though.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18678 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-08-28 21:46:23 +00:00
parent d284820b70
commit 6fdccb80f5
6 changed files with 9 additions and 15 deletions

View File

@ -18,3 +18,4 @@ SharedLibrary libnetwork.so :
;
SubInclude HAIKU_TOP src kits network dns ;
SubInclude HAIKU_TOP src kits network libnetapi ;

View File

@ -1,9 +1,9 @@
SubDir HAIKU_TOP src kits network compat libnetapi ;
SubDir HAIKU_TOP src kits network libnetapi ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders net ;
UseHeaders [ FDirName $(HAIKU_TOP) headers legacy network ] : true ;
#UsePrivateHeaders net ;
#UseHeaders [ FDirName $(HAIKU_TOP) headers legacy network ] : true ;
if $(TARGET_PLATFORM) != haiku {
UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
@ -11,17 +11,10 @@ if $(TARGET_PLATFORM) != haiku {
# Unfortunately we get more than we want, namely all POSIX headers.
UseHeaders [ FStandardOSHeaders ] : true ;
# Needed for <net/*.h> and maybe other stuff.
}
{
if $(TARGET_PLATFORM) = r5 {
} else if $(TARGET_PLATFORM) = r5 {
defines = [ FDefines BUILDING_R5_LIBNET ] ;
SubDirCcFlags $(defines) ;
SubDirC++Flags $(defines) ;
PLATFORM_LIBS = ;
} else {
PLATFORM_LIBS = libsocket.so libbind.so ;
}
}
SharedLibrary libnetapi.so :
@ -29,7 +22,7 @@ SharedLibrary libnetapi.so :
NetAddress.cpp
NetBuffer.cpp
NetDebug.cpp
: be libnet.so $(PLATFORM_LIBS)
: be $(NETWORK_LIBS)
;
# Installation -- in the test directory for the time being