source: trunk/make/setup.optional.alp.mk@ 9165

Last change on this file since 9165 was 9165, checked in by bird, 23 years ago

Added new tools. Restructured tools. More options. Fixes.

File size: 875 bytes
Line 
1# $Id: setup.optional.alp.mk,v 1.4 2002-08-29 10:01:40 bird Exp $
2
3#
4# Helper file for all the optional stuff for the ALP assembler.
5#
6
7!ifdef AS_MODE
8_AS_MODE =
9! if "$(AS_MODE)" == "ALP"
10_AS_MODE = -Sv:ALP
11! endif
12! if "$(AS_MODE)" == "M510"
13_AS_MODE = -Sv:M510
14! endif
15! if "$(AS_MODE)" == "M600"
16_AS_MODE = -Sv:M600
17! endif
18! if "$(_AS_MODE)" == ""
19! if [$(ECHO) $(CLRERR)Error: Bad AS_MODE ($(AS_MODE)). Valid modes are ALP, M510 and M600.$(CLRRST)]
20! endif
21! error
22! endif
23!else
24_AS_MODE = -Sv:ALP
25!endif
26
27_AS_DEBUG_TYPE = +Ods:IBM32
28!ifdef AS_DEBUG_TYPE
29! if "$(AS_DEBUG_TYPE)" == "Codeview"
30_AS_DEBUG_TYPE = +Ods:MS16
31! else
32! if "$(AS_DEBUG_TYPE)" != "HLL"
33! if [$(ECHO) $(CLRERR)Error: Bad AS_DEBUG_TYPE ($(AS_DEBUG_TYPE)). Valid types are Codeview and HLL.$(CLRRST)]
34! endif
35! error
36! endif
37! endif
38!endif
39
40_AS_OPTIONAL = $(_AS_MODE) $(_AS_DEBUG_TYPE)
Note: See TracBrowser for help on using the repository browser.