blob: fb639ca10cf4799bc0a70589cf3f7c49b4765919 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-ag,v 1.2 2004/04/09 13:06:06 adam Exp $
--- src/glut/glx/Makefile.X11.orig 2004-03-24 20:02:51.000000000 +0000
+++ src/glut/glx/Makefile.X11
@@ -82,6 +82,7 @@ OBJECTS = $(SOURCES:.c=.o)
##### RULES #####
.c.o:
+ ${LIBTOOL} --mode=compile \
$(CC) -c -I$(INCDIR) $(CFLAGS) $(GLUT_CFLAGS) $<
@@ -101,9 +102,8 @@ targets: $(LIBDIR)/$(GLUT_LIB)
# Make the library
$(LIBDIR)/$(GLUT_LIB): $(OBJECTS)
- $(TOP)/bin/mklib -o glut -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \
- -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIBDIR) \
- $(GLUT_LIB_DEPS) $(OBJECTS)
+ ${LIBTOOL} --mode=link ${CC} -o ${GLUT_LIB:.so=.la} ${OBJECTS:.o=.lo} \
+ -rpath ${PREFIX}/lib -version-info ${GLUT_MAJOR}:${GLUT_MINOR}
include $(TOP)/Make-config
|