source: rtems/cpukit/librpc/Makefile.am @ 2538e7ae

4.104.114.84.95
Last change on this file since 2538e7ae was 2538e7ae, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 3, 2005 at 4:26:35 PM

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

  • librpc/include/rpc/clnt_stat.h, librpc/include/rpc/rpcent.h: New (From FreeBSD).
  • librpc/include/rpc/rpc.h: Partial update from FreeBSD.
  • librpc/Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 7.4 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8EXTRA_DIST =
9CLEANFILES =
10
11if LIBRPC
12include_rpcdir = $(includedir)/rpc
13include_rpc_HEADERS = include/rpc/auth.h include/rpc/auth_des.h \
14    include/rpc/auth_unix.h include/rpc/clnt.h include/rpc/clnt_stat.h \
15    include/rpc/des.h include/rpc/des_crypt.h include/rpc/pmap_clnt.h \
16    include/rpc/pmap_prot.h include/rpc/pmap_rmt.h include/rpc/rpc.h \
17    include/rpc/rpc_com.h include/rpc/rpc_msg.h include/rpc/rpcent.h \
18    include/rpc/svc.h include/rpc/svc_auth.h include/rpc/types.h \
19    include/rpc/xdr.h
20
21man_MANS =
22
23noinst_LIBRARIES = libxdr.a
24libxdr_a_CPPFLAGS = $(AM_CPPFLAGS)
25
26libxdr_a_SOURCES = src/xdr/xdr.c src/xdr/xdr_array.c src/xdr/xdr_float.c \
27    src/xdr/xdr_mem.c src/xdr/xdr_rec.c src/xdr/xdr_reference.c \
28    src/xdr/xdr_sizeof.c src/xdr/xdr_stdio.c
29endif
30
31libxdr_mans = src/xdr/xdr.3
32EXTRA_DIST += $(libxdr_mans)
33
34if LIBRPC
35man_MANS += $(libxdr_mans)
36
37noinst_LIBRARIES += librpc.a
38librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(librpc_CPPFLAGS)
39
40librpc_a_SOURCES = src/rpc/auth_none.c src/rpc/auth_unix.c \
41    src/rpc/authunix_prot.c src/rpc/bindresvport.c src/rpc/clnt_generic.c \
42    src/rpc/clnt_perror.c src/rpc/clnt_raw.c src/rpc/clnt_simple.c \
43    src/rpc/clnt_tcp.c src/rpc/clnt_udp.c src/rpc/get_myaddress.c \
44    src/rpc/getrpcent.c src/rpc/getrpcport.c src/rpc/netname.c \
45    src/rpc/netnamer.c src/rpc/pmap_clnt.c src/rpc/pmap_getmaps.c \
46    src/rpc/pmap_getport.c src/rpc/pmap_prot.c src/rpc/pmap_prot2.c \
47    src/rpc/pmap_rmt.c src/rpc/rpc_callmsg.c src/rpc/rpc_commondata.c \
48    src/rpc/rpc_dtablesize.c src/rpc/rpc_prot.c src/rpc/rpcdname.c \
49    src/rpc/rtime.c src/rpc/svc.c src/rpc/svc_auth.c src/rpc/svc_auth_unix.c \
50    src/rpc/svc_raw.c src/rpc/svc_run.c src/rpc/svc_simple.c \
51    src/rpc/svc_tcp.c src/rpc/svc_udp.c src/rpc/rtems_portmapper.c \
52    src/rpc/rtems_rpc.c
53# librpc_UNUSED_C_FILES
54EXTRA_DIST += src/rpc/auth_des.c src/rpc/auth_time.c src/rpc/authdes_prot.c \
55    src/rpc/clnt_unix.c src/rpc/crypt_client.c src/rpc/des_crypt.c \
56    src/rpc/des_soft.c src/rpc/getpublickey.c src/rpc/key_call.c \
57    src/rpc/key_prot_xdr.c src/rpc/svc_auth_des.c src/rpc/svc_unix.c
58
59librpc_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
60    -D_RTEMS_RPC_INTERNAL_
61endif
62
63librpc_mans = src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
64    src/rpc/rpc.3 src/rpc/rpc_secure.3 src/rpc/rstat_svc.8 \
65    src/rpc/des_crypt.3 src/rpc/getrpcport.3 src/rpc/publickey.5 \
66    src/rpc/rpc.5 src/rpc/rstat.1 src/rpc/rtime.3
67EXTRA_DIST += $(librpc_mans)
68
69if LIBRPC
70man_MANS += $(librpc_mans)
71endif
72
73EXTRA_DIST += src/rpc/DISCLAIMER src/rpc/README
74
75EXTRA_DIST += src/rpc/PSD.doc/nfs.rfc.ms src/rpc/PSD.doc/rpc.prog.ms \
76    src/rpc/PSD.doc/rpc.rfc.ms src/rpc/PSD.doc/rpcgen.ms \
77    src/rpc/PSD.doc/xdr.nts.ms src/rpc/PSD.doc/xdr.rfc.ms
78EXTRA_DIST += README_RTEMS
79
80## FIXME: Unused
81EXTRA_DIST += include/rpcsvc/bootparam_prot.x include/rpcsvc/crypt.x \
82    include/rpcsvc/key_prot.x include/rpcsvc/klm_prot.x \
83    include/rpcsvc/mount.x include/rpcsvc/nfs_prot.x \
84    include/rpcsvc/nis_cache.x include/rpcsvc/nis_callback.x \
85    include/rpcsvc/nis_db.h include/rpcsvc/nislib.h \
86    include/rpcsvc/nis_object.x include/rpcsvc/nis_tags.h \
87    include/rpcsvc/nis.x include/rpcsvc/nlm_prot.x \
88    include/rpcsvc/pmap_prot.x include/rpcsvc/rex.x include/rpcsvc/rnusers.x \
89    include/rpcsvc/rquota.x include/rpcsvc/rstat.x include/rpcsvc/rwall.x \
90    include/rpcsvc/sm_inter.x include/rpcsvc/spray.x include/rpcsvc/ypclnt.h \
91    include/rpcsvc/yppasswd.x include/rpcsvc/yp_prot.h \
92    include/rpcsvc/ypupdate_prot.x include/rpcsvc/yp.x \
93    include/rpcsvc/ypxfrd.x
94
95PREINSTALL_DIRS =
96PREINSTALL_FILES =
97
98if LIBRPC
99$(PROJECT_INCLUDE)/rpc/$(dirstamp):
100        @$(mkdir_p) $(PROJECT_INCLUDE)/rpc
101        @: > $(PROJECT_INCLUDE)/rpc/$(dirstamp)
102PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rpc/$(dirstamp)
103
104$(PROJECT_INCLUDE)/rpc/auth.h: include/rpc/auth.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
105        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/auth.h
106PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/auth.h
107
108$(PROJECT_INCLUDE)/rpc/auth_des.h: include/rpc/auth_des.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
109        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/auth_des.h
110PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/auth_des.h
111
112$(PROJECT_INCLUDE)/rpc/auth_unix.h: include/rpc/auth_unix.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/auth_unix.h
114PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/auth_unix.h
115
116$(PROJECT_INCLUDE)/rpc/clnt.h: include/rpc/clnt.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/clnt.h
118PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/clnt.h
119
120$(PROJECT_INCLUDE)/rpc/clnt_stat.h: include/rpc/clnt_stat.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/clnt_stat.h
122PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/clnt_stat.h
123
124$(PROJECT_INCLUDE)/rpc/des.h: include/rpc/des.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/des.h
126PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/des.h
127
128$(PROJECT_INCLUDE)/rpc/des_crypt.h: include/rpc/des_crypt.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/des_crypt.h
130PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/des_crypt.h
131
132$(PROJECT_INCLUDE)/rpc/pmap_clnt.h: include/rpc/pmap_clnt.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
133        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/pmap_clnt.h
134PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/pmap_clnt.h
135
136$(PROJECT_INCLUDE)/rpc/pmap_prot.h: include/rpc/pmap_prot.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
137        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/pmap_prot.h
138PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/pmap_prot.h
139
140$(PROJECT_INCLUDE)/rpc/pmap_rmt.h: include/rpc/pmap_rmt.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
141        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/pmap_rmt.h
142PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/pmap_rmt.h
143
144$(PROJECT_INCLUDE)/rpc/rpc.h: include/rpc/rpc.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/rpc.h
146PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpc.h
147
148$(PROJECT_INCLUDE)/rpc/rpc_com.h: include/rpc/rpc_com.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/rpc_com.h
150PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpc_com.h
151
152$(PROJECT_INCLUDE)/rpc/rpc_msg.h: include/rpc/rpc_msg.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
153        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/rpc_msg.h
154PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpc_msg.h
155
156$(PROJECT_INCLUDE)/rpc/rpcent.h: include/rpc/rpcent.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
157        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/rpcent.h
158PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpcent.h
159
160$(PROJECT_INCLUDE)/rpc/svc.h: include/rpc/svc.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
161        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/svc.h
162PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/svc.h
163
164$(PROJECT_INCLUDE)/rpc/svc_auth.h: include/rpc/svc_auth.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
165        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/svc_auth.h
166PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/svc_auth.h
167
168$(PROJECT_INCLUDE)/rpc/types.h: include/rpc/types.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
169        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/types.h
170PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/types.h
171
172$(PROJECT_INCLUDE)/rpc/xdr.h: include/rpc/xdr.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
173        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/xdr.h
174PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/xdr.h
175endif
176
177CLEANFILES += $(PREINSTALL_FILES)
178DISTCLEANFILES = $(PREINSTALL_DIRS)
179
180include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.