$OpenBSD: patch-lib_glsmap_Imakefile,v 1.5 2005/12/26 21:08:52 steven Exp $ --- lib/glsmap/Imakefile.orig Sat Aug 8 02:20:50 1998 +++ lib/glsmap/Imakefile Mon Dec 26 22:04:07 2005 @@ -2,11 +2,11 @@ /* Copyright (c) Mark J. Kilgard, 1998. */ #define DoNormalLib YES +#define DoSharedLib YES +#define DoExtraLib YES +#define LibName glsmap +#define SoRev SOGLSMAPREV -#include - -#include "../../Glut.cf" - SRCS = smap_buildsmap.c smap_context.c smap_create.c smap_destroy.c \ smap_drawmesh.c smap_flag.c smap_get.c smap_getfunc.c smap_gettexdim.c \ smap_gettexobj.c smap_getvec.c smap_makemesh.c smap_nearfar.c \ @@ -19,6 +19,10 @@ OBJS = smap_buildsmap.o smap_context.o s smap_origin.o smap_render.o smap_rvec2st.o smap_set.o smap_setfunc.o \ smap_setvec.o smap_texdim.o smap_texobj.o +#include + +#include "../../Glut.cf" + #ifdef LibraryObjectRule LibraryObjectRule() #else @@ -26,7 +30,5 @@ LibraryObjectRule() will probably do essentially what LibraryObjectRule does. */ NormalLibraryObjectRule() #endif - -NormalLibraryTarget(glsmap,$(OBJS)) DependTarget()