ensure that dependencies are rebuilt after 'make update' so that builds don't break...
[asterisk/asterisk.git] / db1-ast / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index f8192f7..d36b592
@@ -42,12 +42,19 @@ $(LIBDBSO): $(SHOBJS)
 $(PROG): db_dump185.o $(LIBDBSO)
        $(CC) -o $@ db_dump185.o -L. -ldb
 
+clean-depend:
+
 clean:
        rm -f $(LIBDB) $(LIBDBSO) $(OBJS) $(SHOBJS)
 
 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