These patches add support for --enable-dll on NetBSD, and may even do so for FreeBSD a.out. Now, NetBSD can use libwine as a shared object. Thanks to mycroft@netbsd.org for doing this work!
diff --git a/Make.rules.in b/Make.rules.in index 45bfde9..32f5996 100644 --- a/Make.rules.in +++ b/Make.rules.in
@@ -33,6 +33,7 @@ DIVINCL = -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include -I$(SRCDIR) -I. ALLCFLAGS = $(CFLAGS) $(DEFS) $(OPTIONS) $(DIVINCL) $(X_CFLAGS) LDCOMBINE = ld -r +LDSHARED = @LDSHARED@ AR = ar rc RM = rm -f MKDIR = mkdir -p