# stmp-headers is to make sure fixincludes has already finished.
stmp-fixproto: fixhdr.ready xsys-protos.h fixproto stmp-headers
+ @echo "Various warnings and error messages from fixproto are normal"
CPP="$(GCC_FOR_TARGET) -E"; export CPP; \
${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR)
touch stmp-fixproto
distdir: doc $(srcdir)/INSTALL c-parse.y objc-parse.y cp-parse.y \
c-parse.c cp-parse.c objc-parse.c cexp.c
- if grep -s "for version ${mainversion}" gcc.texi; \
+ @if grep -s "for version ${mainversion}" gcc.texi > /dev/null; \
then true; \
else echo "You must update the version number in \`gcc.texi'"; sleep 10;\
fi
# Get rid of everything we don't want in the distribution.
cd gcc-$(version); make -f Makefile.in extraclean
+# make diff oldversion=M.N
+# creates a diff file between an older distribution and this one.
+# The -P option assumes this is GNU diff.
+diff:
+ diff -rc2P -x c-parse.y -x c-parse.c -x c-parse.h -x objc-parse.y \
+ -x cp-parse.c -x cp-parse.h -x cexp.c \
+ -x objc-parse.c -x TAGS -x "gcc.??" -x "gcc.??z" -x gcc.aux \
+ -x "cpp.??s" -x "cpp.??" -x cpp.aux -x "cpp.info*" -x "gcc.info*" \
+ gcc-$(oldversion) gcc-$(version) > diffs
+
# do make -f ../gcc/Makefile maketest DIR=../gcc
# in the intended test directory to make it a suitable test directory.
# THIS IS OBSOLETE; use the -srcdir operand in configure instead.