| 1 | # -sed3.inp------------------------------------------------------------- |
| 2 | # Configuration script for lib-src/makefile |
| 3 | # ---------------------------------------------------------------------- |
| 4 | /^# DIST: /d |
| 5 | /^SHELL *=/s/^/# / |
| 6 | /^CC *=/s/=.*$/=gcc/ |
| 7 | # Actually, here we should patch in the exact version number, but only |
| 8 | # [ce]tags uses it. Don't pass it. This is more update-resistant. |
| 9 | /-DVERSION=/s/-DVERSION="\\"\${version}\\""// |
| 10 | /^configname *=/s/=.*$/=msdos/ |
| 11 | /^archlibdir *=/s!=.*$!=/emacs/bin! |
| 12 | /^bindir *=/s!=.*$!=/emacs/bin! |
| 13 | /^libdir *=/s!=.*$!=/emacs/bin! |
| 14 | /^srcdir *=/s!=.*$!=.! |
| 15 | /^VPATH *=/s!=.*$!=.! |
| 16 | /^CFLAGS *=/s!=.*$!=-O2 -g! |
| 17 | /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! |
| 18 | /^LOADLIBES *=/s!=.*$!=! |
| 19 | /^ALLOCA *=/s!=.*$!=alloca.o! |
| 20 | /^INSTALLABLES/s/emacsclient *// |
| 21 | s!^ \./! go32 ./! |
| 22 | /^UTILITIES=/s/ wakeup// |
| 23 | /^UTILITIES=/s/ movemail// |
| 24 | /^UTILITIES=/s/ emacsserver// |
| 25 | /^UTILITIES=/s/ timer// |
| 26 | /^all *:/s/$/ make-docfile/ |
| 27 | s!^ go32 ./test-distrib! go32 ./test-dis! |
| 28 | /-o make-docfile/a\ |
| 29 | coff2exe make-docfile |