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