$NetBSD: patch-ac,v 1.1.1.1 2006/01/16 13:01:16 rxg Exp $

--- im-srv/Makefile.orig	2006-01-14 23:40:15.000000000 +0800
+++ im-srv/Makefile
@@ -5,6 +5,9 @@ WALL=-Wall
 CFLAGS= $(WALL) $(OPTFLAGS) -I.. -I../im-client  -I../IMdkit/include $(GTKINC) -DDEBUG="0$(GCIN_DEBUG)"
 OBJS = im-srv.o im-addr.o im-dispatch.o ../im-client/gcin-crypt.o
 
+.c.o:
+	$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -o $@ $<
+
 im-srv.a:	$(OBJS)
 	ar cr $@ $(OBJS)
 	ranlib $@