1## Process this file with automake to produce Makefile.in -*-Makefile-*- 2 3##m4-files-begin 4EXTRA_DIST = \ 5 README jm-glibc-io.m4 Makefile.am.in \ 6c-bs-a.m4 \ 7c-stack.m4 \ 8check-decl.m4 \ 9codeset.m4 \ 10dos.m4 \ 11error.m4 \ 12fnmatch.m4 \ 13gettext.m4 \ 14glibc21.m4 \ 15gnu-source.m4 \ 16iconv.m4 \ 17inttypes.m4 \ 18jm-glibc-io.m4 \ 19lcmessage.m4 \ 20lib-ld.m4 \ 21lib-link.m4 \ 22lib-prefix.m4 \ 23longlong.m4 \ 24malloc.m4 \ 25mbrtowc.m4 \ 26mbstate_t.m4 \ 27prereq.m4 \ 28progtest.m4 \ 29realloc.m4 \ 30regex.m4 \ 31setmode.m4 \ 32st_mtim.m4 \ 33stdbool.m4 \ 34strftime.m4 \ 35vararrays.m4 \ 36xstrtoumax.m4 37##m4-files-end 38 39Makefile.am: Makefile.am.in 40 rm -f $@ $@t 41 sed -n '1,/^##m4-files-begin/p' $< > $@t 42 (((echo EXTRA_DIST =; \ 43 echo " README jm-glibc-io.m4 Makefile.am.in" \ 44 ) | tr '\012' @); \ 45 (echo *.m4|tr ' ' @) ) \ 46 |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ 47 >> $@t 48 sed -n '/^##m4-files-end/,$$p' $< >> $@t 49 chmod a-w $@t 50 mv $@t $@ 51