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

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

Synced over pe_*.obj custombuild changes.

File size: 1.7 KB
RevLine 
[10301]1# $Id: odin32.tools.mk,v 1.11 2003-10-26 01:47:51 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
[10301]52PEBUILD = $(ODIN32_TOOLS)\PEBuild.exe
[7589]53DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -xdummy.c
[6402]54!ifdef MAKEFLAGS
55!if "$(MAKEVER)" != "5.0"
56!if "$(MAKEFLAGS:A=z)" != "$(MAKEFLAGS)"
[7589]57DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -xdummy.c -F+
[6402]58!endif
59!else
60!if "$(MAKEFLAGS:a=z)" != "$(MAKEFLAGS)"
[7589]61DEPEND = $(ODIN32_TOOLS)\fastdep.exe -o$$(OBJDIR) -cy+ -xdummy.c -F+
[6402]62!endif
63!endif
64!endif
[4718]65
[6541]66!ifdef MULTIJOBS
67!ifndef WAT
[6542]68!ifndef NO_MULTIJOBS
[6541]69CMDQD_SUB = $(CMDQD) submit
70CMDQD_WAIT = $(CMDQD) wait
71CMDQD_INIT = $(CMDQD) kill & $(CMDQD) init $(MULTIJOBS)
72!endif
73!endif
[6542]74!endif
[4891]75
[6541]76
[4718]77#
78# Include compiler dependent tools
79#
[6909]80!include $(ODIN32_INCLUDE)/odin32.tools.$(MKFILE).mk
[4718]81
Note: See TracBrowser for help on using the repository browser.