- Timestamp:
- Aug 24, 2002, 1:41:03 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/odincrt/makefile
r8759 r9106 1 # $Id: makefile,v 1. 29 2002-06-25 07:15:04 sandervlExp $1 # $Id: makefile,v 1.30 2002-08-23 23:41:03 bird Exp $ 2 2 3 3 # … … 6 6 # odincrt.dll makefile 7 7 # 8 9 !ifdef BUILD_SETUP_MAK 10 11 # 12 # Setup config 13 # 14 PATH_ROOT = ..\.. 15 !include $(PATH_ROOT)\$(BUILD_SETUP_MAK) 16 17 # 18 # Just some helper macros. 19 # 20 _DBG= 21 !if "$(BUILD_MODE)" == "DEBUG" 22 _DBG=d 23 !endif 24 !if "$(BUILD_MODE)" == "PROFILE" 25 _DBG=p 26 !endif 27 28 # 29 # Target config 30 # 31 TARGET_MODE = DLL 32 TARGET_NAME = odincrt$(_DBG) 33 TARGET_PUBLIC = 1 34 35 !ifdef WITH_KLIB 36 ALL_DEFINES = -DWITH_KLIB 37 !endif 38 39 TARGET_OBJS =\ 40 $(PATH_TARGET)\odincrt.$(EXT_OBJ) \ 41 $(PATH_TARGET)\initterm.$(EXT_OBJ) \ 42 !if "$(BUILD_ENV)" != "WAT11C" 43 ! if "$(BUILD_ENV)" == "VAC308" 44 $(PATH_TARGET)\math64.$(EXT_OBJ) \ 45 ! endif 46 ! ifdef WITH_KLIB 47 $(PATH_LIB)\kHeapDbgVACWrappersR3.lib \ 48 ! endif 49 $(PATH_TARGET)\malloc.$(EXT_OBJ) \ 50 $(PATH_TARGET)\string.$(EXT_OBJ) \ 51 $(PATH_TARGET)\file.$(EXT_OBJ) \ 52 $(PATH_TARGET)\critsect.$(EXT_OBJ) \ 53 $(PATH_TARGET)\interlock.$(EXT_OBJ) \ 54 !else 55 #$(PATH_WATCOM)\lib386\os2\.. 56 !error watcom is broken! 57 !endif 58 59 TARGET_LIBS = \ 60 !ifdef WITH_KLIB 61 $(PATH_LIB)\kLibR3.lib \ 62 !endif 63 !if "$(BUILD_ENV)" != "WAT11C" 64 $(LIB_OS) \ 65 $(LIB_C_OBJ) \ 66 somtk.$(EXT_LIB) \ 67 !else 68 clib3r.$(EXT_LIB) plbrdll.$(EXT_LIB) mt7rdll.$(EXT_LIB) \ 69 !error watcom is broken! 70 !endif 71 72 # this mess is for finding getting the right .def file. 73 !if "$(BUILD_ENV)" == "VAC308" 74 _TARGET_DEF = odincrt$(_DBG).def 75 !endif 76 !if "$(BUILD_ENV)" == "VAC365" 77 _TARGET_DEF = odin36$(_DBG).def 78 !endif 79 !if "$(BUILD_ENV)" == "WAT11C" 80 _TARGET_DEF = odinwat$(_DBG).def 81 !endif 82 !if "$(_TARGET_DEF)" == "" && !$(BUILD_FORWARDING) 83 !error "not supported on this compiler yet!" 84 !endif 85 !ifdef WITH_KLIB 86 TARGET_DEF = $(PATH_TARGET)\$(_TARGET_DEF).klib.$(EXT_DEF) 87 !else 88 TARGET_DEF = $(_TARGET_DEF) 89 !endif 90 91 # 92 # Rules config 93 # 94 !ifdef WITH_KLIB 95 RULES_FORWARD = $(TARGET_DEF) 96 !endif 97 !include $(MAKE_INCLUDE_PROCESS) 98 99 !if defined(WITH_KLIB) && !$(BUILD_FORWARDING) 100 # Add kLib export to the def-file. 101 $(TARGET_DEF): Makefile $(TARGET_DEF_ORG) 102 $(TOOL_CP) $(TARGET_DEF_ORG) $@ 103 $(TOOL_ECHO) kHeapDbgException @1500 >> $@ 104 !endif 105 106 107 !else 8 108 9 109 … … 134 234 !endif 135 235 236 237 !endif
Note:
See TracChangeset
for help on using the changeset viewer.