source: rtems/cpukit/librpc/Makefile.am @ 16f4661f

Last change on this file since 16f4661f was 16f4661f, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 9, 2018 at 7:38:18 AM

network: Optionally install network headers

Install the network headers only if --enable-networking is specified.

Update #3254.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4EXTRA_DIST =
5
6if LIBNETWORKING
7man_MANS =
8
9noinst_LIBRARIES = libxdr.a
10libxdr_a_CPPFLAGS = $(AM_CPPFLAGS)
11
12libxdr_a_SOURCES = src/xdr/xdr.c src/xdr/xdr_array.c src/xdr/xdr_float.c \
13    src/xdr/xdr_mem.c src/xdr/xdr_rec.c src/xdr/xdr_reference.c \
14    src/xdr/xdr_sizeof.c src/xdr/xdr_stdio.c
15endif
16
17libxdr_mans = src/xdr/xdr.3
18EXTRA_DIST += $(libxdr_mans)
19
20if LIBNETWORKING
21man_MANS += $(libxdr_mans)
22
23noinst_LIBRARIES += librpc.a
24librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(librpc_CPPFLAGS)
25
26librpc_a_SOURCES = src/rpc/auth_none.c src/rpc/auth_unix.c \
27    src/rpc/authunix_prot.c src/rpc/bindresvport.c src/rpc/clnt_generic.c \
28    src/rpc/clnt_perror.c src/rpc/clnt_raw.c src/rpc/clnt_simple.c \
29    src/rpc/clnt_tcp.c src/rpc/clnt_udp.c src/rpc/get_myaddress.c \
30    src/rpc/getrpcent.c src/rpc/getrpcport.c src/rpc/netname.c \
31    src/rpc/netnamer.c src/rpc/pmap_clnt.c src/rpc/pmap_getmaps.c \
32    src/rpc/pmap_getport.c src/rpc/pmap_prot.c src/rpc/pmap_prot2.c \
33    src/rpc/pmap_rmt.c src/rpc/rpc_callmsg.c src/rpc/rpc_commondata.c \
34    src/rpc/rpc_dtablesize.c src/rpc/rpc_prot.c src/rpc/rpcdname.c \
35    src/rpc/rtime.c src/rpc/svc.c src/rpc/svc_auth.c src/rpc/svc_auth_unix.c \
36    src/rpc/svc_raw.c src/rpc/svc_run.c src/rpc/svc_simple.c \
37    src/rpc/svc_tcp.c src/rpc/svc_udp.c src/rpc/rtems_portmapper.c \
38    src/rpc/rtems_rpc.c
39
40librpc_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
41    -D_RTEMS_RPC_INTERNAL_
42endif
43
44librpc_mans = src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
45    src/rpc/rpc.3 src/rpc/rpc_secure.3 src/rpc/rstat_svc.8 \
46    src/rpc/des_crypt.3 src/rpc/getrpcport.3 src/rpc/publickey.5 \
47    src/rpc/rpc.5 src/rpc/rstat.1 src/rpc/rtime.3
48EXTRA_DIST += $(librpc_mans)
49
50if LIBNETWORKING
51man_MANS += $(librpc_mans)
52endif
53
54EXTRA_DIST += src/rpc/DISCLAIMER src/rpc/README
55
56EXTRA_DIST += README_RTEMS
57
58## FIXME: Unused
59EXTRA_DIST += include/rpcsvc/bootparam_prot.x include/rpcsvc/crypt.x \
60    include/rpcsvc/key_prot.x include/rpcsvc/klm_prot.x \
61    include/rpcsvc/mount.x include/rpcsvc/nfs_prot.x \
62    include/rpcsvc/nis_cache.x include/rpcsvc/nis_callback.x \
63    include/rpcsvc/nis_db.h include/rpcsvc/nislib.h \
64    include/rpcsvc/nis_object.x include/rpcsvc/nis_tags.h \
65    include/rpcsvc/nis.x include/rpcsvc/nlm_prot.x \
66    include/rpcsvc/pmap_prot.x include/rpcsvc/rex.x include/rpcsvc/rnusers.x \
67    include/rpcsvc/rquota.x include/rpcsvc/rstat.x include/rpcsvc/rwall.x \
68    include/rpcsvc/sm_inter.x include/rpcsvc/spray.x include/rpcsvc/ypclnt.h \
69    include/rpcsvc/yppasswd.x include/rpcsvc/yp_prot.h \
70    include/rpcsvc/ypupdate_prot.x include/rpcsvc/yp.x \
71    include/rpcsvc/ypxfrd.x
72
73include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.