source: trunk/make/setup.tools.mk@ 8294

Last change on this file since 8294 was 8294, checked in by bird, 24 years ago

Support for forced environment change, using BUILD_ENV_FORCE,
BUILD_ENVS_PRE and BUILD_ENVS_POST.
(first successful try)

File size: 1.4 KB
RevLine 
[8294]1# $Id: setup.tools.mk,v 1.6 2002-04-22 01:59:34 bird Exp $
[8197]2
3
4#
5# Colorful output.
6# Define BUILD_NOCOLORS if you don't like it.. :-)
7#
8!ifdef SLKRUNS
9BUILD_NOCOLORS = 1;
10!endif
11!ifndef BUILD_NOCOLORS
12CLRTXT=[32;1m
13CLRERR=[31;1m
[8293]14CLRFIL=[33;1m
[8197]15CLRRST=[0m
16!else
17CLRTXT=
18CLRERR=
19CLRFIL=
20CLRRST=
21!endif
22
23
24#
[8269]25# Standard tools - may be overridden by compiler specific setupfiles.
26#
27ECHO = $(TOOL_ECHO)
28TOOL_CMP = $(PATH_TOOLS)\cmp.exe
29!if "$(BUILD_SHELL)" != "4OS2"
30TOOL_COPY = copy
31!else
32TOOL_COPY = copy /Q
33!endif
34TOOL_CREATEPATH = $(PATH_TOOLS)\CreatePath.cmd
35TOOL_DEP = $(PATH_TOOLS)\fastdep.exe
36TOOL_DEP_FILES = *.c *.cpp *.asm *.h *.rc *.dlg *.orc *.inc *.ipf
37TOOL_DEP_FLAGS = $(CC_INCLUDES) $(CXX_INCLUDES) $(AS_INCLUDES) $(ALL_INCLUDES) -i$(PATH_INCLUDES:;= -i)
38TOOL_DLLRNAME = dllrname /q
39TOOL_DODIRS = $(PATH_TOOLS)\dodirs.cmd
40TOOL_DOMAKES = $(PATH_TOOLS)\domakes.cmd
41TOOL_DOWITHDIRS = $(PATH_TOOLS)\dowithdirs.cmd
42TOOL_ECHO = @echo $(CLRTXT)
43TOOL_EXISTS = $(PATH_TOOLS)\Exists.cmd
44TOOL_MAKE = $(MAKE) -nologo
45TOOL_RM = rm.exe -f
46TOOL_TYPE = type
[8294]47TOOL_BUILDENV = $(PATH_TOOLS)\BuildEnv.cmd
[8269]48
49
50#
[8213]51# Default Extensions.
[8253]52#
[8213]53EXT_OBJ = obj
54EXT_LIB = lib
55EXT_ILIB= lib
56EXT_EXE = exe
57EXT_DLL = dll
58EXT_RES = res
59EXT_SYS = sys
60EXT_IFS = ifs
[8293]61EXT_VDD = sys
[8213]62EXT_RES = res
63
64
65#
[8197]66# Depreciated (kso don't like these)
67#
68RM=$(TOOLS_RM)
69TOOLS_DEL=@del # use TOOLS_RM!
70CD=cd
71CD_ENTER=cd
72CD_LEAVE=cd ..
73
[8213]74
Note: See TracBrowser for help on using the repository browser.