[Asterisk-cvs] asterisk/db1-ast Makefile,1.3,1.4

markster at lists.digium.com markster at lists.digium.com
Tue Dec 14 18:39:44 CST 2004


Update of /usr/cvsroot/asterisk/db1-ast
In directory mongoose.digium.com:/tmp/cvs-serv25047/db1-ast

Modified Files:
	Makefile 
Log Message:
Merge slimey's Solaris compatibility (with small mods) (bug #2740)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/db1-ast/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile	31 Aug 2004 16:33:00 -0000	1.3
+++ Makefile	14 Dec 2004 23:36:30 -0000	1.4
@@ -48,6 +48,11 @@
 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




More information about the svn-commits mailing list