# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 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 General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.


# 
# Default target
#

default:: exes

# Get the variables definition
include $(ZK_ROOT)/freedom/client/makefiles/Makefile.vars

CFLAGS = $(ZK_INCS) $(ZK_DEFS) -DCLIENT_SHIM
ZK_CXXFLAGS := $(subst -Wshadow, , $(ZK_CXXFLAGS)) -DCLIENT_SHIM


# Override and define new variables
ZK_ALL_SRCFILES := \
	ClientshimUnitTest.cpp \
	$(END_OF_LIST)


ZK_CXXPUBEXES = \
	ClientshimUnitTest \
	$(END_OF_LIST)

ZK_INCS     +=  \
               -I$(ZK_ROOT)/freedom/client/zkbase/libzktest \
		-I$(ZK_ROOT)/freedom/libzkpacket/include\
		-I$(ZK_ROOT)/freedom/client/zkshim/linux/clientshim/include\
               -I$(ZK_ROOT)/freedom/client/zkbase/clientbase/xp 

ZK_CXXFLAGS := $(subst -Wshadow, ,$(ZK_CXXFLAGS)) 


# Get the target rules
include $(ZK_ROOT)/makefiles/Makefile.targs

# Add new targets or complement default target using :: rules


# Specify dependencies


$(ZK_FULLCXXEXES): $(ZK_BUILDDIR_PUBBIN)/%: $(ZK_FULLCXXOBJS)  \
    -lclientbase         \
    -lclientbaseLinux    \
    -lzkpacket \
    -lZkTest             \




check:  $(ZK_FULLCXXEXES)
	$(ZK_FULLCXXEXES)
