diff options
author | Andre Fischer <af@apache.org> | 2011-12-16 12:59:55 +0000 |
---|---|---|
committer | Andre Fischer <af@apache.org> | 2011-12-16 12:59:55 +0000 |
commit | 1a85ae2b616d939c5beba46e550f7837fc693b2b (patch) | |
tree | 84da573ecba70ca173af47cd24b84e6fc88cad55 /saxon | |
parent | 54de47df2adf9cac89cd315a2b340c858339c830 (diff) |
118674: Made category B code optional and disabled by default.
Diffstat (limited to 'saxon')
-rw-r--r-- | saxon/makefile.mk | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/saxon/makefile.mk b/saxon/makefile.mk index ea2dd283402b..cf2d9ebf45cb 100644 --- a/saxon/makefile.mk +++ b/saxon/makefile.mk @@ -35,14 +35,23 @@ TARGET=saxon .INCLUDE : settings.mk .INCLUDE : antsettings.mk -.IF "$(DISABLE_SAXON)" == "" - -.IF "$(SOLAR_JAVA)" != "" .IF "$(SYSTEM_SAXON)" == "YES" + all: - @echo "An already available installation of saxon should exist on your system." + @echo "An already available installation of saxon should exist on your system." @echo "Therefore the version provided here does not need to be built in addition." -.ENDIF + +.ELIF "$(DISABLE_SAXON)" == "YES" + +all: + @echo Support for saxon is disabled. + +.ELIF "$(SOLAR_JAVA)" == "" + +all: + @echo No Java support. Can not compile saxon. + +.ELSE # --- Files -------------------------------------------------------- @@ -57,19 +66,10 @@ BUILD_ACTION=$(ANT) $(ANT_FLAGS) -Dsolarbindir=$(SOLARBINDIR) jar-bj OUT2CLASS= saxon-build$/9.0.0.7$/bj$/saxon9.jar -.ELSE # $(SOLAR_JAVA)!= "" -nojava: - @echo "Not building $(PRJNAME) because Java is disabled" -.ENDIF # $(SOLAR_JAVA)!= "" # --- Targets ------------------------------------------------------ .INCLUDE : set_ext.mk .INCLUDE : target.mk -.IF "$(SOLAR_JAVA)" != "" .INCLUDE : tg_ext.mk -.ENDIF -.ELSE -all: - @echo "saxon disabled" -.ENDIF +.ENDIF # "$(SOLAR_JAVA)" == "" |