source: rtems/c/src/librpc/src/rpc/Makefile.am @ 7f2c3e3

4.104.114.84.9
Last change on this file since 7f2c3e3 was 7f2c3e3, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 4:08:02 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

  • src/rpc/Makefile.am, src/xdr/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.7 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4 no-installman
6
7SUBDIRS = PSD.doc
8
9LIBNAME = librpc
10LIB = $(ARCH)/$(LIBNAME).a
11
12C_FILES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c \
13    clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \
14    clnt_udp.c get_myaddress.c getrpcent.c getrpcport.c netname.c netnamer.c \
15    pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c pmap_prot2.c \
16    pmap_rmt.c rpc_callmsg.c rpc_commondata.c rpc_dtablesize.c rpc_prot.c \
17    rpcdname.c rtime.c svc.c svc_auth.c svc_auth_unix.c svc_raw.c svc_run.c \
18    svc_simple.c svc_tcp.c svc_udp.c rtems_portmapper.c rtems_rpc.c
19UNUSED_C_FILES = auth_des.c auth_time.c authdes_prot.c clnt_unix.c \
20    crypt_client.c des_crypt.c des_soft.c getpublickey.c key_call.c \
21    key_prot_xdr.c svc_auth_des.c svc_unix.c
22
23C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
24
25OBJS = $(C_O_FILES)
26
27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
28include $(top_srcdir)/../../../automake/compile.am
29include $(top_srcdir)/../../../automake/lib.am
30
31TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
32
33#
34# Add local stuff here using +=
35#
36
37AM_CPPFLAGS += '-D__P(x)=x' -D_read=read -D_write=write -D_close=close -D_RTEMS_RPC_INTERNAL_
38
39$(LIB): $(OBJS)
40        $(make-library)
41
42$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
43        $(INSTALL_DATA) $< $@
44
45noinst_MANS = bindresvport.3 getrpcent.3 publickey.3 rpc.3 rpc_secure.3 \
46    rstat_svc.8 des_crypt.3 getrpcport.3 publickey.5 rpc.5 rstat.1 rtime.3
47
48if HAS_NETWORKING
49man_MANS = $(noinst_MANS)
50all-local: $(ARCH) $(OBJS) $(TMPINSTALL_FILES)
51endif
52
53.PRECIOUS: $(LIB)
54
55EXTRA_DIST = $(C_FILES) DISCLAIMER $(UNUSED_C_FILES) $(noinst_MANS)
56
57include $(top_srcdir)/../../../automake/subdirs.am
58include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.