summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2001-09-25 16:25:41 +0000
committerKarl Schultz <kschultz@freedesktop.org>2001-09-25 16:25:41 +0000
commit954f511473e4e8cf643751d1f7c03d59c0bd48bf (patch)
tree8d030a7e5946a6fc6dec3ec18311d28ec787dfc1 /src
parent968e557dcd6c4611d5517ea0550dc56256ccb99c (diff)
Fix up Windows makefiles so that the debug build leaves debugger info
in the libraries. Make with NODEBUG=1 builds optimized without debug info (doc'ed in top level Makefile.win).
Diffstat (limited to 'src')
-rw-r--r--src/glu/sgi/Makefile.win2
-rw-r--r--src/glut/glx/Makefile.win2
-rw-r--r--src/mesa/drivers/osmesa/Makefile.win2
-rw-r--r--src/mesa/main/Makefile.win2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/glu/sgi/Makefile.win b/src/glu/sgi/Makefile.win
index 236731a7a0..33349c326d 100644
--- a/src/glu/sgi/Makefile.win
+++ b/src/glu/sgi/Makefile.win
@@ -117,7 +117,7 @@ all : gludll
gludll : $(GLUDLL)
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -Iinclude -DBUILD_GL32
-LFLAGS = $(dlllflags) $(LFLAGS)
+LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
OBJS = $(GLU_SRCS:.c=.obj)
LIBS = ../lib/$(MESALIB) winmm.lib $(guilibsdll)
diff --git a/src/glut/glx/Makefile.win b/src/glut/glx/Makefile.win
index 261bb7a6d6..cf0a3eb0cd 100644
--- a/src/glut/glx/Makefile.win
+++ b/src/glut/glx/Makefile.win
@@ -19,7 +19,7 @@ OPTIMIZE_CFLAGS = -DNDEBUG
!ENDIF
CFLAGS = $(cvarsdll) $(CFLAGS) $(OPTIMIZE_CFLAGS) -DMESA -DBUILD_GL32
-LFLAGS = $(dlllflags) $(LFLAGS)
+LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
OBJS = $(SRCS:.c=.obj)
MS_LIBS = ../lib/$(MESALIB) ../lib/$(GLULIB) winmm.lib $(guilibsdll)
diff --git a/src/mesa/drivers/osmesa/Makefile.win b/src/mesa/drivers/osmesa/Makefile.win
index d6c11b169f..36d520e65d 100644
--- a/src/mesa/drivers/osmesa/Makefile.win
+++ b/src/mesa/drivers/osmesa/Makefile.win
@@ -20,7 +20,7 @@ all : osmesadll
osmesadll: $(OSMESADLL)
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -DBUILD_GL32 -I$(TOP)/src
-LFLAGS = $(LFLAGS) $(dlllflags)
+LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
LIBS = $(guilibsdll) $(TOP)/lib/$(MESALIB)
diff --git a/src/mesa/main/Makefile.win b/src/mesa/main/Makefile.win
index 2d2138fa8a..d3d9d7a3d2 100644
--- a/src/mesa/main/Makefile.win
+++ b/src/mesa/main/Makefile.win
@@ -154,7 +154,7 @@ all : mesadll $(SUBDIRS)
mesadll : $(MESADLL)
CFLAGS = $(cvarsdll) $(CFLAGS) -D_OPENGL32_ -DBUILD_GL32 -DNO_PARALLEL -DNO_STEREO
-LFLAGS = $(dlllflags) $(LFLAGS)
+LFLAGS = $(dlllflags) $(lcommon) $(LFLAGS)
OBJS = $(ASM_SRCS:.S=.obj) $(CORE_SRCS:.c=.obj) $(DRIVER_SRCS:.c=.obj)
LIBS = winmm.lib $(guilibsdll)