Makefile.tools
上传用户:sy_wanhua
上传日期:2013-07-25
资源大小:3048k
文件大小:2k
- # $Id: Makefile.tools,v 1.6 2001/06/29 05:36:35 bko Exp $
- ######################################################################
- # Default tool names/locations
- ######################################################################
- # this makefile defines what tools are named (and possibly where they
- # are located) for different toolchains.
- # possible values for VOCAL_TOOLCHAIN_TYPE are
- #
- # gnu
- # sunpro
- # msgnu
- # DO NOT make OS or architecture specific conditions here. Do them later
- ############################## GNU toolchain ##############################
- ifeq ($(VOCAL_TOOLCHAIN_TYPE),gnu)
- AR = ar
- ARFLAGS = rv
- CC = gcc
- CXX = g++
- DEP = g++ -E
- DFLAGS = -M
- DMANGLE =
- INSTALL = install
- LINKER = g++
- LNDIR = $(shell pwd)/$(ROOT)/tools/lndir.sh
- CFLAGS += -Wall
- CXXFLAGS += -Wall
- DEBUG_FLAG = -g
- endif
- ############################## SunPro toolchain ##############################
- ifeq ($(VOCAL_TOOLCHAIN_TYPE),sunpro)
- AR = CC -xar -o
- ARFLAGS =
- CC = cc
- CXX = CC
- DEP = CC -xM
- DMANGLE = | perl $(TOOLS)/hacksol | grep -v /opt/SUNWspro
- DFLAGS = -M
- INSTALL = install
- LINKER = CC
- LNDIR = $(shell pwd)/$(ROOT)/tools/lndir.sh
- DEBUG_FLAG = -g
- endif
- ############################## microsoft toolchain ##############################
- ifeq ($(VOCAL_TOOLCHAIN_TYPE),msgnu)
- AR = CC -xar -o
- ARFLAGS =
- CC = env PATH="///c/Program Files/Microsoft Visual Studio/VB98":$$PATH ///c/Program Files/Microsoft Visual Studio/VC98/Bin/CL -I "C:/Program Files/Microsoft Visual Studio/VC98/Include" -I "C:/Program Files/Microsoft Visual Studio/VC98/Include" -I "../contrib/win32/mingw/include" -GX -TC -DWIN32 -DVOCAL_TOOLCHAIN_MSGNU -I "../contrib/win32/regex"
- CXX = env PATH="///c/Program Files/Microsoft Visual Studio/VB98":$$PATH ///c/Program Files/Microsoft Visual Studio/VC98/Bin/CL -I "C:/Program Files/Microsoft Visual Studio/VC98/Include" -I "C:/Program Files/Microsoft Visual Studio/VC98/Include" -I "../contrib/win32/mingw/include" -GX -TP -DWIN32 -DVOCAL_TOOLCHAIN_MSGNU -I "../contrib/win32/regex"
- DEP = g++ -E
- DMANGLE =
- DFLAGS = -M
- INSTALL = install
- LINKER = CC
- LNDIR = $(shell pwd)/$(ROOT)/tools/lndir.sh
- DEBUG_FLAG = -Zi
- endif