Chris Lattner | 4bb13b8 | 2002-09-13 22:14:47 +0000 | [diff] [blame] | 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 | |
Chris Lattner | c35679b | 2002-12-06 03:45:20 +0000 | [diff] [blame] | 8 | # Set the architecture so that Sparc platform dependant code is compmiled |
| 9 | ARCH := Sparc |
| 10 | |
Chris Lattner | 4bb13b8 | 2002-09-13 22:14:47 +0000 | [diff] [blame] | 11 | # MakeSharedObjectOption - This option is passed to the linker by |
| 12 | # Makefile.common when compiling a shared object. |
| 13 | # |
| 14 | MakeSharedObjectOption := -G |
| 15 | |
Chris Lattner | b5e4d8f | 2002-11-04 20:53:27 +0000 | [diff] [blame] | 16 | # PLATFORMLINKOPTS - On sun we need to link to libmalloc.so to get a definition |
| 17 | # of mallinfo. |
Nick Hildenbrandt | cae3783 | 2002-11-04 21:03:13 +0000 | [diff] [blame] | 18 | PLATFORMLINKOPTS := -lmalloc |
Chris Lattner | 4bb13b8 | 2002-09-13 22:14:47 +0000 | [diff] [blame] | 19 | |
Chris Lattner | 527002c | 2003-01-31 19:00:26 +0000 | [diff] [blame] | 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 | |
Chris Lattner | 7f666ca | 2002-09-19 19:44:28 +0000 | [diff] [blame] | 27 | # Path to location for LLVM front-end for this architecture. This setting may |
| 28 | # be overriden by the Makefile.config option, and should not override it if set. |
| 29 | # |
Chris Lattner | 797209d | 2003-05-11 21:41:09 +0000 | [diff] [blame] | 30 | LLVMGCCARCH := sparcv9-sun-solaris2.8/3.4-llvm |
Chris Lattner | f6bcd1b | 2003-05-25 16:52:41 +0000 | [diff] [blame] | 31 | ifndef LLVMGCCDIR |
Chris Lattner | 797209d | 2003-05-11 21:41:09 +0000 | [diff] [blame] | 32 | LLVMGCCDIR := /home/vadve/lattner/local/sparc/llvm-gcc/ |
Chris Lattner | 7f666ca | 2002-09-19 19:44:28 +0000 | [diff] [blame] | 33 | endif |