aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.vofiles
diff options
context:
space:
mode:
authorGravatar Jim Fehrle <jfehrle@sbcglobal.net>2018-05-23 20:22:56 -0700
committerGravatar Jim Fehrle <jfehrle@sbcglobal.net>2018-05-23 20:22:56 -0700
commit2ccec00285b3bf67d230eedda120cd72c328cfbb (patch)
treec854434fbd44915f298c41d0511dc68656336fb1 /Makefile.vofiles
parent9df6df865fc71ed9840fc569d3aa3cc7cf4750aa (diff)
Don't try to install native compiled files if native-compile is not set
Diffstat (limited to 'Makefile.vofiles')
-rw-r--r--Makefile.vofiles7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.vofiles b/Makefile.vofiles
index fc902c4a8..b1e97e991 100644
--- a/Makefile.vofiles
+++ b/Makefile.vofiles
@@ -30,9 +30,10 @@ vo_to_cm = $(foreach vo,$(1),$(dir $(vo)).coq-native/$(subst /,_,$(patsubst theo
vo_to_obj = $(foreach vo,$(1),$(dir $(vo)).coq-native/$(subst /,_,$(patsubst theories/%,NCoq_%,$(patsubst plugins/%,NCoq_%,$(vo:.vo=.o)))))
GLOBFILES:=$(ALLVO:.vo=.glob)
-LIBFILES:=$(ALLVO) $(call vo_to_cm,$(ALLVO)) \
- $(call vo_to_obj,$(ALLVO)) \
- $(VFILES) $(GLOBFILES)
+ifdef NATIVECOMPUTE
+NATIVEFILES := $(call vo_to_cm,$(ALLVO)) $(call vo_to_obj,$(ALLVO))
+endif
+LIBFILES:=$(ALLVO) $(NATIVEFILES) $(VFILES) $(GLOBFILES)
# For emacs:
# Local Variables: