aboutsummaryrefslogtreecommitdiffstats
path: root/config.bat
diff options
context:
space:
mode:
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat13
1 files changed, 7 insertions, 6 deletions
diff --git a/config.bat b/config.bat
index 271673bc302..0482d4f15f0 100644
--- a/config.bat
+++ b/config.bat
@@ -221,16 +221,17 @@ cd ..
221rem ---------------------------------------------------------------------- 221rem ----------------------------------------------------------------------
222Echo Configuring the library source directory... 222Echo Configuring the library source directory...
223cd lib-src 223cd lib-src
224rem Create "makefile" from "makefile.in".
225sed -e "1,/== start of cpp stuff ==/s@^##*[ ].*$@@" <Makefile.in >junk.c
226gcc -E -traditional -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new
227If "%DJGPP_VER%" == "2" goto libsrc-v2 224If "%DJGPP_VER%" == "2" goto libsrc-v2
228sed -f ../msdos/sed3.inp <makefile.new >Makefile 225sed -f ../msdos/sed3.inp <Makefile.in >Makefile
229Goto libsrc2 226Goto libsrc2
230:libsrc-v2 227:libsrc-v2
231sed -f ../msdos/sed3v2.inp <makefile.new >Makefile 228sed -f ../msdos/sed3v2.inp <Makefile.in >Makefile
232:libsrc2 229:libsrc2
233rm -f makefile.new junk.c 230if "%X11%" == "" goto libsrc2a
231mv Makefile makefile.tmp
232sed -f ../msdos/sed3x.inp <makefile.tmp >Makefile
233rm -f makefile.tmp
234:libsrc2a
234if "%nodebug%" == "" goto libsrc3 235if "%nodebug%" == "" goto libsrc3
235sed -e "/^CFLAGS *=/s/ *-gcoff//" <Makefile >makefile.tmp 236sed -e "/^CFLAGS *=/s/ *-gcoff//" <Makefile >makefile.tmp
236sed -e "/^ALL_CFLAGS *=/s/=/= -s/" <makefile.tmp >Makefile 237sed -e "/^ALL_CFLAGS *=/s/=/= -s/" <makefile.tmp >Makefile