aboutsummaryrefslogtreecommitdiffstats
path: root/db1-ast/Makefile
diff options
context:
space:
mode:
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