40 lines
947 B
Plaintext
40 lines
947 B
Plaintext
$OpenBSD: patch-lib_glut_Imakefile,v 1.5 2005/12/26 21:08:52 steven Exp $
|
|
--- lib/glut/Imakefile.orig Sat Aug 8 02:20:51 1998
|
|
+++ lib/glut/Imakefile Mon Dec 26 22:03:44 2005
|
|
@@ -2,11 +2,11 @@
|
|
/* Copyright (c) Mark J. Kilgard, 1994. */
|
|
|
|
#define DoNormalLib YES
|
|
+#define DoSharedLib YES
|
|
+#define DoExtraLib YES
|
|
+#define LibName glut
|
|
+#define SoRev SOGLUTREV
|
|
|
|
-#include <Library.tmpl>
|
|
-
|
|
-#include "../../Glut.cf"
|
|
-
|
|
HDRS = \
|
|
glutint.h \
|
|
glutstroke.h \
|
|
@@ -108,6 +108,10 @@ OBJS = \
|
|
glut_winmisc.o \
|
|
layerutil.o
|
|
|
|
+#include <Library.tmpl>
|
|
+
|
|
+#include "../../Glut.cf"
|
|
+
|
|
#ifdef LibraryObjectRule
|
|
LibraryObjectRule()
|
|
#else
|
|
@@ -115,8 +119,6 @@ LibraryObjectRule()
|
|
will probably do essentially what LibraryObjectRule does. */
|
|
NormalLibraryObjectRule()
|
|
#endif
|
|
-
|
|
-NormalLibraryTarget(glut,$(OBJS))
|
|
|
|
/* I've gotten too many complaints from people (mostly Linux users)
|
|
trying to build GLUT that have problems using lex and yacc to
|