| Last change
 on this file since 10153 was             9325, checked in by bird, 23 years ago | 
        
          | 
Corrected debugging information level.
 | 
        
          | File size:
            1.2 KB | 
      
      
| Rev | Line |  | 
|---|
| [9325] | 1 | # $Id: setup.os2allalp.mk,v 1.2 2002-10-04 04:44:02 bird Exp $ | 
|---|
| [9174] | 2 |  | 
|---|
|  | 3 | # | 
|---|
|  | 4 | # The tool(s) | 
|---|
|  | 5 | # | 
|---|
|  | 6 | AS          = alp | 
|---|
|  | 7 |  | 
|---|
|  | 8 | # | 
|---|
|  | 9 | # Options | 
|---|
|  | 10 | # | 
|---|
|  | 11 | !ifdef AS_MODE | 
|---|
|  | 12 | _AS_MODE = | 
|---|
|  | 13 | ! if "$(AS_MODE)" == "ALP" | 
|---|
|  | 14 | _AS_MODE = -Sv:ALP | 
|---|
|  | 15 | ! endif | 
|---|
|  | 16 | ! if "$(AS_MODE)" == "M510" | 
|---|
|  | 17 | _AS_MODE = -Sv:M510 | 
|---|
|  | 18 | ! endif | 
|---|
|  | 19 | ! if "$(AS_MODE)" == "M600" | 
|---|
|  | 20 | _AS_MODE = -Sv:M600 | 
|---|
|  | 21 | ! endif | 
|---|
|  | 22 | ! if "$(_AS_MODE)" == "" | 
|---|
|  | 23 | !  if [$(ECHO) $(CLRERR)Error: Bad AS_MODE ($(AS_MODE)). Valid modes are ALP, M510 and M600.$(CLRRST)] | 
|---|
|  | 24 | !  endif | 
|---|
|  | 25 | !  error | 
|---|
|  | 26 | ! endif | 
|---|
|  | 27 | !else | 
|---|
|  | 28 | _AS_MODE = -Sv:ALP | 
|---|
|  | 29 | !endif | 
|---|
|  | 30 |  | 
|---|
| [9325] | 31 | _AS_DEBUG_TYPE = +Od:IBM32 | 
|---|
| [9174] | 32 | !ifdef AS_DEBUG_TYPE | 
|---|
|  | 33 | ! if "$(AS_DEBUG_TYPE)" == "Codeview" | 
|---|
| [9325] | 34 | _AS_DEBUG_TYPE = +Od:MS16 | 
|---|
| [9174] | 35 | ! else | 
|---|
|  | 36 | !  if "$(AS_DEBUG_TYPE)" != "HLL" | 
|---|
|  | 37 | !   if [$(ECHO) $(CLRERR)Error: Bad AS_DEBUG_TYPE ($(AS_DEBUG_TYPE)). Valid types are Codeview and HLL.$(CLRRST)] | 
|---|
|  | 38 | !   endif | 
|---|
|  | 39 | !   error | 
|---|
|  | 40 | !  endif | 
|---|
|  | 41 | ! endif | 
|---|
|  | 42 | !endif | 
|---|
|  | 43 |  | 
|---|
|  | 44 | _AS_OPTIONAL = $(_AS_MODE) $(_AS_DEBUG_TYPE) | 
|---|
|  | 45 |  | 
|---|
|  | 46 |  | 
|---|
|  | 47 | # | 
|---|
|  | 48 | # The flags | 
|---|
|  | 49 | # | 
|---|
|  | 50 | AS_FLAGS    = -D:OS2 \ | 
|---|
|  | 51 | !if "$(BUILD_MODE)" != "RELEASE" | 
|---|
|  | 52 | -D:DEBUG \ | 
|---|
|  | 53 | !endif | 
|---|
|  | 54 | -Mb $(_AS_OPTIONAL) \ | 
|---|
|  | 55 | $(BUILD_DEFINES:-D=-D:) $(ALL_DEFINES:-D=-D:) $(AS_DEFINES:-D=-D:)\ | 
|---|
|  | 56 | $(AS_INCLUDES:-I=-i:) $(ALL_INCLUDES:-I=-i:) -i:$(PATH_INCLUDES) | 
|---|
|  | 57 | AS_FLAGS_SYS= $(AS_FLAGS) -D:RING0 | 
|---|
|  | 58 | AS_OBJ_OUT  = -Fo: | 
|---|
|  | 59 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.