summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorbringert <unknown>2005-05-10 11:05:40 +0000
committerbringert <unknown>2005-05-10 11:05:40 +0000
commit09efc28c0116400801c6a36c61a8f9749d994eac (patch)
treee94cf93ffc66b22c753c6c77848df6c444d733a3 /src/Makefile
parent6896332b66200df120860558542ba11aefaceeb0 (diff)
Allow disabling building of Java components
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2283d1cd7..a0ccaa4d7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -28,7 +28,13 @@ GF_DOC_EXE=gfdoc$(EXEEXT)
temp install-gfdoc install-editor \
today help clean
-all: unix gfdoc jar
+ifeq ($(ENABLE_JAVA), "yes")
+ BUILD_JAR=jar
+else
+ BUILD_JAR=
+endif
+
+all: unix gfdoc $(BUILD_JAR)
unix: today touch-files opt