blob: e9473637c7e699c5b32f21ca067d2ed2f7fb584f [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 Lattner7f666ca2002-09-19 19:44:28 +000020# Path to location for LLVM front-end for this architecture. This setting may
21# be overriden by the Makefile.config option, and should not override it if set.
22#
23ifndef LLVMGCCDIR
Chris Lattner50aa4302002-10-10 19:28:10 +000024LLVMGCCDIR := /home/vadve/lattner/cvs/gcc_install_sparc
Chris Lattner7f666ca2002-09-19 19:44:28 +000025endif