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.

81 lines
2.1 KiB

  1. MAJORCOMP=windows
  2. MINORCOMP=LPK
  3. TARGETNAME=lpk
  4. TARGETTYPE=DYNLINK
  5. !include sources.dev
  6. DLLENTRY=LpkDllInitialize
  7. TARGETPATH=$(_OBJ_DIR)
  8. TARGETPATHLIB=$(_OBJ_DIR)
  9. TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
  10. $(WINDOWS_LIB_PATH)\gdi32p.lib \
  11. $(WINDOWS_LIB_PATH)\user32p.lib \
  12. $(SDK_LIB_PATH)\kernl32p.lib \
  13. $(SDK_LIB_PATH)\advapi32.lib \
  14. $(SDK_LIB_PATH)\ntdll.lib \
  15. $(SDK_LIB_PATH)\usp10.lib \
  16. $(WINDOWS_LIB_PATH)\usp10p.lib
  17. !IFNDEF MSC_WARNING_LEVEL
  18. MSC_WARNING_LEVEL=/W3
  19. !ENDIF
  20. MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
  21. #####
  22. ## LPK-Profiling thru ICAP.DLL
  23. !ifdef PROFILE_CSLPK
  24. TARGETLIBS=$(TARGETLIBS) \
  25. $(SDK_LIB_PATH)\icap.lib
  26. MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /Gh
  27. !endif
  28. !if ! $(FREEBUILD)
  29. # Disable optimizations to help debugging, but do generate intrinsic functions
  30. MSC_OPTIMIZATION = /Od /Oi
  31. ! endif
  32. INCLUDES=..; \
  33. ..\..\inc; \
  34. $(NTUSER_PATH)\client; \
  35. $(NTUSER_PATH)\inc; \
  36. $(NTUSER_PATH)\inc\$(ALT_PROJECT)\$(O); \
  37. $(WINCORE_PATH)\w32inc; \
  38. $(WINCORE_PATH)\w32inc\$(O); \
  39. $(BASE_INC_PATH); \
  40. $(NTGDI_PATH)\inc; \
  41. $(WINDOWS_INC_PATH);
  42. USE_NTDLL=1
  43. NT_UP=0
  44. C_DEFINES=$(C_DEFINES) $(USER_C_DEFINES) -D_USER32_ -DUNICODE -DUSE_MIRRORING -DLANGPACK
  45. DLLDEF=..\lpk.def
  46. SOURCES= ..\lpk.rc \
  47. ..\lpk_usrc.c \
  48. ..\lpk_edit.c \
  49. ..\lpk_glob.c \
  50. ..\lpk_init.cxx \
  51. ..\lpk_gdi.cxx \
  52. ..\lpk_user.cxx \
  53. ..\lpk_nls.cxx \
  54. ..\lpk_usp.cxx \
  55. LINKER_FLAGS = $(LINKER_FLAGS) -mapinfo:exports -verbose:lib
  56. NTDBGFILES=1
  57. USE_MAPSYM=1
  58. PRECOMPILED_INCLUDE=..\precomp.hxx
  59. PRECOMPILED_PCH=precomp.pch
  60. PRECOMPILED_OBJ=precomp.obj
  61. SOURCES_USED=..\sources.inc