# 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:: exes

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

# Override and define new variables
ZK_INCS := \
	-I$(ZK_CWDDIR)/..$(/)src \
	-I$(ZK_ROOT)libzk$(/)include \
	$(ZK_INCS) \
	$(END_OF_LIST)

ZK_ALL_SRCFILES := \
	frname2account.c \
	check-limit.c \
	$(END_OF_LIST)

ZK_CPUBEXES_ERROR := \
	$(END_OF_LIST)

ZK_CXXPUBEXES := \
	$(END_OF_LIST)

ZK_CPUBEXES1 = \
	frname2account \
	check-limit \
	$(END_OF_LIST)

ZK_CPUBEXES = \
	$(ZK_CPUBEXES1) \
	$(END_OF_LIST)

PKG_EXES = $(ZK_CXXPUBEXES) $(ZK_CPUBEXES)

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

# Add new targets or complement default target using :: rules
package:: default
	@$(ZK_SCRIPTDIR)/promoteFiles.pl $(ZK_BUILDDIR_PUBBIN) $(ZK_PKG_QMAIL_ROOT)/bin $(PKG_EXES) 

# Specify dependencies
$(addprefix $(ZK_BUILDDIR_PUBBIN)/,$(ZK_CPUBEXES1)): $(ZK_BUILDDIR_PUBBIN)/%: $(ZK_BUILDDIR_PROJ)/%.o -lfrmailaccount -lzk

#$(addprefix $(ZK_BUILDDIR_PUBBIN)/,$(ZK_CXXPUBEXES)): $(ZK_BUILDDIR_PUBBIN)/%: $(ZK_BUILDDIR_PROJ)/%.o -lfrmailaccount -lzk

