PROJDIR=..\.. !include $(PROJDIR)\makefile.inc TARGETNAME=upnpui TARGETTYPE=DYNLINK TARGETPATH=obj DLLENTRY=_DllMainCRTStartup TARGETLIBS=\ $(PROJDIR)\common\updebug\$(O)\updebug.lib \ $(PROJDIR)\upnp\api\$(O)\upnpapi.lib \ $(PROJDIR)\upnpui\common\$(O)\upscmn.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\comctl32.lib \ $(SDK_LIB_PATH)\kernl32p.lib \ $(SDK_LIB_PATH)\netapi32.lib \ $(SDK_LIB_PATH)\ole32.lib \ $(SDK_LIB_PATH)\oleaut32.lib \ $(SDK_LIB_PATH)\shell32.lib \ $(SHELL_LIB_PATH)\shell32p.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\uuid.lib \ $(SDK_LIB_PATH)\wininet.lib \ $(SDK_LIB_PATH)\shlwapi.lib SYNCHRONIZE_DRAIN=1 LINKLIBS= \ $(PROJDIR)\common\upbase\$(O)\upbase.lib \ DELAYLOAD=\ wininet.dll # Need to add error handler stubs!!! DLOAD_ERROR_HANDLER=kernel32 INCLUDES=\ $(SHELL_INC_PATH); \ $(PROJDIR)\upnpui\inc; \ $(PROJDIR)\upnpui\idl\$(O); \ $(PROJDIR)\inc C_DEFINES=$(C_DEFINES) -D_MERGE_PROXYSTUB SOURCES=\ cmdtable.cpp \ dllmain.cpp \ foldreg.cpp \ icomtarg.cpp \ icomtargf.cpp \ icontextm.cpp \ idelegate.cpp \ ienumidl.cpp \ iextract.cpp \ implinc.cpp \ iolewind.cpp \ ipersist.cpp \ ipersistf.cpp \ ipersistf2.cpp \ iqinfo.cpp \ ishellei.cpp \ ishellf.cpp \ ishellf2.cpp \ oncommand.cpp \ openfold.cpp \ pidlutil.cpp \ shutil.cpp \ tdevices.cpp \ tfind.cpp \ tmain.cpp \ updpidl.cpp \ upnpfold.cpp \ upnpfold.rc !IF DEFINED(DBG) !IF "$(DBG)" == "1" SOURCES=$(SOURCES)\ oncommand_dbg.cpp !ENDIF !ENDIF