1 SubDir HAIKU_TOP src kits network netresolv ;
3 local architectureObject ;
4 for architectureObject in [ MultiArchSubDirSetup ] {
5 on $(architectureObject) {
6 local architecture = $(TARGET_PACKAGING_ARCH) ;
8 UseHeaders [ FDirName $(SUBDIR) include ] : true ;
9 UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ]
11 UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
12 SubDirSysHdrs $(SUBDIR) ;
15 SEARCH_SOURCE += [ FDirName $(SUBDIR) dst ] ;
16 SEARCH_SOURCE += [ FDirName $(SUBDIR) inet ] ;
17 SEARCH_SOURCE += [ FDirName $(SUBDIR) irs ] ;
18 SEARCH_SOURCE += [ FDirName $(SUBDIR) isc ] ;
19 SEARCH_SOURCE += [ FDirName $(SUBDIR) nameser ] ;
20 SEARCH_SOURCE += [ FDirName $(SUBDIR) resolv ] ;
23 # we want to have the xxx_r functions, IPv6, and md5 implementation
24 # we also need to use our BSD compatibility functions
25 local defines = _REENTRANT=1 USE_MD5=1 _BSD_SOURCE INET6 ;
26 defines = [ FDefines $(defines) ] ;
27 SubDirCcFlags $(defines) ;
28 SubDirC++Flags $(defines) ;
31 MergeObject <netresolv!$(architecture)>netresolv.o :