TARGETNAME = ibdump
TARGETPATH = .\bin\user\obj$(BUILD_ALT_DIR)
TARGETTYPE = PROGRAM

UMTYPE = console
UMENTRY = main

USE_MSVCRT = 1
#SVN_WININF_TRUNK = L:\orenk\projects\WinIb\trunk
#SVN_WININF_TRUNK= W:\git\users\leonid\wininf.git\master
SVN_WININF_TRUNK = L:\tools\ibdump_build\wininf

SOURCES=\
	ibdump.c \
	getopt.c \
        ibd_ibal_access.c
	
INCLUDES =\
#	..\..\mft\user\common;\
	$(SVN_WININF_TRUNK)\ulp\libibverbs\include;\
	$(SVN_WININF_TRUNK)\inc;\
	$(SVN_WININF_TRUNK)\inc\user;

TARGETLIBS =  $(SVN_WININF_TRUNK)\bin\user\$(O)\libibverbs.lib\
	$(SDK_LIB_PATH)\Ws2_32.lib

# Could be any special flag needed for this project

USER_C_FLAGS=$(USER_C_FLAGS) /MD
#Add preproccessor definitions
C_DEFINES=$(C_DEFINES) -DWIN32 -D__WIN__ -D__i386_ -DWDK_
!if !$(FREEBUILD)
C_DEFINES=$(C_DEFINES) -D_DEBUG -DDEBUG -DDBG
!endif

# Temp remove stuf not supproted in Win libibverbs. Just for compilation
####### REMOVE LATER #########
C_DEFINES=$(C_DEFINES)  -DWIN_NOT_SUPPORTED

# LINKER_FLAGS= $(LINKER_FLAGS)

