########################
#
# Makefile to build TclXML/libxml2 for macosx.
#
# Usage:
#	cd tclxml-3.X
#	make -f Makefile.macosx
#
# $Id: Makefile.macosx,v 1.1 2005/05/20 12:04:19 balls Exp $
#
########################

PACKAGE_VERSION	:= @PACKAGE_VERSION@

LIBXML2_VERSION	:= $(shell eval echo $$(ls -dt ../libxml2* | head -1 | sed -e '1s/.*\-//'))

all:	build

build:
	cd macosx; xcodebuild -project tclxml.pbproj -target Make -buildstyle Deployment FRAMEWORK_VERSION=${PACKAGE_VERSION} LIBXML2_VERSION=${LIBXML2_VERSION}

