Remove a ton of extraneous #includes
[oota-llvm.git] / Makefile.SunOS
1 #===-- Makefile.SunOS - SunOS specific makefile options ---*- makefile -*--====#
2 #
3 # This file is included by all other files, through Makefile.common, but only
4 # when compiling on a solaris based platform.
5 #
6 #===-----------------------------------------------------------------------====#
7
8 # Set the architecture so that Sparc platform dependant code is compmiled
9 ARCH := Sparc
10
11 # MakeSharedObjectOption - This option is passed to the linker by
12 # Makefile.common when compiling a shared object.
13 #
14 MakeSharedObjectOption := -G
15
16 # PLATFORMLINKOPTS - On sun we need to link to libmalloc.so to get a definition
17 # of mallinfo.
18 PLATFORMLINKOPTS := -lmalloc
19
20 # PLATFORMSTRIPOPTS - Command to pass to the link phase to cause symbols to be 
21 # stripped from the resultant binary.
22 #
23 # FIXME: I don't know what this is for sun, so leave it alone
24 #
25 PLATFORMSTRIPOPTS :=
26
27 # PLATFORMLIBDL - Library that supports dlsym() et al. 
28 PLATFORMLIBDL := -ldl
29
30 # Path to location for LLVM front-end for this architecture.  This setting may
31 # be overriden by the Makefile.config option, and should not override it if set.
32 #
33 LLVMGCCARCH := sparcv9-sun-solaris2.8/3.4-llvm
34 ifndef LLVMGCCDIR
35 LLVMGCCDIR  := /home/vadve/lattner/local/sparc/llvm-gcc/
36 endif