sources
上传用户:lyfy_2008
上传日期:2014-07-13
资源大小:3016k
文件大小:1k
源码类别:

USB编程

开发平台:

Visual C++

  1. # SOURCES for use with BUILD command
  2. TARGETNAME=ForUsb
  3. TARGETPATH=obj
  4. TARGETTYPE=DRIVER
  5. DRIVERTYPE=WDM
  6. !IF ("$(DDKBUILDENV)"=="chk") || ("$(DDKBUILDENV)"=="checked")
  7. BUILDTYPE = CHECKED
  8. !ELSE
  9. BUILDTYPE = FREE
  10. NTDEBUG=
  11. !ENDIF
  12. TARGETLIBS=$(DRIVERWORKS)lib*$(BUILDTYPE)vdw_wdm.lib
  13. # Put Win2K DDK specific defines in this section.
  14. !IF "$(LATEST_WIN32_WINNT_VERSION)" == "0x0500" || "$(LATEST_WIN32_WINNT_VERSION)" == "0x0501"
  15. TARGETLIBS= $(TARGETLIBS) $(DDK_LIB_PATH)usbd.lib
  16. # Put NT4/Win98 DDK specific defines in this section.
  17. !ELSE
  18. TARGETLIBS= $(TARGETLIBS) $(BASEDIR)lib*freeusbd.lib
  19. # Need to create the directory for the output in NT4/Win98
  20. ! IF [mkdir $(TARGETPATH)i386$(BUILDTYPE)] > 1
  21. ! ERROR Failed to create output directory.
  22. ! ENDIF
  23. !ENDIF
  24. C_DEFINES=-DNTVERSION='WDM'
  25. BROWSER_INFO=1
  26. RCNOFONTMAP=1
  27. LINK_LIB_IGNORE=4210
  28. INCLUDES=$(DRIVERWORKS)include;
  29.  $(DRIVERWORKS)source;
  30.  $(DRIVERWORKS)..commonincludestl;
  31.  $(BASEDIR)inc;
  32.  $(BASEDIR)srcusbinc;
  33.  $(BASEDIR)srcwdmusbinc;
  34.  $(DRIVERWORKS)includedep_vxd
  35. SOURCES=ForUsb.rc ForUsb.cpp ForUsbDevice.cpp