source: rtems/cpukit/librpc/Makefile.am @ b265fdc

4.104.114.84.9
Last change on this file since b265fdc was b265fdc, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 8, 2005 at 5:33:42 PM

2005-02-08 Ralf Corsepius <ralf.corsepius@…>

  • librpc/Makefile.am: Split preinstallation rules in to separate preinstall.am-files.
  • librpc/preinstall.am: New (Generated from corresponding Makefile.am).
  • Property mode set to 100644
File size: 3.8 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8EXTRA_DIST =
9CLEANFILES =
10DISTCLEANFILES =
11
12if LIBRPC
13include_rpcdir = $(includedir)/rpc
14include_rpc_HEADERS = include/rpc/auth.h include/rpc/auth_des.h \
15    include/rpc/auth_unix.h include/rpc/clnt.h include/rpc/clnt_stat.h \
16    include/rpc/des.h include/rpc/des_crypt.h include/rpc/pmap_clnt.h \
17    include/rpc/pmap_prot.h include/rpc/pmap_rmt.h include/rpc/rpc.h \
18    include/rpc/rpc_com.h include/rpc/rpc_msg.h include/rpc/rpcent.h \
19    include/rpc/svc.h include/rpc/svc_auth.h include/rpc/types.h \
20    include/rpc/xdr.h
21
22man_MANS =
23
24noinst_LIBRARIES = libxdr.a
25libxdr_a_CPPFLAGS = $(AM_CPPFLAGS)
26
27libxdr_a_SOURCES = src/xdr/xdr.c src/xdr/xdr_array.c src/xdr/xdr_float.c \
28    src/xdr/xdr_mem.c src/xdr/xdr_rec.c src/xdr/xdr_reference.c \
29    src/xdr/xdr_sizeof.c src/xdr/xdr_stdio.c
30endif
31
32libxdr_mans = src/xdr/xdr.3
33EXTRA_DIST += $(libxdr_mans)
34
35if LIBRPC
36man_MANS += $(libxdr_mans)
37
38noinst_LIBRARIES += librpc.a
39librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(librpc_CPPFLAGS)
40
41librpc_a_SOURCES = src/rpc/auth_none.c src/rpc/auth_unix.c \
42    src/rpc/authunix_prot.c src/rpc/bindresvport.c src/rpc/clnt_generic.c \
43    src/rpc/clnt_perror.c src/rpc/clnt_raw.c src/rpc/clnt_simple.c \
44    src/rpc/clnt_tcp.c src/rpc/clnt_udp.c src/rpc/get_myaddress.c \
45    src/rpc/getrpcent.c src/rpc/getrpcport.c src/rpc/netname.c \
46    src/rpc/netnamer.c src/rpc/pmap_clnt.c src/rpc/pmap_getmaps.c \
47    src/rpc/pmap_getport.c src/rpc/pmap_prot.c src/rpc/pmap_prot2.c \
48    src/rpc/pmap_rmt.c src/rpc/rpc_callmsg.c src/rpc/rpc_commondata.c \
49    src/rpc/rpc_dtablesize.c src/rpc/rpc_prot.c src/rpc/rpcdname.c \
50    src/rpc/rtime.c src/rpc/svc.c src/rpc/svc_auth.c src/rpc/svc_auth_unix.c \
51    src/rpc/svc_raw.c src/rpc/svc_run.c src/rpc/svc_simple.c \
52    src/rpc/svc_tcp.c src/rpc/svc_udp.c src/rpc/rtems_portmapper.c \
53    src/rpc/rtems_rpc.c
54# librpc_UNUSED_C_FILES
55EXTRA_DIST += src/rpc/auth_des.c src/rpc/auth_time.c src/rpc/authdes_prot.c \
56    src/rpc/clnt_unix.c src/rpc/crypt_client.c src/rpc/des_crypt.c \
57    src/rpc/des_soft.c src/rpc/getpublickey.c src/rpc/key_call.c \
58    src/rpc/key_prot_xdr.c src/rpc/svc_auth_des.c src/rpc/svc_unix.c
59
60librpc_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
61    -D_RTEMS_RPC_INTERNAL_
62endif
63
64librpc_mans = src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
65    src/rpc/rpc.3 src/rpc/rpc_secure.3 src/rpc/rstat_svc.8 \
66    src/rpc/des_crypt.3 src/rpc/getrpcport.3 src/rpc/publickey.5 \
67    src/rpc/rpc.5 src/rpc/rstat.1 src/rpc/rtime.3
68EXTRA_DIST += $(librpc_mans)
69
70if LIBRPC
71man_MANS += $(librpc_mans)
72endif
73
74EXTRA_DIST += src/rpc/DISCLAIMER src/rpc/README
75
76EXTRA_DIST += src/rpc/PSD.doc/nfs.rfc.ms src/rpc/PSD.doc/rpc.prog.ms \
77    src/rpc/PSD.doc/rpc.rfc.ms src/rpc/PSD.doc/rpcgen.ms \
78    src/rpc/PSD.doc/xdr.nts.ms src/rpc/PSD.doc/xdr.rfc.ms
79EXTRA_DIST += README_RTEMS
80
81## FIXME: Unused
82EXTRA_DIST += include/rpcsvc/bootparam_prot.x include/rpcsvc/crypt.x \
83    include/rpcsvc/key_prot.x include/rpcsvc/klm_prot.x \
84    include/rpcsvc/mount.x include/rpcsvc/nfs_prot.x \
85    include/rpcsvc/nis_cache.x include/rpcsvc/nis_callback.x \
86    include/rpcsvc/nis_db.h include/rpcsvc/nislib.h \
87    include/rpcsvc/nis_object.x include/rpcsvc/nis_tags.h \
88    include/rpcsvc/nis.x include/rpcsvc/nlm_prot.x \
89    include/rpcsvc/pmap_prot.x include/rpcsvc/rex.x include/rpcsvc/rnusers.x \
90    include/rpcsvc/rquota.x include/rpcsvc/rstat.x include/rpcsvc/rwall.x \
91    include/rpcsvc/sm_inter.x include/rpcsvc/spray.x include/rpcsvc/ypclnt.h \
92    include/rpcsvc/yppasswd.x include/rpcsvc/yp_prot.h \
93    include/rpcsvc/ypupdate_prot.x include/rpcsvc/yp.x \
94    include/rpcsvc/ypxfrd.x
95
96all-local: $(PREINSTALL_FILES)
97
98include $(srcdir)/preinstall.am
99
100include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.