Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
1.4 KiB

#
# Build wdm.lib. This consists of wdmguid.lib, wdmnt.lib and wdmhal.lib, all
# built below.
#
WDMLIBDEP=$(O)\wdmnt.lib \
$(O)\wdmhal.lib \
$(O)\wdmguid.obj
!if $(386)
WDMLIBDEP=$(WDMLIBDEP) \
$(SDK_LIB_PATH)\exsup.lib \
$(SDK_LIB_PATH)\int64.lib \
$(PROJECT_ROOT)\ntos\init\$(TARGET_DIRECTORY)\excptlst.obj \
$(PROJECT_LIB_PATH)\loadcfg.obj \
$(PROJECT_LIB_PATH)\seccook.obj
!endif
!if $(IA64)
WDMLIBDEP=$(WDMLIBDEP) \
$(PROJECT_ROOT)\crts\crtw32\string\nt\$(O)\_memmove.obj \
$(PROJECT_ROOT)\crts\crtw32\string\nt\$(O)\_memset.obj \
$(PROJECT_ROOT)\crts\crtw32\string\nt\$(O)\_memcpy.obj
!endif
#
# __NULL_IMPORT_DESCRIPTOR is found in both wdmhal.lib and wdmnt.lib, which
# generates warning 4006.
#
$(O)\wdm.lib: $(WDMLIBDEP)
-$(LIB_NAME) -out:$(@R).lib @<<
$(LINK_LIB_IGNORE_FLAG)
-ignore:4006
$(WDMLIBDEP)
<<NOKEEP
#
# Build wdmnt.lib
#
$(O)\wdmnt.def: i386nt.src alphant.src ia64nt.src amd64nt.src
$(O)\wdmnt.lib : $(O)\wdmnt.def $(DDK_LIB_PATH)\ntoskrnl.lib
-$(LIB_NAME) -out:$@ @<<
$(LIBRARIAN_FLAGS: =
)
-def:$(O)\wdmnt.def
$(DDK_LIB_PATH)\ntoskrnl.lib
<<NOKEEP
#
# Build wdmhal.lib
#
$(O)\wdmhal.def: i386hal.src alphahal.src ia64hal.src amd64hal.src
$(O)\wdmhal.lib : $(O)\wdmhal.def $(DDK_LIB_PATH)\hal.lib
-$(LIB_NAME) -out:$@ @<<
$(LIBRARIAN_FLAGS: =
)
-def:$(O)\wdmhal.def
$(DDK_LIB_PATH)\hal.lib
<<NOKEEP