📄 makefile.machine.sparc-elf
字号:
## File: Makefile.sparc-elf# Author: The SRI DECIPHER (TM) System# Date: Fri Mar 3 15:30:10 PST 1995## Description:# Machine dependent compilation options and variable definitions# for Sun Sparcstations running SunOS 5.x (a.k.a. Solaris 2.x).## Copyright (c) 1995-2001 SRI International. All Rights Reserved.## $Header: /home/srilm/devel/common/RCS/Makefile.machine.sparc-elf,v 1.22 2006/01/05 20:25:44 stolcke Exp $#ifeq ($(USE_CC), ) # Use the GNU C compiler. # XXX: Since most of our fast machines are UltraSPARC based, optimize # the code for that platform. GCC_FLAGS = -mtune=ultrasparc -Wreturn-type -Wimplicit CC = /usr/local/lang/gcc-3.4.3/bin/gcc $(GCC_FLAGS) CXX = /usr/local/lang/gcc-3.4.3/bin/g++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES # Optional compilation flags. OPTIMIZE_FLAGS = -g -O3 DEBUG_FLAGS = -g -DDEBUG PROFILE_FLAGS = -pg -g -O3else # Use the Sun C compiler ACCPREFIX=/opt/SUNWspro/SC4.2/bin/ CC = $(ACCPREFIX)cc -Xa CXX = $(ACCPREFIX)CC -ptr$(OBJDIR) -ptv ARCHIVE = $(CXX) $(CXXFLAGS) -xar -o DEMANGLE_FILTER = 2>&1 | $(ACCPREFIX)c++filt # Optional compilation flags. OPTIMIZE_FLAGS = -fast -xO2 # -xO4 crashes compiler ... DEBUG_FLAGS = -g -DDEBUG PROFILE_FLAGS = -pg -g -O # keep binaries separate from the default OPTIMIZE_OPTION = _CCendif # Optional linking flags. EXPORT_LDFLAGS = -s # Shared compilation flags. CFLAGS = -DSVR4 $(ADDITIONAL_CFLAGS) $(INCLUDES) CXXFLAGS = -DSVR4 $(ADDITIONAL_CXXFLAGS) $(INCLUDES) # Shared linking flags. LDFLAGS = $(ADDITIONAL_LDFLAGS) -L$(SRILM_LIBDIR) # Other useful compilation flags. ADDITIONAL_CFLAGS = ADDITIONAL_CXXFLAGS = # Other useful include directories. ADDITIONAL_INCLUDES = # Other useful linking flags. ADDITIONAL_LDFLAGS = # Other useful libraries. ADDITIONAL_LIBRARIES = -lm -lsocket -lnsl -ldl # Tcl support #TCL_INCLUDE = -I/usr/local/include # not needed with gcc TCL_INCLUDE = TCL_LIBRARY = -L/usr/local/lib -ltcl -R/usr/local/lib # run-time linker path flag RLD_FLAG = -R # several tools are in nonstandard place AR = /usr/ccs/bin/ar LD = /usr/ccs/bin/ld # No ranlib -- this is SVR4 RANLIB = : # Generate dependencies from source files.ifneq ($(CC), $(subst gcc,,$(CC))) GEN_DEP = $(CC) $(CFLAGS) -MMelse GEN_DEP = $(CC) $(CFLAGS) -Mendififneq ($(CXX), $(subst g++,,$(CXX))) GEN_DEP.cc = $(CXX) $(CXXFLAGS) -MMelse GEN_DEP.cc = $(CXX) $(CXXFLAGS) -Mendif # Run lint. LINT = lint LINT_FLAGS = -DDEBUG $(CFLAGS)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -