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