2007-08-13 13:18:28 +02:00
|
|
|
$NetBSD: patch-ae,v 1.9 2007/08/13 11:18:45 seb Exp $
|
2004-01-22 13:58:07 +01:00
|
|
|
|
2007-08-13 13:18:28 +02:00
|
|
|
--- src/glw/Makefile.orig 2005-07-26 07:55:56.000000000 +0200
|
2004-10-26 15:55:17 +02:00
|
|
|
+++ src/glw/Makefile
|
|
|
|
@@ -17,7 +17,7 @@ OBJECTS = $(GLW_SOURCES:.c=.o)
|
2004-01-22 13:58:07 +01:00
|
|
|
##### RULES #####
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
- $(CC) -c $(INCDIRS) $(CFLAGS) $<
|
|
|
|
+ ${LIBTOOL} --mode=compile $(CC) -c $(INCDIRS) $(CFLAGS) $<
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-13 13:18:28 +02:00
|
|
|
@@ -33,10 +33,10 @@ clean:
|
2004-01-22 13:58:07 +01:00
|
|
|
|
|
|
|
# Make the library
|
2007-08-13 13:18:28 +02:00
|
|
|
$(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS)
|
2006-01-19 13:53:17 +01:00
|
|
|
- $(TOP)/bin/mklib -o $(GLW_LIB) -linker '$(CC)' \
|
|
|
|
- -major $(MAJOR) -minor $(MINOR) -patch $(TINY) \
|
2007-08-13 13:18:28 +02:00
|
|
|
- $(MKLIB_OPTIONS) -install $(LIB_DIR) \
|
2004-04-09 15:05:52 +02:00
|
|
|
- $(GLW_LIB_DEPS) $(OBJECTS)
|
2006-01-19 13:53:17 +01:00
|
|
|
+ ${LIBTOOL} --mode=link ${CC} -o ${GLW_LIB_NAME:.so=.la} \
|
|
|
|
+ ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \
|
|
|
|
+ -version-info ${MAJOR}:${MINOR} -L${X11BASE}/lib \
|
|
|
|
+ ${GLW_LIB_DEPS:S|-lGL|../mesa/libGL.la|} -Wl,-R${X11BASE}/lib
|
2004-01-22 13:58:07 +01:00
|
|
|
|
|
|
|
|
2004-10-26 15:55:17 +02:00
|
|
|
#
|