summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in77
1 files changed, 48 insertions, 29 deletions
diff --git a/Makefile.in b/Makefile.in
index 684bf57..6c43cc5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,6 +1,6 @@
# Makefile for GNU patch.
-# Copyright (C) 1993, 1997, 1998, 1999, 2001, 2002 Free Software
+# Copyright (C) 1993, 1997, 1998, 1999, 2001, 2002, 2003 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -61,12 +61,11 @@ CONFIG_STATUS = config.status
SHELL = /bin/sh
-LIBSRCS = malloc.c memchr.c mkdir.c \
- realloc.c rename.c rmdir.c strcasecmp.c strncasecmp.c
+LIBSRCS = error.c malloc.c memchr.c mkdir.c \
+ realloc.c rmdir.c strcasecmp.c strncasecmp.c
SRCS = $(LIBSRCS) \
addext.c argmatch.c backupfile.c \
basename.c dirname.c \
- error.c exitfail.c \
getopt.c getopt1.c inp.c \
maketime.c partime.c \
patch.c pch.c \
@@ -75,21 +74,20 @@ SRCS = $(LIBSRCS) \
OBJS = $(LIBOBJS) \
addext.$(OBJEXT) argmatch.$(OBJEXT) backupfile.$(OBJEXT) \
basename.$(OBJEXT) dirname.$(OBJEXT) \
- error.$(OBJEXT) exitfail.$(OBJEXT) \
getopt.$(OBJEXT) getopt1.$(OBJEXT) inp.$(OBJEXT) \
maketime.$(OBJEXT) partime.$(OBJEXT) \
patch.$(OBJEXT) pch.$(OBJEXT) \
quote.$(OBJEXT) quotearg.$(OBJEXT) quotesys.$(OBJEXT) \
util.$(OBJEXT) version.$(OBJEXT) xmalloc.$(OBJEXT)
HDRS = argmatch.h backupfile.h common.h dirname.h \
- error.h exitfail.h getopt.h \
- inp.h maketime.h partime.h patchlevel.h pch.h \
+ error.h getopt.h gettext.h \
+ inp.h maketime.h partime.h pch.h \
quote.h quotearg.h quotesys.h \
unlocked-io.h util.h version.h xalloc.h
MISC = AUTHORS COPYING ChangeLog INSTALL Makefile.in NEWS README \
aclocal.m4 \
config.hin configure configure.ac \
- install-sh mkinstalldirs patch.man
+ install-sh mkinstalldirs patch.man stdbool.h.in
DISTFILES = $(MISC) $(SRCS) $(HDRS)
DISTFILES_M4 = $(ACINCLUDE_INPUTS)
DISTFILES_PC = pc/chdirsaf.c
@@ -135,25 +133,42 @@ 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
M4DIR = $(srcdir)/m4
-ACINCLUDE_INPUTS = $(M4DIR)/c-bs-a.m4 $(M4DIR)/d-ino.m4 $(M4DIR)/error.m4 \
- $(M4DIR)/jm-glibc-io.m4 $(M4DIR)/malloc.m4 $(M4DIR)/mbstate_t.m4 \
- $(M4DIR)/mkdir.m4 $(M4DIR)/mbrtowc.m4 \
- $(M4DIR)/prereq.m4 $(M4DIR)/realloc.m4 \
- $(M4DIR)/setmode.m4 $(M4DIR)/utimbuf.m4
+ACINCLUDE_INPUTS = \
+ $(M4DIR)/backupfile.m4 \
+ $(M4DIR)/d-ino.m4 \
+ $(M4DIR)/dirname.m4 \
+ $(M4DIR)/dos.m4 \
+ $(M4DIR)/error.m4 \
+ $(M4DIR)/getopt.m4 \
+ $(M4DIR)/malloc.m4 \
+ $(M4DIR)/mbrtowc.m4 \
+ $(M4DIR)/mbstate_t.m4 \
+ $(M4DIR)/memchr.m4 \
+ $(M4DIR)/mkdir.m4 \
+ $(M4DIR)/onceonly.m4 \
+ $(M4DIR)/quote.m4 \
+ $(M4DIR)/quotearg.m4 \
+ $(M4DIR)/realloc.m4 \
+ $(M4DIR)/rmdir.m4 \
+ $(M4DIR)/setmode.m4 \
+ $(M4DIR)/stdbool.m4 \
+ $(M4DIR)/unlocked-io.m4 \
+ $(M4DIR)/utimbuf.m4 \
+ $(M4DIR)/xalloc.m4
$(srcdir)/aclocal.m4: $(ACINCLUDE_INPUTS)
cat $(ACINCLUDE_INPUTS) >$(srcdir)/aclocal.m4
-patchlevel.h: configure
- echo '#define PATCH_VERSION "$(PACKAGE_VERSION)"' >patchlevel.h
-
-TAGS: $(HDRS) patchlevel.h $(SRCS)
- etags $(HDRS) patchlevel.h $(SRCS)
+TAGS: $(HDRS) $(SRCS)
+ etags $(HDRS) $(SRCS)
mostlyclean::
- rm -f core* *core *.$(OBJEXT) *_.c
+ rm -f core* *core *.$(OBJEXT) *_.c stdbool.h
clean:: mostlyclean
rm -f patch$(EXEEXT)
@@ -180,23 +195,27 @@ dist:: $(DISTFILES) $(DISTFILES_M4) $(DISTFILES_PC) $(DISTFILES_PC_DJGPP)
rm -rf $(PV)
$(OBJS): config.h
+COMMON = common.h @STDBOOL_H@
addext.$(OBJEXT): backupfile.h dirname.h
-argmatch.$(OBJEXT): argmatch.h error.h quote.h quotearg.h unlocked-io.h
+argmatch.$(OBJEXT): argmatch.h gettext.h error.h \
+ quote.h quotearg.h unlocked-io.h
backupfile.$(OBJEXT): argmatch.h backupfile.h dirname.h
basename.$(OBJEXT): dirname.h
-error.$(OBJEXT): error.h unlocked-io.h
+dirname.$(OBJEXT): dirname.h xalloc.h
+error.$(OBJEXT): error.h gettext.h unlocked-io.h
getopt.$(OBJEXT) getopt1.$(OBJEXT): getopt.h
-inp.$(OBJEXT): backupfile.h common.h inp.h pch.h quotearg.h util.h xalloc.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.h exitfail.h getopt.h inp.h \
+patch.$(OBJEXT): argmatch.h backupfile.h $(COMMON) getopt.h inp.h \
pch.h quotearg.h util.h version.h xalloc.h
-pch.$(OBJEXT): backupfile.h common.h dirname.h inp.h pch.h quotearg.h util.h
-quotearg.$(OBJEXT): quotearg.h xalloc.h
+pch.$(OBJEXT): backupfile.h $(COMMON) dirname.h inp.h pch.h quotearg.h util.h
+quote.$(OBJECT): quote.h quotearg.h
+quotearg.$(OBJEXT): gettext.h quotearg.h xalloc.h
quotesys.$(OBJEXT): quotesys.h
-rename.$(OBJEXT): dirname.h xalloc.h
-util.$(OBJEXT): backupfile.h common.h dirname.h maketime.h \
+strncasecmp.$(OBJEXT): strcasecmp.c
+util.$(OBJEXT): backupfile.h $(COMMON) dirname.h maketime.h \
partime.h quotearg.h quotesys.h util.h version.h xalloc.h
-version.$(OBJEXT): common.h patchlevel.h util.h version.h
-xmalloc.$(OBJEXT): exitfail.h xalloc.h
+version.$(OBJEXT): $(COMMON) version.h
+xmalloc.$(OBJEXT): error.h gettext.h xalloc.h