# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
# 
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
# 
# The Original Code is Freedom code.
# 
# The Initial Developer of the Original Code is Zero-Knowledge Systems,
# Inc.  Portions created by Zero-Knowledge are Copyright (C) 2000
# Zero-Knowledge Systems, Inc.  All Rights Reserved.
# 
# Contributor(s):

# 
# Default target
#

default:: libs

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

# Override and define new variables
ZK_PUBLIBS := libzkcommonuiLinux.a


ZK_LDFLAGS += $(ZK_GTKLDFLAGS)

ZK_INCS += \
   $(ZK_GTKINCS) \
   -I$(ZK_ROOT)/freedom/client/zkui/zkdialogs/xp \
   -I$(ZK_ROOT)/freedom/client/zkcentral/clienttypes \
   -I$(ZK_ROOT)/freedom/client/zkcentral/zkservice \
   -I$(ZK_ROOT)/freedom/client/zkbase/clientbase/xp \
   -I$(ZK_ROOT)/freedom/client/zkbase/clientbase/linux \
   -I$(ZK_ROOT)/freedom/client/zkbase/errorhandling/xp \
   -I$(ZK_ROOT)/freedom/client/zkbase/errorhandling/linux \
   -I$(ZK_ROOT)/freedom/client/zkui/zkcommonui/xp \
        -idirafter $(ZK_ROOT)/libzkmime/include/ \
        -idirafter $(ZK_ROOT)/libzkthread/include/ \
        -idirafter $(ZK_ROOT)/libzkpacket/include/ \
        -idirafter $(ZK_ROOT)/lib3rd/openssl/include \
        -idirafter $(ZK_ROOT)/libzkip/include/ \
        -idirafter $(ZK_ROOT)/libzk/include/ \
        -idirafter $(ZK_ROOT)/libzk/src/ \
        -idirafter $(ZK_FREEDOM_ROOT)/ndb/include/ 



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

ZK_ALL_SRCFILES := \
	ZkGladeLoader.cpp \
	ZkGtkUtils.cpp \
	UiThreadId.cpp \
	UiThreadBase.cpp \
	UiThreadSafeDlg.cpp \
	UiThreadSafeMessage.cpp \
	UiErrorReporter.cpp \
	UiAssertReporter.cpp \
	UiPopup.cpp \
	UiSimpleMessage.cpp \
        UiTokenCtrl.cpp \
        UiEnterSerialNumber.cpp \
        UiCheckBoxPopup.cpp\
        UiBackupBase.cpp \
	UiQuestionCheckBoxPopup.cpp \
	$(END_OF_LIST)


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

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


# Specify dependencies
$(ZK_BUILDDIR_PUBLIB)/libzkcommonuiLinux.a: $(ZK_FULLCXXOBJS) $(ZK_GTKLIBS)
