summaryrefslogtreecommitdiff
path: root/db1-ast/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-14 23:36:30 +0000
committerMark Spencer <markster@digium.com>2004-12-14 23:36:30 +0000
commit9d40b8ee8045660d58281553e34b7f45406951c0 (patch)
tree48694f38698e4ead3840305333816193c7fcd8a0 /db1-ast/Makefile
parent0f205bb07903a70272e8ae2403afe20ceb06cedc (diff)
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'db1-ast/Makefile')
-rwxr-xr-xdb1-ast/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/db1-ast/Makefile b/db1-ast/Makefile
index f8192f795..0aa9fdb02 100755
--- a/db1-ast/Makefile
+++ b/db1-ast/Makefile
@@ -48,6 +48,11 @@ clean:
OORG= -O2
CL= $(CC) -Wall -c -D__DBINTERFACE_PRIVATE $(OORG) -I. -Iinclude
+OSTYPE=$(shell uname -s)
+ifeq ($(OSTYPE),SunOS)
+CL+=-I../include -I../include/solaris-compat -DSOLARIS
+endif
+
db_dump185.o: db_dump185.c
$(CL) -o $@ $<
%.o: hash/%.c