$OpenBSD: patch-lib_mui_Imakefile,v 1.5 2005/12/26 21:08:52 steven Exp $
--- lib/mui/Imakefile.orig	Sat Aug  8 02:20:51 1998
+++ lib/mui/Imakefile	Mon Dec 26 22:04:27 2005
@@ -2,17 +2,21 @@
 /* Copyright (c) Mark J. Kilgard, 1994. */
 
 #define DoNormalLib YES
+#define DoSharedLib YES
+#define DoExtraLib  YES
+#define LibName     mui
+#define SoRev SOMUIREV
 
-#include <Library.tmpl>
-
-#include "../../Glut.cf"
-
 SRCS = button.c displaylist.c gizmo.c glutmui.c \
    hslider.c miscui.c mui.c pulldown.c textlist.c uicolor.c vslider.c
 
 OBJS = button.o displaylist.o gizmo.o glutmui.o \
    hslider.o miscui.o mui.o pulldown.o textlist.o uicolor.o vslider.o
 
+#include <Library.tmpl>
+
+#include "../../Glut.cf"
+
 #ifdef LibraryObjectRule
 LibraryObjectRule()
 #else
@@ -20,7 +24,5 @@ LibraryObjectRule()
    will probably do essentially what LibraryObjectRule does. */
 NormalLibraryObjectRule()
 #endif
-
-NormalLibraryTarget(mui,$(OBJS))
 
 DependTarget()
