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.
97 lines
2.0 KiB
97 lines
2.0 KiB
!IF 0
|
|
|
|
Copyright (c) 1996-1999 Microsoft Corporation
|
|
|
|
!ENDIF
|
|
|
|
!ifndef PRNROOT
|
|
PRNROOT=$(MAKEDIR:\unidrv2\control=)
|
|
!endif
|
|
|
|
!include $(PRNROOT)\print.inc
|
|
|
|
MAJORCOMP=windows
|
|
MINORCOMP=unidrv
|
|
|
|
USE_MSVCRT=1
|
|
|
|
TARGETTYPE=DYNLINK
|
|
TARGETPATH=obj
|
|
|
|
!IFNDEF MSC_WARNING_LEVEL
|
|
MSC_WARNING_LEVEL=/W3
|
|
!ENDIF
|
|
MSC_WARNING_LEVEL=$(MSC_WARNING_LEVEL) /WX
|
|
|
|
INCLUDES=..\inc;$(INCLUDES)
|
|
|
|
C_DEFINES=$(C_DEFINES) -DKERNEL_MODE -DOEMCOM
|
|
|
|
SOURCES= \
|
|
data.c \
|
|
physical.c \
|
|
enable.c \
|
|
palette.c \
|
|
font.c \
|
|
escape.c \
|
|
textout.c \
|
|
graphics.c \
|
|
print.c \
|
|
init.c \
|
|
oemkm.c \
|
|
state.c \
|
|
brush.c \
|
|
intfuni.cxx \
|
|
unidrv.rc \
|
|
|
|
|
|
|
|
TARGETLIBS=\
|
|
$(PRNROOT)\lib\utils\km\$O\utils.lib \
|
|
$(PRNROOT)\lib\oemutil\km\$O\oemutil.lib \
|
|
$(PRNROOT)\lib\helper\km\$O\helper.lib \
|
|
$(PRNROOT)\unidrv2\font\$O\font.lib \
|
|
$(PRNROOT)\unidrv2\render\$O\raster.lib \
|
|
$(PRNROOT)\unidrv2\vector\control\$(O)\vector.lib \
|
|
$(PRNROOT)\unidrv2\vector\hpgl2col\render\$(O)\hpcclj.lib \
|
|
$(PRNROOT)\unidrv2\vector\pclxl\$(O)\pclxl.lib \
|
|
$(PRNROOT)\parsers\gpd\km\$O\gpd.lib \
|
|
$(PRNROOT)\lib\uni\km\$(O)\unilib.lib \
|
|
$(SDK_LIB_PATH)\uuid.lib
|
|
|
|
!if defined(WINNT_40) || defined(KM_DRIVER)
|
|
|
|
TARGETNAME=unidrv4
|
|
DLLBASE=@$(COFFBASE_TXT_FILE),unidrv4
|
|
TARGETTYPE=GDI_DRIVER
|
|
TARGETLIBS=$(TARGETLIBS) \
|
|
$(SDK_LIB_PATH)\libcntpr.lib
|
|
|
|
|
|
!else # NT5 user-mode driver
|
|
|
|
TARGETNAME=unidrv
|
|
DLLBASE=@$(COFFBASE_TXT_FILE),rasdd
|
|
TARGETTYPE=DYNLINK
|
|
TARGETLIBS=$(TARGETLIBS) \
|
|
$(SDK_LIB_PATH)\winspool.lib \
|
|
$(SDK_LIB_PATH)\kernel32.lib \
|
|
!ifndef BUILD_FROM_DDK
|
|
$(WINDOWS_LIB_PATH)\umpdddi.lib \
|
|
!else
|
|
$(SDK_LIB_PATH)\umpdddi.lib \
|
|
!endif
|
|
$(SDK_LIB_PATH)\ntdll.lib
|
|
|
|
USE_NOLIBS=1
|
|
|
|
DLLENTRY=_DllMainCRTStartup
|
|
NTPROFILEINPUT=yes
|
|
|
|
!endif
|
|
|
|
PRECOMPILED_INCLUDE=unidrv.h
|
|
PRECOMPILED_PCH=precomp.pch
|
|
PRECOMPILED_OBJ=precomp.obj
|
|
|
|
|