BPicture: Fix archive constructor.
[haiku.git] / src / kits / network / netresolv / Jamfile
blob99734d38d4ccb62b1d7719749c2f73120c45609c
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 ]
10                         : true ;
11                 UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
12                 SubDirSysHdrs $(SUBDIR) ;
14                 # NetResolv sources
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 ] ;
22                 {
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) ;
29                 }
31                 MergeObject <netresolv!$(architecture)>netresolv.o :
32                         # dst
33                         dst_api.c
34                         hmac_link.c
35                         md5_dgst.c
36                         support.c
38                         # inet
39                         inet_addr.c
40                         inet_cidr_ntop.c
41                         inet_cidr_pton.c
42                         inet_lnaof.c
43                         inet_makeaddr.c
44                         inet_net_ntop.c
45                         inet_net_pton.c
46                         inet_neta.c
47                         inet_netof.c
48                         inet_network.c
49                         inet_ntoa.c
50                         inet_ntop.c
51                         inet_pton.c
52                         nsap_addr.c
54                         # irs
55                         base64.c
56                         getaddrinfo.c
57                         gethnamaddr.c
58                         getnameinfo.c
59                         getnetent.c
60                         getnetnamadr.c
61                         getprotobyname.c
62                         getprotobyname_r.c
63                         getprotobynumber.c
64                         getprotobynumber_r.c
65                         getprotoent.c
66                         getprotoent_r.c
67                         getservbyname.c
68                         getservbyname_r.c
69                         getservbyport.c
70                         getservbyport_r.c
71                         getservent.c
72                         getservent_r.c
73                         hesiod.c
74                         nsdispatch.c
75                         nslexer.l
76                         nsparser.y
77                         sethostent.c
78                         vars6.c
80                         # isc
81                         assertions.c
82                         bitncmp.c
83                         ctl_clnt.c
84                         ctl_p.c
85                         ctl_srvr.c
86                         ev_connects.c
87                         ev_files.c
88                         ev_streams.c
89                         ev_timers.c
90                         ev_waits.c
91                         eventlib.c
92                         heap.c
93                         hex.c
94                         logging.c
95                         memcluster.c
96                         movefile.c
97                         tree.c
99                         # nameser
100                         ns_name.c
101                         ns_netint.c
102                         ns_parse.c
103                         ns_print.c
104                         ns_samedomain.c
105                         ns_ttl.c
107                         # resolv
108                         herror.c
109                         h_errno.c
110                         mtctxres.c
111                         res_comp.c
112                         res_data.c
113                         res_debug.c
114                         res_init.c
115                         res_mkquery.c
116                         res_query.c
117                         res_send.c
118                         res_state.c
119                         ;
120         }