source: trunk/include/odin32.tools.mk@ 7029

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

Changed macro for compiler setup file postfix to MKFILE.

File size: 1.6 KB
RevLine 
[6909]1# $Id: odin32.tools.mk,v 1.9 2001-10-01 01:24:38 bird Exp $
[4718]2
3#
4# Odin32 API
5#
6# makefile for the build system tools and standard rules
7#
8
9
10#
11# Check that CCENV is set; set defaults if not set.
12#
13!ifndef CCENV
14! ifndef __VERSION__
15CCENV = VAC3
16VAC3 = 1
17! else
18CCENV = WAT
19WAT = 1
20! endif
21!endif
22
23
24#
25# Check that ODIN32_INCLUDE and ODIN32_TOOLS is set; set default if not set.
26#
27!ifndef ODIN32_INCLUDE
28ODIN32_INCLUDE = ..\..\include
29!endif
30!ifndef ODIN32_TOOLS
31ODIN32_TOOLS = ..\..\tools\bin
32!endif
33
34
35#
36# System Utilites
37#
38RM = rm -f
39CP = copy
40MKDIR = mkdir
41ECHO = echo
42EXISTS = $(ODIN32_TOOLS)\Exists.cmd
43DODIRS = $(ODIN32_TOOLS)\DoDirs.cmd
44DOWITHDIRS = $(ODIN32_TOOLS)\dowithdirs.cmd
[6875]45DOMAKES = $(ODIN32_TOOLS)\DoMakes.cmd
[4718]46IMPDEF = $(ODIN32_TOOLS)\impdef.exe
47CREATEPATH = $(ODIN32_TOOLS)\CreatePath.cmd
48EXECEXCL = $(ODIN32_TOOLS)\ExecExcl.cmd
[4891]49BLDLEVELINF = $(ODIN32_TOOLS)\BldLevelInf.cmd
[4872]50LXLITE = $(ODIN32_TOOLS)\lxlite.exe
[6541]51CMDQD = $(ODIN32_TOOLS)\cmdqd.exe
[6402]52DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+
53!ifdef MAKEFLAGS
54!if "$(MAKEVER)" != "5.0"
55!if "$(MAKEFLAGS:A=z)" != "$(MAKEFLAGS)"
56DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -F+
57!endif
58!else
59!if "$(MAKEFLAGS:a=z)" != "$(MAKEFLAGS)"
60DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -F+
61!endif
62!endif
63!endif
[4718]64
[6541]65!ifdef MULTIJOBS
66!ifndef WAT
[6542]67!ifndef NO_MULTIJOBS
[6541]68CMDQD_SUB = $(CMDQD) submit
69CMDQD_WAIT = $(CMDQD) wait
70CMDQD_INIT = $(CMDQD) kill & $(CMDQD) init $(MULTIJOBS)
71!endif
72!endif
[6542]73!endif
[4891]74
[6541]75
[4718]76#
77# Include compiler dependent tools
78#
[6909]79!include $(ODIN32_INCLUDE)/odin32.tools.$(MKFILE).mk
[4718]80
Note: See TracBrowser for help on using the repository browser.