2002-09-13 22:14:47 +00:00
|
|
|
#===-- Makefile.SunOS - SunOS specific makefile options ---*- makefile -*--====#
|
|
|
|
#
|
|
|
|
# This file is included by all other files, through Makefile.common, but only
|
|
|
|
# when compiling on a solaris based platform.
|
|
|
|
#
|
|
|
|
#===-----------------------------------------------------------------------====#
|
|
|
|
|
2002-12-06 03:45:20 +00:00
|
|
|
# Set the architecture so that Sparc platform dependant code is compmiled
|
|
|
|
ARCH := Sparc
|
|
|
|
|
2002-09-13 22:14:47 +00:00
|
|
|
# MakeSharedObjectOption - This option is passed to the linker by
|
|
|
|
# Makefile.common when compiling a shared object.
|
|
|
|
#
|
|
|
|
MakeSharedObjectOption := -G
|
|
|
|
|
2002-11-04 20:53:27 +00:00
|
|
|
# PLATFORMLINKOPTS - On sun we need to link to libmalloc.so to get a definition
|
|
|
|
# of mallinfo.
|
2002-11-04 21:03:13 +00:00
|
|
|
PLATFORMLINKOPTS := -lmalloc
|
2002-09-13 22:14:47 +00:00
|
|
|
|
2003-01-31 19:00:26 +00:00
|
|
|
# PLATFORMSTRIPOPTS - Command to pass to the link phase to cause symbols to be
|
|
|
|
# stripped from the resultant binary.
|
|
|
|
#
|
|
|
|
# FIXME: I don't know what this is for sun, so leave it alone
|
|
|
|
#
|
|
|
|
PLATFORMSTRIPOPTS :=
|
|
|
|
|
2003-06-17 20:08:02 +00:00
|
|
|
# PLATFORMLIBDL - Library that supports dlsym() et al.
|
|
|
|
PLATFORMLIBDL := -ldl
|
|
|
|
|
2002-09-19 19:44:28 +00:00
|
|
|
# Path to location for LLVM front-end for this architecture. This setting may
|
|
|
|
# be overriden by the Makefile.config option, and should not override it if set.
|
|
|
|
#
|
2003-05-11 21:41:09 +00:00
|
|
|
LLVMGCCARCH := sparcv9-sun-solaris2.8/3.4-llvm
|
2003-05-25 16:52:41 +00:00
|
|
|
ifndef LLVMGCCDIR
|
2003-05-11 21:41:09 +00:00
|
|
|
LLVMGCCDIR := /home/vadve/lattner/local/sparc/llvm-gcc/
|
2002-09-19 19:44:28 +00:00
|
|
|
endif
|