macro_name "PATHSCALE"

binary_name "pathCC"

compile_option "-c "
output_to_option "-o "
add_include_dir_option "-I"
add_lib_dir_option "-L"
add_lib_option "-l"

lib_opt_flags "-O3 -OPT:Ofast:alias=disjoint"
check_opt_flags "-O2"
lang_flags "-D_REENTRANT -ansi -Wno-long-long"
warning_flags "-W -Wall"

ar_command "pathCC -ar -o"

shared_flags "-fPIC"
debug_flags "-g"

dll_import_flags ""
dll_export_flags ""

makefile_style unix

<so_link_flags>
default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)"
</so_link_flags>

<mach_opt>
athlon   -> "-mcpu=athlon"
pentium4 -> "-mcpu=pentium4"

opteron  -> "-mcpu=opteron"
em64t    -> "-mcpu=em64t"
core2    -> "-mcpu=core"

ia32     -> "-mcpu=anyx86"
amd64    -> "-mcpu=athlon64"
</mach_opt>
