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 # and enable "lint" to remove the RCSID from all the files.
26 local defines = _REENTRANT=1 USE_MD5=1 _BSD_SOURCE INET6 lint LINT ;
27 defines = [ FDefines $(defines) ] ;
28 SubDirCcFlags $(defines) -Wno-sign-compare ;
29 SubDirC++Flags $(defines) -Wno-sign-compare ;
32 MergeObject <netresolv!$(architecture)>netresolv.o :