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.

90 lines
2.3 KiB

  1. #=============================================================================
  2. # Copyright (c) 1999, Microsoft Corporation
  3. #
  4. # Module Name:
  5. #
  6. # sample\sources
  7. #
  8. # Abstract:
  9. #
  10. # The file contains build instructions for IPSAMPLE.
  11. #=============================================================================
  12. !IF "$(BUILD_PRODUCT_VER)" != "500"
  13. ALT_PROJECT_TARGET=Routing
  14. !ENDIF
  15. TARGETNAME=ipsample
  16. TARGETPATH=obj
  17. TARGETTYPE=DYNLINK
  18. USE_MSVCRT=1
  19. MSC_WARNING_LEVEL=/W3 /WX
  20. # MSC_WARNING_LEVEL=/W3
  21. TARGETLIBS=\
  22. $(SDK_LIB_PATH)\kernel32.lib \
  23. $(SDK_LIB_PATH)\advapi32.lib \
  24. $(SDK_LIB_PATH)\user32.lib \
  25. $(SDK_LIB_PATH)\ws2_32.lib \
  26. $(SDK_LIB_PATH)\rtm.lib \
  27. $(SDK_LIB_PATH)\rtutils.lib
  28. DLLENTRY=DllMain
  29. # C_DEFINES=$(C_DEFINES) -DNT -DMPR50=1
  30. C_DEFINES=$(C_DEFINES) -DNT -DMPR50=1 -DDEBUG -DTEST
  31. INCLUDES= \
  32. .; \
  33. $(BASEDIR)\public\sdk\inc;
  34. SOURCES=\
  35. hashtable.c \
  36. sync.c \
  37. utils.c \
  38. packet.c \
  39. socket.c \
  40. networkentry.c \
  41. networkmgr.c \
  42. configentry.c \
  43. configmgr.c \
  44. mibmgr.c \
  45. rtmapi.c \
  46. rmapi.c \
  47. test.c \
  48. ipsample.c \
  49. ipsample.rc
  50. PRECOMPILED_INCLUDE=pchsample.h
  51. PRECOMPILED_PCH=pchsample.pch
  52. PRECOMPILED_OBJ=pchsample.obj
  53. # !IF 0
  54. UMAPPL=sampletest
  55. UMTYPE=console
  56. UMLIBS=\
  57. $(SDK_LIB_PATH)\iphlpapi.lib \
  58. $(SDK_LIB_PATH)\mprapi.lib \
  59. $(SDK_LIB_PATH)\kernel32.lib \
  60. $(SDK_LIB_PATH)\user32.lib \
  61. $(SDK_LIB_PATH)\wsock32.lib \
  62. $(SDK_LIB_PATH)\rtutils.lib \
  63. $(O)\ipsample.lib \
  64. $(O)\sampletest.res
  65. # !ENDIF
  66. NTTARGETFILE0=ipsamplemsg.h ipsamplemsg.mc
  67. #
  68. # Add the BUILD number as a #define since it is only
  69. # an environment variable on the machines
  70. #
  71. !if "$(BUILD_PRODUCT_VER)" == "500"
  72. C_DEFINES=$(C_DEFINES) -DBUILD_PRODUCT_VER=500
  73. !endif