fi
# stmp-headers is to make sure fixincludes has already finished.
+# The if statement is so that we don't run fixproto a second time
+# if it has already been run on the files in `include'.
stmp-fixproto: fixhdr.ready 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)
+ if [ -f include/fixed ] ; then true; \
+ else \
+ CPP="$(GCC_FOR_TARGET) -E"; export CPP; \
+ ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR); \
+ touch include/fixed; \
+ fi
touch stmp-fixproto
\f
# Remake the info files.