Changeset 8727 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- May 8, 2008 10:58:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r8295 r8727 33 33 34 34 ifdef VBOX_WITH_TESTCASES 35 36 # 37 # Globals 38 # 39 # WARNING: Careful with this wrt to the other sub-makefiles this joins. 40 # 41 TEMPLATE = VBOXR3TSTEXE 42 43 44 # 45 # Target lists 46 # 35 47 PROGRAMS = \ 36 48 tstAvl \ … … 70 82 tstUtf8 \ 71 83 tstUuid 84 # tstSems 72 85 PROGRAMS.win = \ 73 86 tstRTProcWait \ … … 85 98 tstLdrObj \ 86 99 tstLdrObjR0 87 if eq ($(filter-out lx pe,$(VBOX_LDR_FMT)),)100 if1of ($(VBOX_LDR_FMT)), lx pe) 88 101 LIBRARIES += \ 89 102 tstLdr-4Imp 90 103 endif 91 104 92 # tstSems 93 endif # VBOX_WITH_TESTCASES 94 95 96 TEMPLATE = VBOXR3TSTEXE 97 98 tstTime_SOURCES = tstTime.cpp 99 100 tstTime-2_SOURCES = tstTime-2.cpp 101 102 tstTime-3_SOURCES = tstTime-3.cpp 103 104 tstTime-4_SOURCES = tstTime-4.cpp 105 106 tstTimeSpec_SOURCES = tstTimeSpec.cpp 107 108 tstTimer_SOURCES = tstTimer.cpp 109 110 tstTSC_SOURCES = tstTSC.cpp 111 tstTSC_CXXFLAGS.linux += -O3 112 113 tstStrFormat_SOURCES = tstStrFormat.cpp 105 106 107 # 108 # Target configs in almost alphabetical order. 109 # 110 111 tstAvl_SOURCES = tstAvl.cpp 112 113 tstBitOperations_TEMPLATE = VBOXR3TSTEXE 114 tstBitOperations_SOURCES = tstBitOperations.cpp 115 116 tstBitOperationsPIC3_SOURCES = tstBitOperations.cpp 117 tstBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 118 tstBitOperationsPIC3_DEFS = PIC 114 119 115 120 tstCidr_SOURCES = tstCidr.cpp 116 121 117 tstLog_SOURCES = tstLog.cpp 118 119 tstPath_SOURCES = tstPath.cpp 120 121 tstSems_SOURCES = tstSems.cpp 122 123 tstSemMutex_SOURCES = tstSemMutex.cpp 124 125 tstAvl_SOURCES = tstAvl.cpp 122 tstCritSect_SOURCES = tstCritSect.cpp 123 124 tstCritSectW32_SOURCES = tstCritSect.cpp 125 tstCritSectW32_DEFS = TRY_WIN32_CRIT 126 127 tstDeadlock_SOURCES = tstDeadlock.cpp 128 129 tstDir_SOURCES = tstDir.cpp 130 131 tstDir-2_SOURCES = tstDir-2.cpp 132 133 tstEnv_SOURCES = tstEnv.cpp 134 135 # Note: tstErrUnique.cpp depends on a header generated by the makefile above us. 136 tstErrUnique_SOURCES = tstErrUnique.cpp 137 tstErrUnique_INCS = $(PATH_TARGET)/.. 138 tstErrUnique.cpp_DEPS = $(PATH_TARGET)/../errmsgdata.h 126 139 127 140 tstFile_SOURCES = tstFile.cpp … … 129 142 tstFileLock_SOURCES = tstFileLock.cpp 130 143 131 tst BitOperations_SOURCES = tstBitOperations.cpp132 133 tst BitOperationsPIC3_SOURCES = tstBitOperations.cpp134 tstBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 135 tst BitOperationsPIC3_DEFS = PIC136 137 tstInlineAsm_SOURCES 138 139 tstInlineAsmPIC_SOURCES 144 tstGetOpt_SOURCES = tstGetOpt.cpp 145 146 tstHeapSimple_SOURCES = tstHeapSimple.cpp 147 148 tstIoCtl_SOURCES = tstIoCtl.cpp 149 150 tstInlineAsm_SOURCES = tstInlineAsm.cpp 151 152 tstInlineAsmPIC_SOURCES = tstInlineAsm.cpp 140 153 tstInlineAsmPIC_CXXFLAGS = -fPIC 141 tstInlineAsmPIC_DEFS 142 143 tstInlineAsmPIC3_SOURCES 154 tstInlineAsmPIC_DEFS = PIC 155 156 tstInlineAsmPIC3_SOURCES = tstInlineAsm.cpp 144 157 tstInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 145 tstInlineAsmPIC3_DEFS = PIC 146 147 tstCritSect_SOURCES = tstCritSect.cpp 148 149 tstCritSectW32_SOURCES = tstCritSect.cpp 150 tstCritSectW32_DEFS = TRY_WIN32_CRIT 158 tstInlineAsmPIC3_DEFS = PIC 151 159 152 160 tstLdr_SOURCES = tstLdr.cpp 153 161 154 162 tstLdr-2_SOURCES = tstLdr-2.cpp 155 tstLdr-2_DEFS 156 tstLdr-2_LIBS 163 tstLdr-2_DEFS = IN_DIS_R3 164 tstLdr-2_LIBS = \ 157 165 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB) 158 166 159 167 tstLdrObj_TEMPLATE = VBOXGC 160 tstLdrObj_INST 161 tstLdrObj_SYSSUFF 162 tstLdrObj_SOURCES 163 tstLdrObj_DEFS 168 tstLdrObj_INST = $(INST_TESTCASE) 169 tstLdrObj_SYSSUFF = .gc 170 tstLdrObj_SOURCES = tstLdrObj.cpp 171 tstLdrObj_DEFS = IN_DIS_GC IN_RT_GC DIS_CORE_ONLY 164 172 ifeq ($(VBOX_LDR_FMT32),elf) 165 tstLdrObj_DEFS 166 endif 167 tstLdrObj_LIBS 173 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION 174 endif 175 tstLdrObj_LIBS = \ 168 176 $(PATH_LIB)/DisasmGC$(VBOX_SUFF_LIB) \ 169 177 $(PATH_LIB)/RuntimeGC$(VBOX_SUFF_LIB) 170 178 ifeq ($(VBOX_LDR_FMT32),pe) 171 tstLdrObj_LDFLAGS 172 tstLdrObj_LIBS 179 tstLdrObj_LDFLAGS = -Entry:Entrypoint 180 tstLdrObj_LIBS += \ 173 181 $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) 174 182 endif # PE … … 177 185 endif 178 186 ifeq ($(VBOX_LDR_FMT32),lx) 179 tstLdrObj_LIBS 187 tstLdrObj_LIBS += \ 180 188 $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) 181 189 endif 182 190 183 184 191 tstLdr-3_SOURCES = tstLdr-3.cpp 185 tstLdr-3_DEFS 186 tstLdr-3_LIBS 192 tstLdr-3_DEFS = IN_DIS_R3 193 tstLdr-3_LIBS = \ 187 194 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB) 188 195 … … 195 202 196 203 tstLdrObjR0_TEMPLATE = VBOXR0 197 tstLdrObjR0_INST 198 tstLdrObjR0_SYSSUFF 199 tstLdrObjR0_SOURCES 200 tstLdrObjR0_DEFS 204 tstLdrObjR0_INST = $(INST_TESTCASE) 205 tstLdrObjR0_SYSSUFF = .r0 206 tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp 207 tstLdrObjR0_DEFS = IN_DIS_R0 IN_RT_R0 DIS_CORE_ONLY 201 208 ifeq ($(VBOX_LDR_FMT32),elf) 202 tstLdrObjR0_DEFS 203 endif 204 tstLdrObjR0_LIBS 209 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION 210 endif 211 tstLdrObjR0_LIBS = \ 205 212 $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB) \ 206 213 $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) 207 214 ifeq ($(VBOX_LDR_FMT),pe) 208 215 tstLdrObjR0_LDFLAGS = -Entry:Entrypoint 209 tstLdrObjR0_LIBS 216 tstLdrObjR0_LIBS += \ 210 217 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) \ 211 218 $(TARGET_tstLdr-4Imp) 212 219 endif 213 220 ifeq ($(VBOX_LDR_FMT),elf) 214 221 tstLdrObjR0_LDFLAGS = -e Entrypoint 215 222 endif 216 223 ifeq ($(VBOX_LDR_FMT),lx) 217 tstLdrObjR0_LIBS 224 tstLdrObjR0_LIBS += \ 218 225 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) \ 219 226 $(TARGET_tstLdr-4Imp) … … 221 228 222 229 tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp 223 tstLdr-4_DEFS 224 tstLdr-4_LIBS 230 tstLdr-4_DEFS = IN_DIS_R3 231 tstLdr-4_LIBS = \ 225 232 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB) 226 233 227 234 tstLdrLoad_SOURCES = tstLdrLoad.cpp 228 235 229 tstPrfRT_SOURCES = tstPrfRT.cpp 230 231 tstRTProcWait_SOURCES = tstRTProcWait.cpp 232 233 tstStrToNum_SOURCES = tstStrToNum.cpp 234 235 tstUtf8_SOURCES = tstUtf8.cpp 236 237 tstDir_SOURCES = tstDir.cpp 238 239 tstDir-2_SOURCES = tstDir-2.cpp 240 241 tstRTFsQueries_SOURCES = tstRTFsQueries.cpp 242 243 tstMove_SOURCES = tstMove.cpp 236 tstLog_SOURCES = tstLog.cpp 237 238 tstMove_SOURCES = tstMove.cpp 244 239 245 240 tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES … … 255 250 ../common/string/strcmp.asm 256 251 252 tstPath_SOURCES = tstPath.cpp 253 254 tstPrfRT_SOURCES = tstPrfRT.cpp 255 256 tstRTFsQueries_SOURCES = tstRTFsQueries.cpp 257 258 tstRTProcWait_SOURCES = tstRTProcWait.cpp 259 260 tstSemMutex_SOURCES = tstSemMutex.cpp 261 262 tstSems_SOURCES = tstSems.cpp 263 264 tstStrFormat_SOURCES = tstStrFormat.cpp 265 266 tstStrToNum_SOURCES = tstStrToNum.cpp 267 268 tstTime_SOURCES = tstTime.cpp 269 270 tstTime-2_SOURCES = tstTime-2.cpp 271 272 tstTime-3_SOURCES = tstTime-3.cpp 273 274 tstTime-4_SOURCES = tstTime-4.cpp 275 276 tstTimer_SOURCES = tstTimer.cpp 277 278 tstTimeSpec_SOURCES = tstTimeSpec.cpp 279 280 tstTSC_SOURCES = tstTSC.cpp 281 tstTSC_CXXFLAGS.linux += -O3 282 283 tstUuid_SOURCES = tstUuid.cpp 284 285 tstUtf8_SOURCES = tstUtf8.cpp 286 257 287 ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp 258 ntGetTimerResolution_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL 259 260 tstIoCtl_SOURCES = tstIoCtl.cpp 261 262 tstDeadlock_SOURCES = tstDeadlock.cpp 263 264 tstUuid_SOURCES = tstUuid.cpp 265 266 tstEnv_SOURCES = tstEnv.cpp 267 268 tstErrUnique_SOURCES = tstErrUnique.cpp 269 tstErrUnique_INCS = $(PATH_TARGET)/.. 270 ## tstErrUnique.cpp depends on a generated header. 271 tstErrUnique.cpp_DEPS = $(PATH_TARGET)/../errmsgdata.h 272 273 tstGetOpt_SOURCES = tstGetOpt.cpp 274 275 tstHeapSimple_SOURCES = tstHeapSimple.cpp 288 ntGetTimerResolution_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL 289 290 endif # VBOX_WITH_TESTCASES 276 291 277 292 include $(PATH_KBUILD)/footer.kmk
Note:
See TracChangeset
for help on using the changeset viewer.