$OpenBSD: patch-Makefile,v 1.3 2003/12/31 02:42:39 brad Exp $ --- Makefile.orig 1999-02-15 18:49:35.000000000 -0500 +++ Makefile 2003-12-30 21:35:38.000000000 -0500 @@ -5,7 +5,7 @@ LDOPT=-ldl all: @echo - @echo "make [solaris|linux_libc|linux_glibc|freebsd|clean]" + @echo "make [solaris|linux_libc|linux_glibc|openbsd|freebsd|clean]" @echo @exit 1 solaris: @@ -20,10 +20,9 @@ linux_glibc: $(CC) $(COPT) fzap.c -g -DLINUX_GLIBC $(DEBUG) ld -Bshareable -o fzap.so fzap.o $(LDOPT) -freebsd: - $(CC) $(COPT) fzap.c -g $(DEBUG) +openbsd freebsd: + $(CC) $(CFLAGS) $(COPT) fzap.c -g $(DEBUG) ld -Bshareable -o fzap.so fzap.o - clean: rm -f *.o *.so *~