Last change
on this file since 298 was 53, checked in by bird, 21 years ago |
Initial revision
|
-
Property svn:eol-style
set to
native
|
File size:
878 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 | echo Configuring glob for DJGPP
|
---|
3 | rem This batch file assumes a unix-type "sed" program
|
---|
4 |
|
---|
5 | echo # Makefile generated by "configure.bat"> Makefile
|
---|
6 |
|
---|
7 | if exist config.sed del config.sed
|
---|
8 |
|
---|
9 | echo "s/@srcdir@/./ ">> config.sed
|
---|
10 | echo "s/@CC@/gcc/ ">> config.sed
|
---|
11 | echo "s/@CFLAGS@/-O2 -g/ ">> config.sed
|
---|
12 | echo "s/@CPPFLAGS@/-DHAVE_CONFIG_H -I../ ">> config.sed
|
---|
13 | echo "s/@AR@/ar/ ">> config.sed
|
---|
14 | echo "s/@RANLIB@/ranlib/ ">> config.sed
|
---|
15 | echo "s/@LDFLAGS@// ">> config.sed
|
---|
16 | echo "s/@DEFS@// ">> config.sed
|
---|
17 | echo "s/@ALLOCA@// ">> config.sed
|
---|
18 | echo "s/@LIBS@// ">> config.sed
|
---|
19 | echo "s/@LIBOBJS@// ">> config.sed
|
---|
20 | echo "s/^Makefile *:/_Makefile:/ ">> config.sed
|
---|
21 | echo "s/^config.h *:/_config.h:/ ">> config.sed
|
---|
22 |
|
---|
23 | sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
|
---|
24 | sed -f config2.sed Makefile.in >> Makefile
|
---|
25 | del config.sed
|
---|
26 | del config2.sed
|
---|
Note:
See
TracBrowser
for help on using the repository browser.