source: rtems/cpukit/librpc/Makefile.am @ 8faf4bd

4.104.114.84.9
Last change on this file since 8faf4bd was a369ade, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 7, 2005 at 6:05:49 AM

2005-01-07 Ralf Corsepius <ralf.corsepius@…>

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