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

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

# Override and define new variables
ZK_SUB_PROJECTS_Client := \
	fraips \
	framtp \
	frcrypt \
	frdbo \
	frent \
	frkeyqry \
	frlocalaip \
	frmaip \
	frmailaccount \
	frmailauth \
	frmailblocklist \
	frmailmsg \
	frnetinfo \
	frnidb \
	frniqs \
	frnym \
	frpktfmt \
	frsec \
	frtoken \
	$(END_OF_LIST)

ifneq (,$(findstring linux,$(ZK_ARCH)))
   FRPKTWRAP := frpktwrap
endif

ZK_SUB_PROJECTS_Server := \
	fraips \
	framtp \
	frcrypt \
	frdbo \
	frent \
	frkey \
	frkeyqry \
	frlocalaip \
	frlode \
	frmailaccount \
	frmailauth \
	frmailblocklist \
	frmailmsg \
	frmaip \
	frndb \
	frnetinfo \
	frnetroute \
	frnidb \
	frniqs \
	frnym \
	frnymsdb \
	frpktfmt \
	$(FRPKTWRAP) \
	frsec \
	frstat \
	frtoken \
	frtrafficshaper \
	frworm \
	zkshimlib \
	$(END_OF_LIST)

ZK_SUB_PROJECTS_AIP := \
	frpktwrap \
	$(END_OF_LIST)

ZK_SUB_PROJECTS := $(ZK_SUB_PROJECTS_$(ZK_PROJECT))

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