2 # Configuration variables.
6 # Assume make is always run from top-level of source directory. Note than an
7 # Apple style build overrides these variables later in the makefile.
8 ProjSrcRoot
:= $(shell pwd
)
9 ProjObjRoot
:= $(ProjSrcRoot
)
11 # The list of modules which are required to be built into every library. This
12 # should only be used for internal utilities which could be used in any other
13 # module. Any other cases the platform should be allowed to opt-in to.
14 AlwaysRequiredModules
:= int_util
17 # Tool configuration variables.
19 # FIXME: LLVM uses autoconf/mkinstalldirs ?
30 # Automatic and derived variables.
32 # Adjust settings for verbose mode
45 # Common compiler options
46 COMMON_INCLUDES
=-I
${ProjSrcRoot}/lib
-I
${ProjSrcRoot}/include
47 COMMON_CXXFLAGS
=-fno-exceptions
-fPIC
-funwind-tables
$(COMMON_INCLUDES
)
48 COMMON_CFLAGS
=-fPIC
$(COMMON_INCLUDES
)
49 COMMON_ASMFLAGS
=$(COMMON_INCLUDES
)