source: trunk/make/setup.win32allalp.mk@ 10366

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

Win32 support - kind of working...

File size: 1.2 KB
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#
7AS = 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#
51AS_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)
58AS_FLAGS_SYS= $(AS_FLAGS) -D:RING0
59AS_OBJ_OUT = -Fo:
60
Note: See TracBrowser for help on using the repository browser.