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.

73 lines
2.0 KiB

  1. PROJDIR=..\..\..
  2. TARGETNAME=upnphost
  3. TARGETTYPE=DYNLINK
  4. TARGETPATHLIB=obj
  5. !include $(PROJDIR)\makefile.inc
  6. C_DEFINES=$(C_DEFINES) -D_MERGE_PROXYSTUB
  7. DLLENTRY=_DllMainCRTStartup
  8. TARGETLIBS=\
  9. $(SDK_LIB_PATH)\advapi32.lib \
  10. $(SDK_LIB_PATH)\kernl32p.lib \
  11. $(SDK_LIB_PATH)\iphlpapi.lib \
  12. $(SDK_LIB_PATH)\msxml2.lib \
  13. $(SDK_LIB_PATH)\ole32.lib \
  14. $(SDK_LIB_PATH)\oleaut32.lib \
  15. $(SDK_LIB_PATH)\user32.lib \
  16. $(SDK_LIB_PATH)\uuid.lib \
  17. $(SDK_LIB_PATH)\urlmon.lib \
  18. $(SDK_LIB_PATH)\rpcrt4.lib \
  19. $(SDK_LIB_PATH)\wininet.lib \
  20. $(SDK_LIB_PATH)\shell32.lib \
  21. $(SDK_LIB_PATH)\ws2_32.lib \
  22. $(SDK_LIB_PATH)\ssdpapi.lib \
  23. $(PROJDIR)\common\updebug\$(O)\updebug.lib \
  24. $(PROJDIR)\common\upcom\$(O)\upcom.lib \
  25. $(PROJDIR)\common\upnetwork\$(O)\upnetwork.lib \
  26. $(PROJDIR)\host\upnphost\evtapi\$(O)\hostevt.lib \
  27. $(PROJDIR)\host\upnphost\registrar\$(O)\registrar.lib \
  28. $(PROJDIR)\host\upnphost\udhhttp\$(O)\udhhttp.lib \
  29. $(PROJDIR)\host\upnphost\AutomationProxy\$(O)\AutomationProxy.lib \
  30. $(PROJDIR)\host\common\$(O)\uhcommon.lib
  31. # Need to make sure projects/etc are finished before continuing.
  32. SYNCHRONIZE_DRAIN=1
  33. LINKLIBS=$(LINKLIBS)\
  34. $(PROJDIR)\common\upbase\$(O)\upbase.lib
  35. DELAYLOAD=\
  36. iphlpapi.dll; \
  37. urlmon.dll; \
  38. wininet.dll
  39. # Need to add error handler stubs!!!
  40. DLOAD_ERROR_HANDLER=kernel32
  41. INCLUDES=\
  42. $(SDK_INC_PATH)\atl30;\
  43. $(PROJDIR)\inc; \
  44. $(PROJDIR)\host\inc; \
  45. $(PROJDIR)\host\inc\$(O); \
  46. $(PROJDIR)\host\upnphost\inc; \
  47. $(PROJDIR)\host\idl\$(O); \
  48. $(PROJDIR)\inc\$(O); \
  49. $(PROJDIR)\host\upnphost\registrar; \
  50. $(PROJDIR)\host\upnphost\AutomationProxy;
  51. SOURCES=\
  52. dllmain.cpp \
  53. implinc.cpp \
  54. upnphost.rc \
  55. uhinit.cpp \
  56. test.cpp \
  57. svcmain.cpp \
  58. dlldatax.c \
  59. dllpubdatax.c
  60. MISCFILES=\
  61. Universal_Plug___Play_Device_Host_{B63CDB08-24A7-4DB6-A0AE-F12A551BF41A}.sld