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