Source code of Windows XP (NT5)
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.

48 lines
909 B

  1. #---------------------------------------------------------------------
  2. #
  3. # This makefile is for use with the SMSBUILD utility. It builds the
  4. # common WBEM library.
  5. #
  6. #---------------------------------------------------------------------
  7. TARGET=kernel33.dll
  8. NO_RTTI=1
  9. #NO_OPTIM=1
  10. WARNLEVEL=3
  11. CINC=$(CINC)\
  12. -I.. \
  13. CFLAGS=$(CFLAGS) -D_WIN32_WINNT=0x0400 -DUSE_POLARITY -DBUILDING_DLL -D_WINDLL /Ob2 -EHa /Od
  14. #CFLAGS+= -D$(WBEMCOMN_TARGET)
  15. DLLSTARTUP= -ENTRY:DllEntry
  16. # Pre-compiled header file configuration
  17. #PXXFILES=..\precomp.cpp
  18. #PCHFILE=$(OBJDIR)\precomp.pch
  19. #HDRSTOPFILE=windows.h
  20. !if "$(PROCESSOR_ARCHITECTURE)"=="x86"
  21. DEFFILE=..\KERNEL33.DEF
  22. !else
  23. DEFFILE=..\NUL_ALPHA.DEF
  24. !endif
  25. !if "$(OPSYS)"=="NT64"
  26. DEFFILE=..\64.DEF
  27. !endif
  28. CPPFILES=\
  29. ..\stktrace.cpp \
  30. ..\kernel33.cpp
  31. LIBS=\
  32. $(CLIB)\kernel32.lib \
  33. $(CLIB)\mpr.lib \
  34. $(CLIB)\advapi32.lib \
  35. $(CLIB)\user32.lib \