Browse Source

Highlight some error messages in the Makefile.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10788 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 10 years ago
parent
commit
3a104c0760
  1. 10
      prism/Makefile

10
prism/Makefile

@ -584,7 +584,7 @@ clean_strat: checks
checks: checks:
@(if [ "$(OSTYPE)" != "linux" -a "$(OSTYPE)" != "solaris" -a "$(OSTYPE)" != "cygwin" -a "$(OSTYPE)" != "darwin" ]; then \ @(if [ "$(OSTYPE)" != "linux" -a "$(OSTYPE)" != "solaris" -a "$(OSTYPE)" != "cygwin" -a "$(OSTYPE)" != "darwin" ]; then \
echo "To compile PRISM, the environment variable OSTYPE"; \
echo "\033[33mTo compile PRISM, the environment variable OSTYPE"; \
echo "must be set to one of: linux, solaris, cygwin or darwin,"; \ echo "must be set to one of: linux, solaris, cygwin or darwin,"; \
echo "depending on which operating system you are using."; \ echo "depending on which operating system you are using."; \
echo "This is not the case on your system. Please specify"; \ echo "This is not the case on your system. Please specify"; \
@ -598,7 +598,7 @@ checks:
exit 1; \ exit 1; \
fi; \ fi; \
if [ "$(JAVA_DIR)" = "" ]; then \ if [ "$(JAVA_DIR)" = "" ]; then \
echo "PRISM was unable to find the directory which contains"; \
echo "\033[33mPRISM was unable to find the directory which contains"; \
echo "your Java distribution. Please specify this manually to"; \ echo "your Java distribution. Please specify this manually to"; \
echo "make, as in these examples:"; \ echo "make, as in these examples:"; \
echo; \ echo; \
@ -613,16 +613,16 @@ checks:
exit 1; \ exit 1; \
fi; \ fi; \
if [ ! -d "$(JAVA_DIR)" ]; then \ if [ ! -d "$(JAVA_DIR)" ]; then \
echo "Java directory \"$(JAVA_DIR)\" does not exist."; \
echo "\033[33mJava directory \"$(JAVA_DIR)\" does not exist."; \
exit 1; \ exit 1; \
fi; \ fi; \
if [ ! -f "$(JAVA_JNI_H_DIR)"/jni.h ]; then \ if [ ! -f "$(JAVA_JNI_H_DIR)"/jni.h ]; then \
echo "Could not locate JNI header jni.h within \"$(JAVA_DIR)\"."; \
echo "\033[33mCould not locate JNI header jni.h within \"$(JAVA_DIR)\"."; \
echo "You may need to set JAVA_DIR by hand. See the PRISM manual for details."; \ echo "You may need to set JAVA_DIR by hand. See the PRISM manual for details."; \
exit 1; \ exit 1; \
fi; \ fi; \
if [ ! -f "$(JAVA_JNI_MD_H_DIR)"/jni_md.h ]; then \ if [ ! -f "$(JAVA_JNI_MD_H_DIR)"/jni_md.h ]; then \
echo "Could not locate JNI header jni_md.h within \"$(JAVA_DIR)\"."; \
echo "\033[33mCould not locate JNI header jni_md.h within \"$(JAVA_DIR)\"."; \
echo "You may need to set JAVA_DIR by hand. See the PRISM manual for details."; \ echo "You may need to set JAVA_DIR by hand. See the PRISM manual for details."; \
exit 1; \ exit 1; \
fi; \ fi; \

Loading…
Cancel
Save