1 # The makefile can be invoked with
2 # ARCH = x86_64 or x64 for EM64T build
3 # ARCH = ia32 or IA32 for IA32 build
4 # ARCH = ia64 or IA64 for IA64 build
8 CYGWIN:=$(findstring CYGWIN, $(shell uname -s))
9 LINUX:=$(findstring Linux, $(shell uname -s))
10 DARWIN:=$(findstring Darwin, $(shell uname -s))
19 ARCH_INCLUDE = -I $(MAKEROOT)/Include/Ia32/
23 ARCH_INCLUDE = -I $(MAKEROOT)/Include/X64/
26 INCLUDE = $(TOOL_INCLUDE) -I $(MAKEROOT) -I $(MAKEROOT)/Include/Common -I $(MAKEROOT)/Include/ -I $(MAKEROOT)/Include/IndustryStandard -I $(MAKEROOT)/Common/ -I .. -I . $(ARCH_INCLUDE)
28 CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fno-merge-constants -nostdlib -Wall -Werror -c -g
37 mkdir $(MAKEROOT)/libs