$OpenBSD: patch-Makefile,v 1.1.1.1 2001/10/31 18:04:54 lebel Exp $
--- Makefile.orig	Fri Apr 13 13:41:22 2001
+++ Makefile	Wed Oct 31 10:44:58 2001
@@ -18,6 +18,7 @@ CC_win32 = c:/gcc-2.95.2/bin/gcc
 CC_linux = gcc -pthread
 CC_solaris = gcc
 CC_freebsd = gcc -pthread
+CC_openbsd = gcc -pthread
 CC_tru64 = cc
 CC = $(CC_$(OS))
 
@@ -36,19 +37,19 @@ OPTIM = -O3
 
 # Location of Blowfish include and library
 
-BFINC = -I../blowfish-0.9.5a
-BFLIB = ../blowfish-0.9.5a/libblowfish.a
+BFINC = -I/usr/include/openssl
+BFLIB = /usr/lib/libcrypto.a
 
 # Location of zlib include and library
 
-ZINC = -I../zlib-1.1.3
-ZLIB = ../zlib-1.1.3/libz.a
+#ZINC = -I/usr/include
+ZLIB = /usr/lib/libz.a
 
 # Location of bzlib include and library
 # Set these empty if you don't want bzib2 support
 
-BZINC = -I../bzip2-1.0.1
-BZLIB = ../bzip2-1.0.1/libbz2.a
+BZINC = -I/usr/local/include
+BZLIB = /usr/local/lib/libbz2.a
 
 #
 # Tools needed for Perl "POD"-format documentation conversion.
@@ -74,6 +75,7 @@ INSTALL_$(OS) = install -c
 INSTALL_linux = install -c
 INSTALL_solaris = /usr/ucb/install -c
 INSTALL_freebsd = install -c
+INSTALL_openbsd = install -c
 INSTALL_tru64 = installbsd -c
 INSTALL = $(INSTALL_$(OS))
 
@@ -104,6 +106,7 @@ DEFINES_win32 =
 DEFINES_linux = -DHAVE_PTHREADS
 DEFINES_solaris = -D_REENTRANT -DHAVE_PTHREADS
 DEFINES_freebsd = -DHAVE_PTHREADS -DBUGGY_FORK_WITH_THREADS
+DEFINES_openbsd = -DHAVE_PTHREADS -DBUGGY_FORK_WITH_THREADS
 DEFINES_tru64 = -D_REENTRANT -DHAVE_PTHREADS
 DEFINES = $(DEFINES_$(OS))
 
@@ -118,6 +121,7 @@ OSLIBS_win32 = -lwsock32 -lwinmm
 OSLIBS_linux = -lpthread
 OSLIBS_solaris = -lsocket -lnsl -lthread
 OSLIBS_freebsd =
+OSLIBS_openbsd =
 OSLIBS_tru64 = -lpthread
 OSLIBS = $(OSLIBS_$(OS))
 
@@ -150,7 +154,7 @@ EXTRAFILES = $(ZBDFILES) $(TXTFILES)
 all : precheck zebedee$(EXE) zebedee.1 zebedee.html ftpgw.tcl.1 ftpgw.tcl.html zebedee.ja_JP.html
 
 precheck :
-	@ if test -z "$(OS)"; then echo "Use '$(MAKE) OS=xxx' where xxx is win32, linux, solaris, freebsd or tru64"; exit 1; fi
+	@ if test -z "$(OS)"; then echo "Use '$(MAKE) OS=xxx' where xxx is win32, linux, solaris, openbsd, freebsd or tru64"; exit 1; fi
 
 zebedee$(EXE) : $(OBJS)
 	$(CC) $(CFLAGS) -o zebedee$(EXE) $(OBJS) $(LIBS)
@@ -189,7 +193,7 @@ install : precheck zebedee$(EXE) zebedee
 	$(INSTALL) $(ZBDFILES) $(ZBDDIR)
 	$(INSTALL) $(TXTFILES) $(ZBDDIR)
 
-clean : precheck
+clean :
 	rm -f zebedee$(EXE) *.o core *.1 *.html *.tmp *.bak
 
 # This makes the Win32 setup.exe using InnoSetup. The perl command in
