Line | |
---|
1 | # $Id: setup.win32allalp.mk,v 1.1 2003-06-30 13:19:50 bird Exp $
|
---|
2 | # TODO sync this over to the master version.
|
---|
3 |
|
---|
4 | #
|
---|
5 | # The tool(s)
|
---|
6 | #
|
---|
7 | AS = alp
|
---|
8 |
|
---|
9 | #
|
---|
10 | # Options
|
---|
11 | #
|
---|
12 | !ifdef AS_MODE
|
---|
13 | _AS_MODE =
|
---|
14 | ! if "$(AS_MODE)" == "ALP"
|
---|
15 | _AS_MODE = -Sv:ALP
|
---|
16 | ! endif
|
---|
17 | ! if "$(AS_MODE)" == "M510"
|
---|
18 | _AS_MODE = -Sv:M510
|
---|
19 | ! endif
|
---|
20 | ! if "$(AS_MODE)" == "M600"
|
---|
21 | _AS_MODE = -Sv:M600
|
---|
22 | ! endif
|
---|
23 | ! if "$(_AS_MODE)" == ""
|
---|
24 | ! if [$(ECHO) $(CLRERR)Error: Bad AS_MODE ($(AS_MODE)). Valid modes are ALP, M510 and M600.$(CLRRST)]
|
---|
25 | ! endif
|
---|
26 | ! error
|
---|
27 | ! endif
|
---|
28 | !else
|
---|
29 | _AS_MODE = -Sv:ALP
|
---|
30 | !endif
|
---|
31 |
|
---|
32 | _AS_DEBUG_TYPE = +Od:IBM32
|
---|
33 | !ifdef AS_DEBUG_TYPE
|
---|
34 | ! if "$(AS_DEBUG_TYPE)" == "Codeview"
|
---|
35 | _AS_DEBUG_TYPE = +Od:MS16
|
---|
36 | ! else
|
---|
37 | ! if "$(AS_DEBUG_TYPE)" != "HLL"
|
---|
38 | ! if [$(ECHO) $(CLRERR)Error: Bad AS_DEBUG_TYPE ($(AS_DEBUG_TYPE)). Valid types are Codeview and HLL.$(CLRRST)]
|
---|
39 | ! endif
|
---|
40 | ! error
|
---|
41 | ! endif
|
---|
42 | ! endif
|
---|
43 | !endif
|
---|
44 |
|
---|
45 | _AS_OPTIONAL = $(_AS_MODE) $(_AS_DEBUG_TYPE)
|
---|
46 |
|
---|
47 |
|
---|
48 | #
|
---|
49 | # The flags
|
---|
50 | #
|
---|
51 | AS_FLAGS = -D:WIN32 \
|
---|
52 | !if "$(BUILD_MODE)" != "RELEASE"
|
---|
53 | -D:DEBUG \
|
---|
54 | !endif
|
---|
55 | -Mb $(_AS_OPTIONAL) \
|
---|
56 | $(BUILD_DEFINES:-D=-D:) $(ALL_DEFINES:-D=-D:) $(AS_DEFINES:-D=-D:)\
|
---|
57 | $(AS_INCLUDES:-I=-i:) $(ALL_INCLUDES:-I=-i:) -i:$(PATH_INCLUDES)
|
---|
58 | AS_FLAGS_SYS= $(AS_FLAGS) -D:RING0
|
---|
59 | AS_OBJ_OUT = -Fo:
|
---|
60 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.