 |
|
|
| |
1 ## Process this file with automake to produce Makefile.in
2
3 # Package: am-utils
4 # Level: Top level Makefile
5 # Author: Erez Zadok
6
7 @SET_MAKE@
8
9 SUBDIRS = \
10 libamu \
11 amd \
12 amq \
13 \
14 fixmount \
15 fsinfo \
16 hlfsd \
17 mk-amd-map \
18 wire-test \
19 \
20 scripts \
21 doc
22
23 # temporary tests override SUBDIRS
24 #SUBDIRS = lib wire-test amq amd
25
26 # additional files to add to the distribution tar file
27 # m4/aclocal
28 EXTRA_DIST_M4 = \
29 m4/GNUmakefile \
30 m4/amdgrep \
31 m4/amindent \
32 m4/autopat \
33 m4/chop-aclocal.pl \
34 m4/copy-if-newbig \
35 m4/mk-aclocal \
36 m4/mkconf \
37 m4/rmtspc \
38 m4/update_build_version \
39 \
40 m4/macros/HEADER \
41 m4/macros/TRAILER \
42 m4/macros/c_void_p.m4 \
43 m4/macros/cache_check_dynamic.m4 \
44 m4/macros/check_amu_fs.m4 \
45 m4/macros/check_autofs_style.m4 \
46 m4/macros/check_checkmount_style.m4 \
47 m4/macros/check_extern.m4 \
48 m4/macros/check_extern_ldap.m4 \
49 m4/macros/check_fhandle.m4 \
50 m4/macros/check_field.m4 \
51 m4/macros/check_fs_headers.m4 \
52 m4/macros/check_fs_mntent.m4 \
53 m4/macros/check_gnu_getopt.m4 \
54 m4/macros/check_hide_mount_type.m4 \
55 m4/macros/check_lib2.m4 \
56 m4/macros/check_libwrap_severity.m4 \
57 m4/macros/check_map_funcs.m4 \
58 m4/macros/check_mnt2_cdfs_opt.m4 \
59 m4/macros/check_mnt2_gen_opt.m4 \
60 m4/macros/check_mnt2_nfs_opt.m4 \
61 m4/macros/check_mnttab_file_name.m4 \
62 m4/macros/check_mnttab_location.m4 \
63 m4/macros/check_mnttab_opt.m4 \
64 m4/macros/check_mnttab_style.m4 \
65 m4/macros/check_mnttab_type.m4 \
66 m4/macros/check_mount_style.m4 \
67 m4/macros/check_mount_trap.m4 \
68 m4/macros/check_mount_type.m4 \
69 m4/macros/check_mtype_printf_type.m4 \
70 m4/macros/check_mtype_type.m4 \
71 m4/macros/check_network_transport_type.m4 \
72 m4/macros/check_nfs_fh_dref.m4 \
73 m4/macros/check_nfs_hn_dref.m4 \
74 m4/macros/check_nfs_prot_headers.m4 \
75 m4/macros/check_nfs_sa_dref.m4 \
76 m4/macros/check_nfs_socket_connection.m4 \
77 m4/macros/check_os_libs.m4 \
78 m4/macros/check_restartable_signal_handler.m4 \
79 m4/macros/check_umount_style.m4 \
80 m4/macros/check_unmount_args.m4 \
81 m4/macros/check_unmount_call.m4 \
82 m4/macros/expand_cpp_hex.m4 \
83 m4/macros/expand_cpp_int.m4 \
84 m4/macros/expand_cpp_string.m4 \
85 m4/macros/expand_run_string.m4 \
86 m4/macros/extern_optarg.m4 \
87 m4/macros/extern_sys_errlist.m4 \
88 m4/macros/field_mntent_t_mnt_time_string.m4 \
89 m4/macros/func_bad_hasmntopt.m4 \
90 m4/macros/func_bad_memcmp.m4 \
91 m4/macros/func_bad_yp_all.m4 \
92 m4/macros/header_templates.m4 \
93 m4/macros/host_macros.m4 \
94 m4/macros/libtool.m4 \
95 m4/macros/linux_headers.m4 \
96 m4/macros/localconfig.m4 \
97 m4/macros/mount_headers.m4 \
98 m4/macros/opt_amu_cflags.m4 \
99 m4/macros/opt_cppflags.m4 \
100 m4/macros/opt_debug.m4 \
101 m4/macros/opt_ldflags.m4 \
102 m4/macros/opt_libs.m4 \
103 m4/macros/os_cflags.m4 \
104 m4/macros/os_cppflags.m4 \
105 m4/macros/os_ldflags.m4 \
106 m4/macros/package_bugreport.m4 \
107 m4/macros/package_name.m4 \
108 m4/macros/package_version.m4 \
109 m4/macros/save_state.m4 \
110 m4/macros/struct_field_nfs_fh.m4 \
111 m4/macros/struct_mntent.m4 \
112 m4/macros/struct_mnttab.m4 \
113 m4/macros/struct_nfs_args.m4 \
114 m4/macros/struct_nfs_fh.m4 \
115 m4/macros/struct_nfs_gfs_mount.m4 \
116 m4/macros/try_compile_anyfs.m4 \
117 m4/macros/try_compile_nfs.m4 \
118 m4/macros/try_compile_rpc.m4 \
119 m4/macros/type_auth_create_gidlist.m4 \
120 m4/macros/type_autofs_args.m4 \
121 m4/macros/type_cachefs_args.m4 \
122 m4/macros/type_cdfs_args.m4 \
123 m4/macros/type_efs_args.m4 \
124 m4/macros/type_lofs_args.m4 \
125 m4/macros/type_mfs_args.m4 \
126 m4/macros/type_pcfs_args.m4 \
127 m4/macros/type_recvfrom_fromlen.m4 \
128 m4/macros/type_rfs_args.m4 \
129 m4/macros/type_rpcvers_t.m4 \
130 m4/macros/type_svc_in_arg.m4 \
131 m4/macros/type_time_t.m4 \
132 m4/macros/type_tmpfs_args.m4 \
133 m4/macros/type_ufs_args.m4 \
134 m4/macros/type_xdrproc_t.m4 \
135 m4/macros/type_xfs_args.m4 \
136 m4/macros/type_yp_order_outorder.m4 \
137 m4/macros/with_addon.m4
138
139 EXTRA_DIST_CONF = \
140 conf/autofs/autofs_default.h \
141 conf/autofs/autofs_default.c \
142 conf/autofs/autofs_linux.h \
143 conf/autofs/autofs_linux.c \
144 conf/autofs/autofs_solaris_v1.h \
145 conf/autofs/autofs_solaris_v1.c \
146 conf/autofs/autofs_solaris_v2_v3.h \
147 conf/autofs/autofs_solaris_v2_v3.c \
148 \
149 conf/checkmount/checkmount_aix.c \
150 conf/checkmount/checkmount_bsd44.c \
151 conf/checkmount/checkmount_default.c \
152 conf/checkmount/checkmount_osf.c \
153 conf/checkmount/checkmount_svr4.c \
154 conf/checkmount/checkmount_ultrix.c \
155 \
156 conf/fh_dref/fh_dref_aix3.h \
157 conf/fh_dref/fh_dref_aix42.h \
158 conf/fh_dref/fh_dref_bsd44.h \
159 conf/fh_dref/fh_dref_default.h \
160 conf/fh_dref/fh_dref_freebsd22.h \
161 conf/fh_dref/fh_dref_hpux.h \
162 conf/fh_dref/fh_dref_irix.h \
163 conf/fh_dref/fh_dref_isc3.h \
164 conf/fh_dref/fh_dref_linux.h \
165 conf/fh_dref/fh_dref_nextstep.h \
166 conf/fh_dref/fh_dref_osf2.h \
167 conf/fh_dref/fh_dref_osf4.h \
168 conf/fh_dref/fh_dref_sunos3.h \
169 conf/fh_dref/fh_dref_sunos4.h \
170 conf/fh_dref/fh_dref_svr4.h \
171 \
172 conf/hn_dref/hn_dref_default.h \
173 conf/hn_dref/hn_dref_isc3.h \
174 conf/hn_dref/hn_dref_linux.h \
175 \
176 conf/mount/mount_aix.c \
177 conf/mount/mount_aix3.c \
178 conf/mount/mount_bsdi3.c \
179 conf/mount/mount_default.c \
180 conf/mount/mount_hpux.c \
181 conf/mount/mount_irix5.c \
182 conf/mount/mount_irix6.c \
183 conf/mount/mount_isc3.c \
184 conf/mount/mount_linux.c \
185 conf/mount/mount_mach3.c \
186 conf/mount/mount_stellix.c \
187 conf/mount/mount_svr4.c \
188 \
189 conf/mtab/mtab_aix.c \
190 conf/mtab/mtab_bsd.c \
191 conf/mtab/mtab_file.c \
192 conf/mtab/mtab_isc3.c \
193 conf/mtab/mtab_linux.c \
194 conf/mtab/mtab_mach3.c \
195 conf/mtab/mtab_osf.c \
196 conf/mtab/mtab_svr4.c \
197 conf/mtab/mtab_ultrix.c \
198 \
199 conf/nfs_prot/nfs_prot_aix3.h \
200 conf/nfs_prot/nfs_prot_aix4.h \
201 conf/nfs_prot/nfs_prot_aix4_2.h \
202 conf/nfs_prot/nfs_prot_aix4_3.h \
203 conf/nfs_prot/nfs_prot_aix5_1.h \
204 conf/nfs_prot/nfs_prot_aix5_2.h \
205 conf/nfs_prot/nfs_prot_bsdi2.h \
206 conf/nfs_prot/nfs_prot_bsdi3.h \
207 conf/nfs_prot/nfs_prot_darwin.h \
208 conf/nfs_prot/nfs_prot_default.h \
209 conf/nfs_prot/nfs_prot_freebsd2.h \
210 conf/nfs_prot/nfs_prot_freebsd3.h \
211 conf/nfs_prot/nfs_prot_hpux.h \
212 conf/nfs_prot/nfs_prot_hpux11.h \
213 conf/nfs_prot/nfs_prot_irix5.h \
214 conf/nfs_prot/nfs_prot_irix6.h \
215 conf/nfs_prot/nfs_prot_linux.h \
216 conf/nfs_prot/nfs_prot_ncr2.h \
217 conf/nfs_prot/nfs_prot_nextstep.h \
218 conf/nfs_prot/nfs_prot_netbsd.h \
219 conf/nfs_prot/nfs_prot_netbsd1_3.h \
220 conf/nfs_prot/nfs_prot_netbsd1_4.h \
221 conf/nfs_prot/nfs_prot_openbsd.h \
222 conf/nfs_prot/nfs_prot_osf2.h \
223 conf/nfs_prot/nfs_prot_osf4.h \
224 conf/nfs_prot/nfs_prot_osf5.h \
225 conf/nfs_prot/nfs_prot_sunos3.h \
226 conf/nfs_prot/nfs_prot_sunos4.h \
227 conf/nfs_prot/nfs_prot_sunos5_3.h \
228 conf/nfs_prot/nfs_prot_sunos5_4.h \
229 conf/nfs_prot/nfs_prot_sunos5_5.h \
230 conf/nfs_prot/nfs_prot_sunos5_6.h \
231 conf/nfs_prot/nfs_prot_sunos5_7.h \
232 conf/nfs_prot/nfs_prot_sunos5_8.h \
233 conf/nfs_prot/nfs_prot_svr4.h \
234 conf/nfs_prot/nfs_prot_ultrix.h \
235 \
236 conf/sa_dref/sa_dref_386bsd.h \
237 conf/sa_dref/sa_dref_aix3.h \
238 conf/sa_dref/sa_dref_aoi.h \
239 conf/sa_dref/sa_dref_bsd44.h \
240 conf/sa_dref/sa_dref_default.h \
241 conf/sa_dref/sa_dref_isc3.h \
242 conf/sa_dref/sa_dref_linux.h \
243 conf/sa_dref/sa_dref_svr4.h \
244 \
245 conf/transp/transp_sockets.c \
246 conf/transp/transp_tli.c \
247 \
248 conf/trap/trap_aix3.h \
249 conf/trap/trap_aux.h \
250 conf/trap/trap_default.h \
251 conf/trap/trap_dgux.h \
252 conf/trap/trap_hcx.h \
253 conf/trap/trap_hpux.h \
254 conf/trap/trap_irix.h \
255 conf/trap/trap_isc3.h \
256 conf/trap/trap_linux.h \
257 conf/trap/trap_mach3.h \
258 conf/trap/trap_news4.h \
259 conf/trap/trap_rtu6.h \
260 conf/trap/trap_stellix.h \
261 conf/trap/trap_svr4.h \
262 conf/trap/trap_ultrix.h \
263 \
264 conf/umount/umount_aix.c \
265 conf/umount/umount_bsd44.c \
266 conf/umount/umount_default.c \
267 conf/umount/umount_linux.c \
268 conf/umount/umount_osf.c
269
270 EXTRA_DIST_INCLUDE = \
271 include/am_compat.h \
272 include/am_utils.h \
273 include/am_xdr_func.h \
274 include/am_defs.h \
275 include/amq_defs.h \
276 include/mount_headers1.h \
277 include/mount_headers2.h
278
279 EXTRA_DIST = \
280 $(EXTRA_DIST_M4) \
281 $(EXTRA_DIST_CONF) \
282 $(EXTRA_DIST_INCLUDE) \
283 \
284 BUGS \
285 FAQ \
286 LSM.am-utils \
287 MIRRORS.txt \
288 MIRRORS.html \
289 README.autofs \
290 README.ldap \
291 README.osx \
292 README.y2k \
293 bootstrap \
294 buildall \
295 config.guess.long \
296 depcomp \
297 ldap.schema \
298 ldap-id.ms \
299 ldap-id.txt \
300 stamp-h.in \
301 tasks
302
303 DISTCLEANFILES = amu_nfs_prot.h config.cache.old dbgcf.h
304
305 ##############################################################################
306 # Personal maintainer rules by Erez Zadok
307
308 # update possibly new versions of autoconf/automake/libtool files
309 update:
310 (cd $(top_srcdir) && ${MAKE} ${MFLAGS} -f ./m4/GNUmakefile update)
311 ${MAKE} ${MFLAGS} libtool
312
313 # remake libtool
314 libtool: $(LIBTOOL_DEPS)
315 $(SHELL) ./config.status --recheck
316
317 # make a snapshots and put them in the ftp snapshots directory
318 FTPTOP=/var/ftp/pub/am-utils
319 snapshot: dist install-snapshot
320 install-snapshot:
321 snap=`/bin/ls -1 am-utils*.tar.gz` && \
322 echo COPYING SNAPSHOTS: $$snap && \
323 cp -pu $$snap $(FTPTOP)/snapshots && \
324 rm -f $(FTPTOP)/am-utils-6.1-snapshot.tar.gz && \
325 ln -s snapshots/$$snap $(FTPTOP)/am-utils-6.1-snapshot.tar.gz && \
326 (cd $(FTPTOP) && ${MAKE} ${MFLAGS}) && \
327 (cd $(FTPTOP)/snapshots && ${MAKE} ${MFLAGS})
328 test-snapshot: dist
329 mv -f am-utils*.tar.gz /var/ftp/private/ezk
330
331 # dist hook: change directory modes so they are not world writable
332 dist-hook:
333 @echo "Protecting distribution directories..."
334 chmod -R go-w $(distdir)