| 1 | ## Process this file with automake to create Makefile.in | 
|---|
| 2 | AUTOMAKE_OPTIONS = no-dependencies | 
|---|
| 3 |  | 
|---|
| 4 | SUBDIRS = intl po lib doc src tests m4 vms bootstrap | 
|---|
| 5 |  | 
|---|
| 6 | EXTRA_DIST = TODO README README-alpha PATCHES.AC PATCHES.AM | 
|---|
| 7 |  | 
|---|
| 8 | # We should be able to just define `ACLOCAL_AMFLAGS = --acdir=m4', | 
|---|
| 9 | # but this runs afoul of a bug in automake 1. | 
|---|
| 10 | # The following hack works around this bug by creating acinclude.m4 manually. | 
|---|
| 11 | ACLOCAL_AMFLAGS = | 
|---|
| 12 | M4DIR = $(srcdir)/m4 | 
|---|
| 13 | ACINCLUDE_INPUTS = $(M4DIR)/decl.m4 $(M4DIR)/djgpp.m4 $(M4DIR)/dosfile.m4 \ | 
|---|
| 14 | $(M4DIR)/envsep.m4 $(M4DIR)/error.m4 $(M4DIR)/gettext.m4 $(M4DIR)/glibc.m4 \ | 
|---|
| 15 | $(M4DIR)/header.m4 $(M4DIR)/init.m4 $(M4DIR)/install.m4 \ | 
|---|
| 16 | $(M4DIR)/inttypes_h.m4 $(M4DIR)/isc-posix.m4 $(M4DIR)/largefile.m4 \ | 
|---|
| 17 | $(M4DIR)/lcmessage.m4 $(M4DIR)/malloc.m4 $(M4DIR)/mbstate_t.m4 \ | 
|---|
| 18 | $(M4DIR)/missing.m4 $(M4DIR)/progtest.m4 $(M4DIR)/realloc.m4 \ | 
|---|
| 19 | $(M4DIR)/regex.m4 $(M4DIR)/sanity.m4 $(M4DIR)/strerror_r.m4 \ | 
|---|
| 20 | $(M4DIR)/uintmax_t.m4 $(M4DIR)/ulonglong.m4 $(M4DIR)/xstrtoumax.m4 | 
|---|
| 21 | $(srcdir)/acinclude.m4 : $(ACINCLUDE_INPUTS) | 
|---|
| 22 | cat $(ACINCLUDE_INPUTS) >$(srcdir)/acinclude.m4 | 
|---|
| 23 |  | 
|---|
| 24 | # make cvs-clean blatantly stolen from KDE CVS ;) | 
|---|
| 25 | cvs-clean: | 
|---|
| 26 | @if test ! -d CVS; then \ | 
|---|
| 27 | echo "You don't have a toplevel CVS directory."; \ | 
|---|
| 28 | echo "You most certainly didn't use cvs to get these sources."; \ | 
|---|
| 29 | echo "But this function depends on cvs's information."; \ | 
|---|
| 30 | exit 1 ;\ | 
|---|
| 31 | fi;\ | 
|---|
| 32 | pwd=`pwd` ;\ | 
|---|
| 33 | dirs=`find . -type d | grep -v CVS | sed -e "s#^./##"` ;\ | 
|---|
| 34 | for i in $$dirs; do \ | 
|---|
| 35 | if test ! -d "$$pwd/$$i/CVS"; then \ | 
|---|
| 36 | echo "D $$i" ;\ | 
|---|
| 37 | rm -rf "$$pwd/$$i"; \ | 
|---|
| 38 | continue; \ | 
|---|
| 39 | fi ;\ | 
|---|
| 40 | cd $$pwd/$$i ;\ | 
|---|
| 41 | for f in * .*; do \ | 
|---|
| 42 | if test ! -d "$$f"; then \ | 
|---|
| 43 | if grep "^/$$f/" CVS/Entries > /dev/null; then \ | 
|---|
| 44 | a="b"; \ | 
|---|
| 45 | else \ | 
|---|
| 46 | echo "F $$i/$$f"; \ | 
|---|
| 47 | rm -f "$$pwd/$$i/$$f"; \ | 
|---|
| 48 | fi; \ | 
|---|
| 49 | fi ; \ | 
|---|
| 50 | done; \ | 
|---|
| 51 | done | 
|---|