1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/../automake/multilib.am |
---|
6 | include $(top_srcdir)/../automake/compile.am |
---|
7 | include $(top_srcdir)/../automake/lib.am |
---|
8 | |
---|
9 | LIB = $(ARCH)/librpc.a |
---|
10 | |
---|
11 | C_FILES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c \ |
---|
12 | clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \ |
---|
13 | clnt_udp.c get_myaddress.c getrpcent.c getrpcport.c netname.c netnamer.c \ |
---|
14 | pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c pmap_prot2.c \ |
---|
15 | pmap_rmt.c rpc_callmsg.c rpc_commondata.c rpc_dtablesize.c rpc_prot.c \ |
---|
16 | rpcdname.c rtime.c svc.c svc_auth.c svc_auth_unix.c svc_raw.c svc_run.c \ |
---|
17 | svc_simple.c svc_tcp.c svc_udp.c rtems_portmapper.c rtems_rpc.c |
---|
18 | UNUSED_C_FILES = auth_des.c auth_time.c authdes_prot.c clnt_unix.c \ |
---|
19 | crypt_client.c des_crypt.c des_soft.c getpublickey.c key_call.c \ |
---|
20 | key_prot_xdr.c svc_auth_des.c svc_unix.c |
---|
21 | |
---|
22 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
---|
23 | |
---|
24 | OBJS = $(C_O_FILES) |
---|
25 | |
---|
26 | # |
---|
27 | # Add local stuff here using += |
---|
28 | # |
---|
29 | |
---|
30 | AM_CPPFLAGS += '-D__P(x)=x' -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close -D_RTEMS_RPC_INTERNAL_ |
---|
31 | |
---|
32 | $(LIB): $(OBJS) |
---|
33 | $(make-library) |
---|
34 | |
---|
35 | noinst_MANS = bindresvport.3 getrpcent.3 publickey.3 rpc.3 rpc_secure.3 \ |
---|
36 | rstat_svc.8 des_crypt.3 getrpcport.3 publickey.5 rpc.5 rstat.1 rtime.3 |
---|
37 | |
---|
38 | if HAS_NETWORKING |
---|
39 | man_MANS = $(noinst_MANS) |
---|
40 | all-local: $(ARCH) $(LIB) |
---|
41 | endif |
---|
42 | |
---|
43 | EXTRA_DIST = $(C_FILES) DISCLAIMER $(UNUSED_C_FILES) $(noinst_MANS) |
---|
44 | |
---|
45 | EXTRA_DIST += PSD.doc/nfs.rfc.ms PSD.doc/rpc.prog.ms PSD.doc/rpc.rfc.ms \ |
---|
46 | PSD.doc/rpcgen.ms PSD.doc/xdr.nts.ms PSD.doc/xdr.rfc.ms |
---|
47 | |
---|
48 | include $(top_srcdir)/../automake/local.am |
---|