Commit | Line | Data |
---|---|---|
8c9bc1f8 RS |
1 | # -sed3.inp------------------------------------------------------------- |
2 | # Configuration script for lib-src/makefile | |
3 | # ---------------------------------------------------------------------- | |
4 | /^# DIST: /d | |
5 | /^SHELL *=/s/^/# / | |
6 | /^CC *=/s/=.*$/=gcc/ | |
fa974a00 RS |
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}\\""// | |
8c9bc1f8 RS |
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// | |
2d1d8be6 | 26 | /^all *:/s/$/ make-docfile/ |
19269b99 | 27 | s!^ go32 ./test-distrib! go32 ./test-dis! |
04993d27 | 28 | /-o make-docfile/a\ |
3e9558ae | 29 | coff2exe make-docfile |