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.

44 lines
1.4 KiB

  1. #############################################################################
  2. #
  3. # Microsoft Confidential
  4. # Copyright (C) Microsoft Corporation 1999
  5. # All Rights Reserved.
  6. #
  7. # Makefile for POSUSB (Win9x)
  8. #
  9. ##########################################################################
  10. ROOT = ..\..\..\..\..
  11. MINIPORT = POSUSB
  12. SRCDIR = ..
  13. WANT_C1132 = TRUE
  14. WANT_WDMDDK = TRUE
  15. DEPENDNAME = ..\depend.mk
  16. DESCRIPTION = USB Point-of-Sale Device Driver
  17. VERDIRLIST = maxdebug debug retail
  18. MINIPORTDEF = FALSE
  19. LINK32FLAGS = $(LINK32FLAGS) -PDB:none -debugtype:both
  20. LIBSNODEP = ..\..\..\..\ddk\lib\i386\usbd.lib
  21. OBJS = escpos.obj \
  22. dispatch.obj \
  23. pnp.obj \
  24. power.obj \
  25. usb.obj \
  26. comport.obj \
  27. read.obj \
  28. write.obj \
  29. util.obj \
  30. debug.obj
  31. !include ..\..\..\..\..\dev\master.mk
  32. INCLUDE = $(SRCDIR);$(SRCDIR)\..\inc;$(INCLUDE)
  33. CFLAGS = $(CFLAGS) -W3 -WX -nologo -DNTKERN -DWIN95_BUILD=1
  34. !if "$(VERDIR)"=="retail"
  35. # Max optimizations (-Ox), but favor reduced code size over code speed
  36. CFLAGS = $(CFLAGS) -Ogisyb1 /Gs
  37. !endif