diff options
| author | Alain Frisch <alain@frisch.fr> | 2014-09-02 15:07:59 +0000 |
|---|---|---|
| committer | Alain Frisch <alain@frisch.fr> | 2014-09-02 15:07:59 +0000 |
| commit | 2478ce96ea83e0e2ea9b8b0a994beae5e4e8acf0 (patch) | |
| tree | 5b4a552869bb215ea7a7b930340768ffda42f89a /Makefile | |
| parent | 8565699c41c0b5d162a887d7af51d82597cd347a (diff) | |
| download | ocaml-2478ce96ea83e0e2ea9b8b0a994beae5e4e8acf0.tar.gz | |
Only include Intel_* modules when arch is i386 or amd64.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -85,8 +85,16 @@ INTEL_ASM=\ asmcomp/intel_gas.cmo \ asmcomp/intel_masm.cmo +ARCH_SPECIFIC_ASMCOMP= +ifeq ($(ARCH),i386) +ARCH_SPECIFIC_ASMCOMP=$(INTEL_ASM) +endif +ifeq ($(ARCH),amd64) +ARCH_SPECIFIC_ASMCOMP=$(INTEL_ASM) +endif + ASMCOMP=\ - $(INTEL_ASM) \ + $(ARCH_SPECIFIC_ASMCOMP) \ asmcomp/arch.cmo asmcomp/debuginfo.cmo \ asmcomp/cmm.cmo asmcomp/printcmm.cmo \ asmcomp/reg.cmo asmcomp/mach.cmo asmcomp/proc.cmo \ |
