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

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

Fixed buggy test.

File size: 882 bytes
RevLine 
[9139]1# $Id: setup.optional.alp.mk,v 1.3 2002-08-27 04:21:00 bird Exp $
[8423]2
3#
4# Helper file for all the optional stuff for the ALP assembler.
5#
6
7!if "$(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
[9136]27_AS_DEBUG_TYPE = +Ods:IBM32
[9139]28!ifdef AS_DEBUG_TYPE
29! if "$(AS_DEBUG_TYPE)" == "Codeview"
[9136]30_AS_DEBUG_TYPE = +Ods:MS16
[9139]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
[9136]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.