File: Makefile.macosx

package info (click to toggle)
tclxml 3.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,076 kB
  • ctags: 876
  • sloc: ansic: 6,064; tcl: 5,116; xml: 4,642; sh: 3,112; makefile: 60
file content (26 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
########################
#
# 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 $
#
########################

MAJOR_VERSION	:= $(shell eval $$(grep '^MAJOR_VERSION=' configure.in); \
			echo "$${MAJOR_VERSION}")
MINOR_VERSION	:= $(shell eval $$(grep '^MINOR_VERSION=' configure.in); \
			echo "$${MINOR_VERSION}")

DOTTED_VERSION	:= ${MAJOR_VERSION}.${MINOR_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=${DOTTED_VERSION} LIBXML2_VERSION=${LIBXML2_VERSION}