# # File: Makefile.alpha # Author: The SRI DECIPHER (TM) System # Date: Wed Feb 22 10:55:01 1995 # # Description: # Machine dependent compilation options and variable definitions # for the DEC alpha. # # Copyright (c) 1995-2001 SRI International. All Rights Reserved. # # $Header: /home/srilm/CVS/srilm/common/Makefile.machine.alpha,v 1.8 2003/02/21 22:30:00 stolcke Exp $ # GCC_FLAGS = -V2.8.1 -mieee-with-inexact -Wreturn-type -Wimplicit CC = gcc $(GCC_FLAGS) CXX = g++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES # Optional compilation flags. OPTIMIZE_FLAGS = -g3 -O2 DEBUG_FLAGS = -g -DDEBUG PROFILE_FLAGS = -p -g3 -O2 # Optional linking flags. EXPORT_LDFLAGS = -s # Shared compilation flags. # Note: "-ieee_with_inexact" is much too slow for our purposes, but # "-ieee_with_no_inexact" gives basically the same numerical # behavior without being too slow. CFLAGS = $(ADDITIONAL_CFLAGS) $(INCLUDES) CXXFLAGS = $(ADDITIONAL_CXXFLAGS) $(INCLUDES) # Shared linking flags. # XXX -- I have not been able to generate non-pageable executables on # the ALPHAs, using either -n or -nN. ***PSI*** 9-Mar-1994 LDFLAGS = $(ADDITIONAL_LDFLAGS) -L$(SRILM_LIBDIR) # Other useful compilation options. ADDITIONAL_CFLAGS = ADDITIONAL_CXXFLAGS = # Other useful include directories. ADDITIONAL_INCLUDES = # Other useful linking flags. ADDITIONAL_LDFLAGS = # Other useful libraries. ADDITIONAL_LIBRARIES = -lm # Tcl support TCL_INCLUDE = -I/usr/local/include TCL_LIBRARY = -L/usr/local/lib -ltcl # Do Alphas require ranlib(1) to be run on libraries? RANLIB = echo # Generate dependencies from source files. GEN_DEP = $(CC) $(CFLAGS) -M GEN_DEP.cc = $(CXX) $(CXXFLAGS) -MM # Run lint. Lint flags are useful for the Alpha: LINT = lint LINT_FLAGS = -u -wA -Q -Nn10000 -u -DDEBUG $(INCLUDES)