1 SubDir HAIKU_TOP src bin network ftp ;
3 SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ;
5 if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
6 UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
7 # We need the public network headers also when not compiling for Haiku.
8 # Unfortunately we get more than we want, namely all POSIX headers.
11 UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
12 SubDirCcFlags [ FDefines _BSD_SOURCE=1 ] ;
14 UseBuildFeatureHeaders libedit ;
28 Includes [ FGristFiles $(ftp_src) ]
29 : [ BuildFeatureAttribute libedit : headers ] ;
35 [ BuildFeatureAttribute libedit : library ]
36 [ BuildFeatureAttribute ncurses : library ]
38 $(TARGET_NETWORK_LIBS)
41 # Installation -- in the test directory for the time being
42 HaikuInstall install-networking
43 : [ FDirName $(HAIKU_TEST_DIR) kits net ]
46 HaikuInstall install-userland-networking
47 : [ FDirName $(HAIKU_TEST_DIR) kits net userland ]
49 : installed-userland-networking