summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-07-03 00:36:46 +0000
committerAndreas Gruenbacher <agruen@suse.de>2009-03-19 01:43:38 +0100
commitfc6b1e2e0ef3725d43b1d10c2a1268c0ec2be574 (patch)
tree0ffc2dff59bec7cfda0c7ec7ce07dc73c87671e3
parent4a1717d1fdb59c7da2a2071699390557c247401a (diff)
downloadpatch-fc6b1e2e0ef3725d43b1d10c2a1268c0ec2be574.tar.gz
(LIBSRCS): Remove mkdir.c and rmdir.c. (stdbool.h): Put output into temporary file and then rename it; this change is imported from gnulib. (mostlyclean): Clean stdbool.h-t too. (ACINCLUDE_INPUTS): Remove rmdir.m4. Add strcase.m4.
-rw-r--r--Makefile.in17
1 files changed, 8 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in
index 6c43cc5..eaac915 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -61,8 +61,8 @@ CONFIG_STATUS = config.status
SHELL = /bin/sh
-LIBSRCS = error.c malloc.c memchr.c mkdir.c \
- realloc.c rmdir.c strcasecmp.c strncasecmp.c
+LIBSRCS = error.c malloc.c memchr.c \
+ realloc.c strcasecmp.c strncasecmp.c
SRCS = $(LIBSRCS) \
addext.c argmatch.c backupfile.c \
basename.c dirname.c \
@@ -87,7 +87,7 @@ HDRS = argmatch.h backupfile.h common.h dirname.h \
MISC = AUTHORS COPYING ChangeLog INSTALL Makefile.in NEWS README \
aclocal.m4 \
config.hin configure configure.ac \
- install-sh mkinstalldirs patch.man stdbool.h.in
+ install-sh mkinstalldirs patch.man stdbool_.h
DISTFILES = $(MISC) $(SRCS) $(HDRS)
DISTFILES_M4 = $(ACINCLUDE_INPUTS)
DISTFILES_PC = pc/chdirsaf.c
@@ -133,9 +133,9 @@ configure: configure.ac $(srcdir)/aclocal.m4
cd $(srcdir) && autoconf
config.hin: configure.ac $(srcdir)/aclocal.m4
cd $(srcdir) && rm -f config.hin && autoheader
-stdbool.h: stdbool.h.in
- sed -e 's/@''HAVE__BOOL''@/@HAVE__BOOL@/g' \
- <$(srcdir)/stdbool.h.in >stdbool.h
+stdbool.h: stdbool_.h
+ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > stdbool.h-t
+ mv stdbool.h-t stdbool.h
M4DIR = $(srcdir)/m4
ACINCLUDE_INPUTS = \
@@ -154,9 +154,9 @@ ACINCLUDE_INPUTS = \
$(M4DIR)/quote.m4 \
$(M4DIR)/quotearg.m4 \
$(M4DIR)/realloc.m4 \
- $(M4DIR)/rmdir.m4 \
$(M4DIR)/setmode.m4 \
$(M4DIR)/stdbool.m4 \
+ $(M4DIR)/strcase.m4 \
$(M4DIR)/unlocked-io.m4 \
$(M4DIR)/utimbuf.m4 \
$(M4DIR)/xalloc.m4
@@ -168,7 +168,7 @@ TAGS: $(HDRS) $(SRCS)
etags $(HDRS) $(SRCS)
mostlyclean::
- rm -f core* *core *.$(OBJEXT) *_.c stdbool.h
+ rm -f core* *core *.$(OBJEXT) *_.c stdbool.h stdbool.h-t
clean:: mostlyclean
rm -f patch$(EXEEXT)
@@ -206,7 +206,6 @@ error.$(OBJEXT): error.h gettext.h unlocked-io.h
getopt.$(OBJEXT) getopt1.$(OBJEXT): getopt.h
inp.$(OBJEXT): backupfile.h $(COMMON) inp.h pch.h quotearg.h util.h xalloc.h
maketime.$(OBJEXT): maketime.h partime.h
-mkdir.$(OBJEXT): dirname.h xalloc.h
partime.$(OBJEXT): partime.h
patch.$(OBJEXT): argmatch.h backupfile.h $(COMMON) getopt.h inp.h \
pch.h quotearg.h util.h version.h xalloc.h