Add Makefile support for building on ARM, move comment that triggers bug on scratchbox's Make 3.80

This commit is contained in:
Justin Dolske 2008-06-22 14:43:09 -07:00
Родитель 0559b0e418
Коммит 6f8cfd6329
1 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -78,6 +78,9 @@ else
else
ifeq ($(machine), ppc) # FIXME: verify
arch = ppc
else
ifeq ($(machine), arm)
arch = arm
else
# FIXME: x86_64, ia64, sparc, Alpha
$(error Sorry, your arch is unknown/unsupported: $(machine))
@ -85,6 +88,7 @@ else
endif
endif
endif
endif
platform = $(os)_$(arch)-$(compiler)
@ -92,7 +96,8 @@ platform = $(os)_$(arch)-$(compiler)
idl = IWeaveCrypto.idl
cpp_sources = WeaveCrypto.cpp WeaveCryptoModule.cpp
target = WeaveCrypto # will have .so / .dylib / .dll appended
# will have .so / .dylib / .dll appended
target = WeaveCrypto
sdkdir ?= ${MOZSDKDIR}
destdir = ..