Commit | Line | Data |
---|---|---|
515dd711 RS |
1 | # -sed3v2.inp------------------------------------------------------------- |
2 | # Configuration script for lib-src/makefile under DJGPP v2 | |
3 | # ---------------------------------------------------------------------- | |
d7fcecc1 | 4 | # |
ba318903 | 5 | # Copyright (C) 1996, 1998, 2000-2014 Free Software Foundation, Inc. |
d7fcecc1 EZ |
6 | # |
7 | # This file is part of GNU Emacs. | |
8 | # | |
9 | # This file is free software; as a special exception, the author gives | |
10 | # unlimited permission to copy and/or distribute it, with or without | |
11 | # modifications, as long as this notice is preserved. | |
12 | # | |
13 | # This program is distributed in the hope that it will be useful, | |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
16 | # | |
17 | # ---------------------------------------------------------------------- | |
515dd711 RS |
18 | /^# DIST: /d |
19 | /^SHELL *=/s/^/# / | |
20 | /^CC *=/s/=.*$/=gcc/ | |
534e4e80 | 21 | s/-DVERSION[^ ]* // |
515dd711 RS |
22 | /^configname *=/s/=.*$/=msdos/ |
23 | /^archlibdir *=/s!=.*$!=/emacs/bin! | |
24 | /^bindir *=/s!=.*$!=/emacs/bin! | |
25 | /^libdir *=/s!=.*$!=/emacs/bin! | |
bbc2d90e | 26 | /^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))! |
515dd711 | 27 | /^VPATH *=/s!=.*$!=.! |
7490175b | 28 | /^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail! |
2201e7e2 EZ |
29 | /^KRB4LIB *=/s/@[^@\n]*@//g |
30 | /^DESLIB *=/s/@[^@\n]*@//g | |
31 | /^KRB5LIB *=/s/@[^@\n]*@//g | |
32 | /^CRYPTOLIB *=/s/@[^@\n]*@//g | |
33 | /^COM_ERRLIB *=/s/@[^@\n]*@//g | |
34 | /^LIBHESIOD *=/s/@[^@\n]*@//g | |
35 | /^LIBRESOLV *=/s/@[^@\n]*@//g | |
36 | /^LIBS_MAIL *=/s/@[^@\n]*@//g | |
97efb629 | 37 | /^LIBS_SYSTEM *=/s/@[^@\n]*@//g |
0d23c240 | 38 | /^LIB_CLOCK_GETTIME *=/s/@[^@\n]*@//g |
89d17fd0 | 39 | /^LIB_TIMER_TIME *=/s/@[^@\n]*@//g |
515dd711 | 40 | /^CFLAGS *=/s!=.*$!=-O2 -g! |
0d23c240 | 41 | /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS -I../msdos! |
9fdec8bc | 42 | /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// |
ec041b55 PE |
43 | /^WARN_CFLAGS *=/s/@WARN_CFLAGS@// |
44 | /^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@// | |
bf6b4923 | 45 | /^UPDATE_MANIFEST *=/s/@UPDATE_MANIFEST@// |
fc549af9 | 46 | /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@// |
b2d305a8 | 47 | /^ALLOCA *=/s!@ALLOCA@!! |
bf6b4923 EZ |
48 | /^EXEEXT *=/s!@EXEEXT@!.exe! |
49 | /^CLIENTW *=/s/@CLIENTW@// | |
50 | /^LIB_FDATASYNC *=/s/@LIB_FDATASYNC@// | |
51 | /^LIB_WSOCK32 *=/s/@LIB_WSOCK32@// | |
52 | /^LIBS_ECLIENT *=/s/@LIBS_ECLIENT@// | |
53 | /^NTLIB *=/s/@NTLIB@// | |
54 | /^CLIENTRES *=/s/@CLIENTRES@// | |
55 | /^WINDRES *=/s/@WINDRES@// | |
a1aeca01 EZ |
56 | /^GETOPT_H *=/s!@GETOPT_H@!getopt.h! |
57 | /^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o! | |
dbd3f723 | 58 | /^INSTALLABLES/s/emacsclient[^ ]* *// |
515dd711 | 59 | s!^ \./! ! |
dbd3f723 EZ |
60 | /^UTILITIES *=/,/^$/{ |
61 | s/movemail[^ ]* *// | |
62 | } | |
0bd3cb7b | 63 | /^insrcdir=/s/^.*$/\#&/ |
ef02e37c | 64 | /^ *\$(insrcdir) ||/s,\$(insrcdir) ||,command.com /c if not exist $(<F), |