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

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

Added TOOL_TYPE and TOOL_ECHO.

File size: 1.4 KB
Line 
1# $Id: setup.tools.mk,v 1.4 2002-04-16 00:08:25 bird Exp $
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
14CLRFIL=[34;1m
15CLRRST=[0m
16!else
17CLRTXT=
18CLRERR=
19CLRFIL=
20CLRRST=
21!endif
22
23
24#
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
47
48
49#
50# Default Extensions.
51#
52EXT_OBJ = obj
53EXT_LIB = lib
54EXT_ILIB= lib
55EXT_EXE = exe
56EXT_DLL = dll
57EXT_RES = res
58EXT_SYS = sys
59EXT_IFS = ifs
60EXT_RES = res
61
62
63#
64# Depreciated (kso don't like these)
65#
66RM=$(TOOLS_RM)
67TOOLS_DEL=@del # use TOOLS_RM!
68CD=cd
69CD_ENTER=cd
70CD_LEAVE=cd ..
71
72
Note: See TracBrowser for help on using the repository browser.