File tree Expand file tree Collapse file tree 6 files changed +22
-2
lines changed Expand file tree Collapse file tree 6 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ 2003-05-18 Bruno Haible <bruno@clisp.org>
2+
3+ * lib/Makefile.msvc (DEBUGFLAGS): New variable.
4+ (iconv.lib): Use it.
5+ * src/Makefile.msvc (DEBUGFLAGS): New variable.
6+ * tests/Makefile.msvc (DEBUGFLAGS): New variable.
7+
182003-05-17 Bruno Haible <bruno@clisp.org>
29
310 * Version 1.9 released.
Original file line number Diff line number Diff line change @@ -65,9 +65,11 @@ PICFLAGS = -GD -DBUILDING_LIBICONV -DBUILDING_DLL
6565
6666!if $(DEBUG)
6767OPTIMFLAGS = -Od -Z7
68+ DEBUGFLAGS = -Z7
6869!else
6970# Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
7071OPTIMFLAGS = -D_NDEBUG -O1
72+ DEBUGFLAGS =
7173!endif
7274
7375CFLAGS = $(MFLAGS ) $(WARN_CFLAGS ) $(OPTIMFLAGS ) -DHAVE_CONFIG_H -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(IIbindir ) \" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate
@@ -118,7 +120,7 @@ iconv.lib : $(OBJECTS)
118120
119121# iconv.dll and iconv.lib are created together.
120122iconv.lib : $(OBJECTS ) $(RESOURCES )
121- $(CC ) $(MFLAGS ) -LD $(OBJECTS ) $(RESOURCES ) -Feiconv.dll
123+ $(CC ) $(MFLAGS ) $( DEBUGFLAGS ) -LD $(OBJECTS ) $(RESOURCES ) -Feiconv.dll
122124
123125iconv.res : $(srcdir ) /../windows/iconv.rc
124126 rc -Fo iconv.res $(srcdir ) /../windows/iconv.rc
Original file line number Diff line number Diff line change 1+ 2003-05-18 Bruno Haible <bruno@clisp.org>
2+
3+ * Makefile.msvc (DEBUGFLAGS): New variable.
4+ (charset.lib): Use it.
5+
162003-05-07 Bruno Haible <bruno@clisp.org>
27
38 * Makefile.vms: New file.
Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ PICFLAGS = -GD
5858
5959!if $(DEBUG)
6060OPTIMFLAGS = -Od -Z7
61+ DEBUGFLAGS = -Z7
6162!else
6263# Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
6364OPTIMFLAGS = -D_NDEBUG -O1
65+ DEBUGFLAGS =
6466!endif
6567
6668# -DBUILDING_LIBCHARSET: Change expansion of LIBCHARSET_DLL_EXPORTED macro.
@@ -105,7 +107,7 @@ charset.lib : $(OBJECTS)
105107
106108# charset.dll and charset.lib are created together.
107109charset.lib : $(OBJECTS ) $(RESOURCES )
108- $(CC ) $(MFLAGS ) -LD $(OBJECTS ) $(RESOURCES ) -Fecharset.dll
110+ $(CC ) $(MFLAGS ) $( DEBUGFLAGS ) -LD $(OBJECTS ) $(RESOURCES ) -Fecharset.dll
109111
110112charset.res : $(srcdir ) /../windows/charset.rc
111113 rc -Fo charset.res $(srcdir ) /../windows/charset.rc
Original file line number Diff line number Diff line change @@ -38,9 +38,11 @@ IIPREFIX = c:\\usr
3838
3939!if $(DEBUG)
4040OPTIMFLAGS = -Od -Z7
41+ DEBUGFLAGS = -Z7
4142!else
4243# Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
4344OPTIMFLAGS = -D_NDEBUG -O1
45+ DEBUGFLAGS =
4446!endif
4547
4648# Set to -W3 if you want to see maximum amount of warnings, including stupid
Original file line number Diff line number Diff line change @@ -26,9 +26,11 @@ MFLAGS=-MD
2626
2727!if $(DEBUG)
2828OPTIMFLAGS = -Od -Z7
29+ DEBUGFLAGS = -Z7
2930!else
3031# Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
3132OPTIMFLAGS = -D_NDEBUG -O1
33+ DEBUGFLAGS =
3234!endif
3335
3436# Directories used by "make":
You can’t perform that action at this time.
0 commit comments