# pipe-policy-other WINDDK build "sources" file # # # Copyright (c) 2011-2012 Travis Robinson # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A # PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL TRAVIS LEE ROBINSON # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. # TARGETNAME = pipe-policy-other TARGETTYPE = PROGRAM USE_MSVCRT = 1 UMTYPE = console !IFNDEF MSC_WARNING_LEVEL MSC_WARNING_LEVEL=/W3 !ENDIF # USBK_BIN_DIR should point to the "bin" directory of a libusbK release # binary package. It is required to find library file libusbK.lib. # (USBK_LIB_FILE) # USBK_BIN_DIR = ..\..\bin # Link to libusbK statically by changing "\lib\" below to "\lib\static\". # USBK_LIB_FILE = $(USBK_BIN_DIR)\lib\$(_BUILDARCH)\libusbK.lib # Project specific resource file. # PRJ_RC_FILE = pipe-policy-other_rc.rc # Project specific include directories. # INCLUDES = .\;..\;..\..\includes\; # Project specific source files. # SOURCES = $(PRJ_RC_FILE) pipe-policy-other.c ..\examples.c # Project specific pre-processor defines. # # C_DEFINES = /DEXAMPLE=VALUE # Project specific required libraries. # TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\advapi32.lib \ $(SDK_LIB_PATH)\user32.lib \ $(SDK_LIB_PATH)\setupapi.lib \ $(USBK_LIB_FILE)