From 479a52ade153f462135ade276ec04b5e5e5c5aef Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Tue, 15 Apr 2008 11:13:15 -0400 Subject: Add darwin build targets --- Makefiles/config | 8 ++++---- tools/build | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefiles/config b/Makefiles/config index 813b4ca..1af9b01 100644 --- a/Makefiles/config +++ b/Makefiles/config @@ -4,7 +4,7 @@ # Where to place things. #PREFIX= /opt -PREFIX= /home/shmit +PREFIX= /Users/bjc BINDIR= ${PREFIX}/bin SBINDIR= ${PREFIX}/sbin DATADIR= ${PREFIX}/libdata/nast @@ -19,8 +19,8 @@ PERL= NO #PURIFY= purify # MySQL library and include file location. -MYSQL_INCDIR= /local/include -MYSQL_LIBDIR= /local/lib +MYSQL_INCDIR= /usr/local/mysql/include +MYSQL_LIBDIR= /usr/local/mysql/lib # Generic Database configuration. DBUSER= \"root\" @@ -33,7 +33,7 @@ DBTBL= \"master\" DBSELECT= "\"SELECT %s FROM %s WHERE %s='%s'"\" # Location of Objective C include files. -OBJCINC= -I/local/include/objc +OBJCINC= -I/usr/include/objc # Debugging flags. DEBUGFLAGS= -g -DTEST -DVERBOSE -Wall -Werror diff --git a/tools/build b/tools/build index 7a374f0..e467f68 100755 --- a/tools/build +++ b/tools/build @@ -24,6 +24,9 @@ SunOS) target=sunos fi ;; +Darwin) + target=darwin + ;; *) echo "I don't know how to build for your platform, please poke" 1>&2 echo "around in Makefiles/os and tools/build to get the server" 1>&2 -- cgit v1.2.3