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.

79 lines
2.1 KiB

  1. TARGETNAME=dhcpcsvc
  2. TARGETPATH=obj
  3. TARGETTYPE=DYNLINK
  4. PASS1_PUBLISH={$(O)\dhcpcsvc.lib=$(SDK_LIB_PATH)\dhcpcsvc.lib}
  5. NET_C_DEFINES=-DUNICODE -DWIN32
  6. C_DEFINES=$(C_DEFINES) -D_PNP_POWER=1 -D_PNP_POWER_ -D__DHCP_DYNDNS_ENABLED__
  7. # use the following if you want to add Client Options Api functionality.
  8. C_DEFINES=$(C_DEFINES) -D__DHCP_CLIENT_OPTIONS_API_ENABLED__
  9. !IF 0
  10. The file api.c would eventually go away. It currently contains the existing api code.
  11. The real code is in the api*.c files; Currently they would be #def'ed out. (excluded);
  12. and the api.c would alone get included (becuase of the absence of the __DHCP_CLIENT_OPTIONS_API_ENABLED__
  13. in the above C_DEFINES line.
  14. When the options api is enabled through the above define, api.c would get #def'ed away and
  15. only the newer implementation would remain.
  16. !ENDIF
  17. DLLENTRY=DhcpClientDllInit
  18. PRECOMPILED_INCLUDE=precomp.h
  19. USE_MSVCRT=1
  20. TARGETLIBS=\
  21. $(NET_LIB_PATH)\ndispnp.lib \
  22. $(SDK_LIB_PATH)\advapi32.lib \
  23. $(SDK_LIB_PATH)\dnsapi.lib \
  24. $(SDK_LIB_PATH)\dnslib.lib \
  25. $(SDK_LIB_PATH)\iphlpapi.lib \
  26. $(SDK_LIB_PATH)\kernel32.lib \
  27. $(SDK_LIB_PATH)\rpcrt4.lib \
  28. $(SDK_LIB_PATH)\secur32.lib \
  29. $(SDK_LIB_PATH)\user32.lib \
  30. $(SDK_LIB_PATH)\ws2_32.lib \
  31. ..\..\lib\$(O)\dhcplib.lib \
  32. ..\dhcp\$(O)\dhcpcli2.lib
  33. INCLUDES=..\inc;..\..\inc;$(BASE_INC_PATH);$(DS_INC_PATH)
  34. SOURCES=\
  35. apiappl.c \
  36. apinmp.c \
  37. change.c \
  38. dhcp.c \
  39. dhcp.rc \
  40. dhcpmsg.mc \
  41. dhcpreg.c \
  42. ioctl.c \
  43. leaseapi.c \
  44. mdhccapi.c \
  45. mdhcpcli.c \
  46. util.c \
  47. nlanotif.c
  48. UMTYPE=console
  49. UMRES=$(@R).res
  50. UMLIBS=\
  51. $(O)\dhcpcsvc.lib \
  52. $(SDK_LIB_PATH)\iphlpapi.lib \
  53. $(SDK_LIB_PATH)\ntdll.lib \
  54. $(SDK_LIB_PATH)\ws2_32.lib \
  55. ..\..\lib\$(O)\dhcplib.lib
  56. NTTARGETFILE0=\
  57. $(O)\dhcpcli.res \
  58. $(O)\mdhcptst.res \
  59. $(O)\rastest.res \
  60. $(O)\optapi.res \
  61. $(O)\tdhcpcapi.res \
  62. $(O)\dhcpc.res \
  63. $(O)\dumpdhcp.res
  64. UMAPPL=dhcpcli*mdhcptst*rastest*optapi*tdhcpcapi*dhcpc*dumpdhcp
  65. MISCFILES=..\DHCP_Client_{C4F799D8-E6F6-45CA-914F-4F6616CDE211}.sld