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

Last change on this file since 10366 was 10301, checked in by bird, 22 years ago

Synced over pe_*.obj custombuild changes.

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