blob: c6508bf1ed50ea245ddeeedc2e08e1ca88bd0d98 [file] [log] [blame]
Chris Lattner4bb13b82002-09-13 22:14:47 +00001#===-- 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 Lattnerc35679b2002-12-06 03:45:20 +00008# Set the architecture so that Sparc platform dependant code is compmiled
9ARCH := Sparc
10
Chris Lattner4bb13b82002-09-13 22:14:47 +000011# MakeSharedObjectOption - This option is passed to the linker by
12# Makefile.common when compiling a shared object.
13#
14MakeSharedObjectOption := -G
15
Chris Lattnerb5e4d8f2002-11-04 20:53:27 +000016# PLATFORMLINKOPTS - On sun we need to link to libmalloc.so to get a definition
17# of mallinfo.
Nick Hildenbrandtcae37832002-11-04 21:03:13 +000018PLATFORMLINKOPTS := -lmalloc
Chris Lattner4bb13b82002-09-13 22:14:47 +000019
Chris Lattner527002c2003-01-31 19:00:26 +000020# 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#
25PLATFORMSTRIPOPTS :=
26
Chris Lattner7f666ca2002-09-19 19:44:28 +000027# 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 Lattner797209d2003-05-11 21:41:09 +000030LLVMGCCARCH := sparcv9-sun-solaris2.8/3.4-llvm
Chris Lattnerf6bcd1b2003-05-25 16:52:41 +000031ifndef LLVMGCCDIR
Chris Lattner797209d2003-05-11 21:41:09 +000032LLVMGCCDIR := /home/vadve/lattner/local/sparc/llvm-gcc/
Chris Lattner7f666ca2002-09-19 19:44:28 +000033endif