1 | include $(top_srcdir)/automake/multilib.am |
---|
2 | include $(top_srcdir)/automake/compile.am |
---|
3 | |
---|
4 | |
---|
5 | if LIBNETWORKING |
---|
6 | man_MANS = |
---|
7 | |
---|
8 | noinst_LIBRARIES = libxdr.a |
---|
9 | libxdr_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
10 | |
---|
11 | libxdr_a_SOURCES = src/xdr/xdr.c src/xdr/xdr_array.c src/xdr/xdr_float.c \ |
---|
12 | src/xdr/xdr_mem.c src/xdr/xdr_rec.c src/xdr/xdr_reference.c \ |
---|
13 | src/xdr/xdr_sizeof.c src/xdr/xdr_stdio.c |
---|
14 | endif |
---|
15 | |
---|
16 | libxdr_mans = src/xdr/xdr.3 |
---|
17 | |
---|
18 | if LIBNETWORKING |
---|
19 | man_MANS += $(libxdr_mans) |
---|
20 | |
---|
21 | noinst_LIBRARIES += librpc.a |
---|
22 | librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(librpc_CPPFLAGS) |
---|
23 | |
---|
24 | librpc_a_SOURCES = src/rpc/auth_none.c src/rpc/auth_unix.c \ |
---|
25 | src/rpc/authunix_prot.c src/rpc/bindresvport.c src/rpc/clnt_generic.c \ |
---|
26 | src/rpc/clnt_perror.c src/rpc/clnt_raw.c src/rpc/clnt_simple.c \ |
---|
27 | src/rpc/clnt_tcp.c src/rpc/clnt_udp.c src/rpc/get_myaddress.c \ |
---|
28 | src/rpc/getrpcent.c src/rpc/getrpcport.c src/rpc/netname.c \ |
---|
29 | src/rpc/netnamer.c src/rpc/pmap_clnt.c src/rpc/pmap_getmaps.c \ |
---|
30 | src/rpc/pmap_getport.c src/rpc/pmap_prot.c src/rpc/pmap_prot2.c \ |
---|
31 | src/rpc/pmap_rmt.c src/rpc/rpc_callmsg.c src/rpc/rpc_commondata.c \ |
---|
32 | src/rpc/rpc_dtablesize.c src/rpc/rpc_prot.c src/rpc/rpcdname.c \ |
---|
33 | src/rpc/rtime.c src/rpc/svc.c src/rpc/svc_auth.c src/rpc/svc_auth_unix.c \ |
---|
34 | src/rpc/svc_raw.c src/rpc/svc_run.c src/rpc/svc_simple.c \ |
---|
35 | src/rpc/svc_tcp.c src/rpc/svc_udp.c src/rpc/rtems_portmapper.c \ |
---|
36 | src/rpc/rtems_rpc.c |
---|
37 | |
---|
38 | librpc_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \ |
---|
39 | -D_RTEMS_RPC_INTERNAL_ |
---|
40 | endif |
---|
41 | |
---|
42 | librpc_mans = src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \ |
---|
43 | src/rpc/rpc.3 src/rpc/rpc_secure.3 src/rpc/rstat_svc.8 \ |
---|
44 | src/rpc/des_crypt.3 src/rpc/getrpcport.3 src/rpc/publickey.5 \ |
---|
45 | src/rpc/rpc.5 src/rpc/rstat.1 src/rpc/rtime.3 |
---|
46 | |
---|
47 | if LIBNETWORKING |
---|
48 | man_MANS += $(librpc_mans) |
---|
49 | endif |
---|
50 | |
---|
51 | |
---|
52 | |
---|
53 | ## FIXME: Unused |
---|
54 | |
---|
55 | include $(top_srcdir)/automake/local.am |
---|