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 :=
|
|
|
|
|
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.
|
|
|
|
#
|
|
|
|
ifndef LLVMGCCDIR
|
2002-10-10 19:28:10 +00:00
|
|
|
LLVMGCCDIR := /home/vadve/lattner/cvs/gcc_install_sparc
|
2002-09-19 19:44:28 +00:00
|
|
|
endif
|