$OpenBSD: patch-base_src_Makefile_in,v 1.5 2005/12/06 19:05:21 todd Exp $ --- base/src/Makefile.in.orig Sun Oct 24 20:06:46 2004 +++ base/src/Makefile.in Tue Dec 6 13:00:38 2005 @@ -110,8 +110,7 @@ CMINCLUDE=@SSL_INC@ # COMREADLINE=-DUSE_READLINE -I/usr/include/readline SESSIONTIMEOUT=-DCLIENT_TIMEOUT=1800 LIBDIFF=$(TOPDIR)/../libgdiff/libgdiff.a -LIBZ=$(TOPDIR)/../zlib/libz.a -LIBGC=$(TOPDIR)/../gc6.3/.libs/libgc.a +LIBZ=-lz XCFLAGS = -Wmissing-prototypes -Wall -Wreturn-type -DDATADIR=\"$(datadir)\" # XCFLAGS += -Wno-unused -Werror @@ -242,7 +241,7 @@ distclean: clean nodepend nodepend: find $(TOPDIR) -name '*.m' -exec rm {} \; -$(OPENCM): $(OBJECTS) $(LIBDIFF) $(LIBZ) $(LIBGC) +$(OPENCM): $(OBJECTS) $(LIBDIFF) $(CC) -o $(OPENCM) $(CFLAGS) $(OBJECTS) $(LDFLAGS) $(CMLDFLAGS) $(LIBDIFF) $(LIBZ) $(LIBGC) $(LIBS) $(CMLIBS) # Whenever we rebuild a .o file, we also need to rebuild the .m file: