$NetBSD: patch-ag,v 1.1 2005/06/23 04:02:48 jlam Exp $

--- make.cfg.orig	2004-04-18 15:55:13.000000000 -0400
+++ make.cfg
@@ -144,6 +144,20 @@ freebsd:
 	"MAKELIB = ../bin/mklib.freebsd" \
 	"ARCHFLAGS = none"
 
+libtool:
+	@$(MAKE) $(MFLAGS) -f Makefile.x11 targets \
+	"CC = libtool --mode=compile cc" \
+	"XINC = -I/usr/X11R6/include" \
+	"RMINC = ../include" \
+	"CFLAGS = $(CFLAGS) -c -DRM_X" \
+	"RMLIB = librm" \
+	"RMVLIB = librmv" \
+	"RMAUXLIB = librmaux" \
+	"RMILIB = librmi" \
+	"LIBDIR = ../lib" \
+	"MAKELIB = ../bin/mklib.libtool" \
+	"ARCHFLAGS = none"
+
 linux:
 	@$(MAKE) $(MFLAGS) -f Makefile.x11 targets \
 	"CC = gcc" \
