1 SubDir HAIKU_TOP src bin network ftpd ;
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 UseHeaders $(SUBDIR) : true ;
13 SubDirCcFlags [ FDefines _BSD_SOURCE=1 ] ;
24 : libutil.a libbsd.so $(TARGET_NETWORK_LIBS)