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

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

NO_MULTIJOBS.

File size: 1.6 KB
Line 
1# $Id: odin32.tools.mk,v 1.7 2001-08-16 04:25:10 bird Exp $
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
45IMPDEF = $(ODIN32_TOOLS)\impdef.exe
46CREATEPATH = $(ODIN32_TOOLS)\CreatePath.cmd
47EXECEXCL = $(ODIN32_TOOLS)\ExecExcl.cmd
48BLDLEVELINF = $(ODIN32_TOOLS)\BldLevelInf.cmd
49LXLITE = $(ODIN32_TOOLS)\lxlite.exe
50CMDQD = $(ODIN32_TOOLS)\cmdqd.exe
51DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+
52!ifdef MAKEFLAGS
53!if "$(MAKEVER)" != "5.0"
54!if "$(MAKEFLAGS:A=z)" != "$(MAKEFLAGS)"
55DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -F+
56!endif
57!else
58!if "$(MAKEFLAGS:a=z)" != "$(MAKEFLAGS)"
59DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -F+
60!endif
61!endif
62!endif
63
64!ifdef MULTIJOBS
65!ifndef WAT
66!ifndef NO_MULTIJOBS
67CMDQD_SUB = $(CMDQD) submit
68CMDQD_WAIT = $(CMDQD) wait
69CMDQD_INIT = $(CMDQD) kill & $(CMDQD) init $(MULTIJOBS)
70!endif
71!endif
72!endif
73
74
75#
76# Include compiler dependent tools
77#
78!include $(ODIN32_INCLUDE)/odin32.tools.$(CCENV).mk
79
Note: See TracBrowser for help on using the repository browser.