$OpenBSD: patch-Makefile,v 1.1.1.1 2005/05/22 14:44:45 robert Exp $
--- Makefile.orig	Thu Mar 31 20:39:24 2005
+++ Makefile	Wed May 18 23:52:01 2005
@@ -116,6 +116,18 @@ all:	 cfgparser olsrd
 install: install_olsrd
 
 else
+ifeq ($(OS), obsd)
+
+SRCS +=         $(wildcard src/bsd/*.c) $(wildcard src/unix/*.c)
+HDRS +=         $(wildcard src/bsd/*.h) $(wildcard src/unix/*.h)
+CFLAGS ?=       $(CCWARNINGS) -O2 -g
+LIBS =          -lm
+#MAKEDEPEND =    makedepend -f $(DEPFILE) -D__OpenBSD__ $(INCLUDES) $(SRCS)
+
+all:     cfgparser olsrd
+install: install_olsrd
+
+else
 ifeq ($(OS), osx)
 
 SRCS +=		$(wildcard src/bsd/*.c) $(wildcard src/unix/*.c)
@@ -225,6 +237,7 @@ else
 
 all:	help
 install:help
+endif
 endif
 endif
 endif
