blob: 43b5c0b2c71d7fb7a44d581d9d84861a310df76b [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#
30ifndef LLVMGCCDIR
Chris Lattner50aa4302002-10-10 19:28:10 +000031LLVMGCCDIR := /home/vadve/lattner/cvs/gcc_install_sparc
Chris Lattner7f666ca2002-09-19 19:44:28 +000032endif