#
# @(#)GNUmakefile	1.9 06/07/05
#  
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved
# SUN PROPRIETARY/CONFIDENTIAL
# Use is subject to license terms. 
#
#

PACKAGE         = broker
TOPDIR          = ../../../..
MAKEDEFS        = $(TOPDIR)/src/buildcfg/Defs.gmk
SUBDIRS         =

include $(MAKEDEFS)

all opt:  props.copy default_linux.properties

debug: props.debug

clean:	props.clean

# Generate Linux properties from default.properties
# For now we just remove the syslog log handler since we don't yet support
# it for Linux
default_linux.properties: default.properties
	@if [ $(PLATFORM) != "Windows_NT" ]; then \
	    cat default.properties | sed -e '1,$$s/,syslog//' > $(CONFIGPROPDIR)/broker/default_linux.properties; \
	    cat default_ri.properties | sed -e '1,$$s/,syslog//' > $(CONFIGPROPDIR)/broker/default_linux_ri.properties; \
	fi;
