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.

77 lines
1.6 KiB

  1. !IF 0
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. Author:
  11. Steve Wood (stevewo) 12-Apr-1990
  12. NOTE: Commented description of this file is in \nt\bak\bin\sources.tpl
  13. !ENDIF
  14. !ifndef USE_WMI
  15. USE_WMI=1
  16. !endif
  17. !if $(USE_WMI) == 1
  18. C_DEFINES=$(C_DEFINES) -D_IMPLEMENT_WMI=1
  19. !else
  20. C_DEFINES=$(C_DEFINES) -D_IMPLEMENT_WMI=0
  21. !endif
  22. # MSC_WARNING_LEVEL=/W4
  23. MAJORCOMP=mmc
  24. MINORCOMP=smlogsvc
  25. GPSIZE=32
  26. # Include shell_inc_path until SHLoadRegUIStringW call is moved to pdhpla
  27. INCLUDES= .; \
  28. ..\common; \
  29. $(SHELL_INC_PATH); \
  30. $(BASE_INC_PATH); \
  31. $(SDKTOOLS_INC_PATH)
  32. TARGETNAME=smlogsvc
  33. TARGETPATH=obj
  34. TARGETTYPE=PROGRAM
  35. MISCFILES=smlogsvc.sld
  36. SOURCES=smlogsvc.c \
  37. logthred.c \
  38. utils.c \
  39. smlogmsg.mc \
  40. smlogsvc.rc
  41. UMTYPE=windows
  42. !if $(USE_WMI) == 1
  43. TARGETLIBS= \
  44. $(SDK_LIB_PATH)\ntdll.lib \
  45. $(SDK_LIB_PATH)\netapi32.lib \
  46. $(SDK_LIB_PATH)\advapip.lib \
  47. $(SDK_LIB_PATH)\version.lib \
  48. $(SHELL_LIB_PATH)\shlwapip.lib \
  49. $(SDKTOOLS_LIB_PATH)\pdhp.lib
  50. !else
  51. TARGETLIBS= \
  52. $(SDK_LIB_PATH)\ntdll.lib \
  53. $(SDK_LIB_PATH)\netapi32.lib \
  54. $(SDK_LIB_PATH)\version.lib \
  55. $(SHELL_LIB_PATH)\shlwapip.lib \
  56. $(SDKTOOLS_LIB_PATH)\pdhp.lib
  57. !endif