openbsd-ports/graphics/glut/patches/patch-lib_mui_Imakefile

39 lines
1.0 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-lib_mui_Imakefile,v 1.2 2002/12/30 10:02:55 espie Exp $
--- lib/mui/Imakefile.orig Sat Aug 8 02:20:51 1998
+++ lib/mui/Imakefile Mon Dec 30 10:44:34 2002
@@ -2,10 +2,12 @@
/* 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"
+SOMUIREV = 3.7
SRCS = button.c displaylist.c gizmo.c glutmui.c \
hslider.c miscui.c mui.c pulldown.c textlist.c uicolor.c vslider.c
@@ -13,6 +15,10 @@ SRCS = button.c displaylist.c gizmo.c gl
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 +26,5 @@ LibraryObjectRule()
will probably do essentially what LibraryObjectRule does. */
NormalLibraryObjectRule()
#endif
-
-NormalLibraryTarget(mui,$(OBJS))
DependTarget()