Only use -g if $debug is true. I'll suggest this also to the

OO.org people.

It would make sence to have a additional GMAKECFLAGS in solvenv,
which could contain a basic CFLAGS configuration. We cannot use
$CFLAGS cause there are dmake specific things in it.
This commit is contained in:
Martin Blapp 2002-07-31 22:57:55 +00:00
parent 3c04016727
commit 13bf943c62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63824
23 changed files with 368 additions and 69 deletions

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \

View file

@ -1,6 +1,19 @@
--- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
@@ -90,7 +90,7 @@
--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
+++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
@@ -79,7 +79,11 @@
#relative to CONFIGURE_DIR
CONFIGURE_ACTION=$(GNUMAKE)
.IF "$(GUI)"=="UNX"
-CONFIGURE_FLAGS=setup
+.IF "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O"
+.ELSE # "$(debug)"==""
+CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
+.ENDIF # "$(debug)"==""
.ELSE # "$(GUI)"=="UNX"
CONFIGURE_FLAGS=setup visualc
.ENDIF # "$(GUI)"=="UNX"
@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \