windows-nt/Source/XPSP1/NT/drivers/wdm/input/opos/posusb/posusb.mk
2020-09-26 16:20:57 +08:00

45 lines
1.4 KiB
Makefile

#############################################################################
#
# Microsoft Confidential
# Copyright (C) Microsoft Corporation 1999
# All Rights Reserved.
#
# Makefile for POSUSB (Win9x)
#
##########################################################################
ROOT = ..\..\..\..\..
MINIPORT = POSUSB
SRCDIR = ..
WANT_C1132 = TRUE
WANT_WDMDDK = TRUE
DEPENDNAME = ..\depend.mk
DESCRIPTION = USB Point-of-Sale Device Driver
VERDIRLIST = maxdebug debug retail
MINIPORTDEF = FALSE
LINK32FLAGS = $(LINK32FLAGS) -PDB:none -debugtype:both
LIBSNODEP = ..\..\..\..\ddk\lib\i386\usbd.lib
OBJS = escpos.obj \
dispatch.obj \
pnp.obj \
power.obj \
usb.obj \
comport.obj \
read.obj \
write.obj \
util.obj \
debug.obj
!include ..\..\..\..\..\dev\master.mk
INCLUDE = $(SRCDIR);$(SRCDIR)\..\inc;$(INCLUDE)
CFLAGS = $(CFLAGS) -W3 -WX -nologo -DNTKERN -DWIN95_BUILD=1
!if "$(VERDIR)"=="retail"
# Max optimizations (-Ox), but favor reduced code size over code speed
CFLAGS = $(CFLAGS) -Ogisyb1 /Gs
!endif