# sources # (C) 2012, all rights reserved, # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . !IF "$(_BUILDARCH)" == "x86" CPU=i386 !ELSE CPU=$(_BUILDARCH) !ENDIF TARGETNAME=WinDivert TARGETTYPE=DRIVER TARGETPATH=..\install\WDDK TARGETLIBS=\ $(DDK_LIB_PATH)\wdmsec.lib \ $(DDK_LIB_PATH)\ndis.lib \ $(DDK_LIB_PATH)\fwpkclnt.lib \ $(SDK_LIB_PATH)\uuid.lib NTTARGETFILES=\ $(TARGETPATH)\$(CPU)\WinDivert.inf \ $(TARGETPATH)\$(CPU)\WdfCoInstaller01009.dll KMDF_VERSION_MAJOR=1 C_DEFINES=$(C_DEFINES) -DBINARY_COMPATIBLE=0 -DNT -DUNICODE -D_UNICODE \ -DNDIS60 -DNDIS_SUPPORT_NDIS60 INCLUDES=$(DDK_INC_PATH);..\include SOURCES=divert.rc divert.c