summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-04-15 11:13:15 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-04-15 11:13:15 -0400
commit479a52ade153f462135ade276ec04b5e5e5c5aef (patch)
treeae44e3b58202f1e7605600216192d460f9d3396b
parent8286bf26a6afa17cbf2e865dd2beb3a8e0335048 (diff)
downloadnastd-479a52ade153f462135ade276ec04b5e5e5c5aef.tar.gz
nastd-479a52ade153f462135ade276ec04b5e5e5c5aef.zip
Add darwin build targets
-rw-r--r--Makefiles/config8
-rwxr-xr-xtools/build3
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