Ignore:
Timestamp:
Nov 10, 2006, 4:04:42 AM (19 years ago)
Author:
bird
Message:

Put the PE module interpreter thru the wringer and learnt how much the window file mapping API sucks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/Makefile.kmk

    r2859 r2861  
    4141 TEMPLATE_TST_ASFLAGS = -f win
    4242 TEMPLATE_TST_DEFS = __WIN__
    43  TEMPLATE_TST_SDKS = WIN32SDK
    44  #kLdr_SDKS.x86 = WIN32SDK
    45  #kLdr_SDKS.amd64 = WIN64SDK
     43 TEMPLATE_TST_SDKS = WIN32SDK W2K3DDKX86
     44 #TEMPLATE_SDKS.x86 = WIN32SDK W2K3DDKX86
     45 #TEMPLATE_SDKS.amd64 = WIN64SDK W2K3DDKAMD64
    4646
    4747## @todo this is a kBuild bug!
     
    7777 kLdr_LDFLAGS = -Entry:DllMain@12 -Debug
    7878 kLdr_DEFS = __WIN__
    79  kLdr_SDKS = WIN32SDK
    80  #kLdr_SDKS.x86 = WIN32SDK
    81  #kLdr_SDKS.amd64 = WIN64SDK
     79 # crap, this doesn't work right either:
     80 #kLdr_SDKS = WIN32SDK W2K3DDKX86
     81 kLdr_SDKS = W2K3DDKX86 WIN32SDK
     82 #kLdr_SDKS.x86 = WIN32SDK W2K3DDKX86
     83 #kLdr_SDKS.amd64 = WIN64SDK W2K3DDKAMD64
    8284 kLdr_LIBS = \
    83         $$(PATH_TOOL_VCC70_LIB)/LIBC.lib
     85        $$(PATH_TOOL_VCC70_LIB)/LIBC.lib \
     86        $(PATH_SDK_W2K3DDKX86_LIB)/ntdll.lib
    8487else
    8588 ifneq ($(filter os2,$(BUILD_TARGET)),)
Note: See TracChangeset for help on using the changeset viewer.