annotate msdos/sed3v2.inp @ 108708:12c5e713faa1

Handle auto-depend with configure. * make-dist (src): Include *.mk. * config.bat: Concatenate deps.mk onto the end of src/Makefile. * configure.in (DEPFLAGS, MKDEPDIR): New output variables. (deps_frag): New output file. (AUTO_DEPEND): Remove this definition. * src/Makefile.in (DEPDIR): New constant. (DEPFLAGS): Set with configure, not cpp. (MKDEPDIR): New, set by configure. (.c.o, .m.o, ecrt0.o): Use $MKDEPDIR. (clean): Use $DEPDIR. (deps_frag): Include from configure. Move static/dynamic dependency stuff to deps.mk/autodeps.mk. * src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in. * msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty. (MKDEPDIR): Edit to ':'.
author Glenn Morris <rgm@gnu.org>
date Wed, 19 May 2010 23:11:27 -0700
parents d1257e56bb95
children 6d8c29fae125
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 # -sed3v2.inp-------------------------------------------------------------
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 # Configuration script for lib-src/makefile under DJGPP v2
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 # ----------------------------------------------------------------------
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
4 #
75249
4ad431d8e164 Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68648
diff changeset
5 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004,
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 100956
diff changeset
6 # 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
7 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
8 # This file is part of GNU Emacs.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
9 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
10 # This file is free software; as a special exception, the author gives
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
11 # unlimited permission to copy and/or distribute it, with or without
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
12 # modifications, as long as this notice is preserved.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
13 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
14 # This program is distributed in the hope that it will be useful,
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
17 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 30380
diff changeset
18 # ----------------------------------------------------------------------
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 /^# DIST: /d
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 /^SHELL *=/s/^/# /
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 /^CC *=/s/=.*$/=gcc/
21594
529f64fddbb6 When installing ${version}, do it replacing @version@.
Richard M. Stallman <rms@gnu.org>
parents: 14967
diff changeset
22 /-DVERSION=/s/@version@/\${version}/
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 /^configname *=/s/=.*$/=msdos/
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 /^archlibdir *=/s!=.*$!=/emacs/bin!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 /^bindir *=/s!=.*$!=/emacs/bin!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 /^libdir *=/s!=.*$!=/emacs/bin!
52389
3627ac63d5a9 (srcdir): Use "command.com /c cd" to produce an
Eli Zaretskii <eliz@gnu.org>
parents: 52316
diff changeset
27 /^srcdir=/s!srcdir=@srcdir@!srcdir := $(subst \\,/,$(shell command.com /c cd))!
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 /^VPATH *=/s!=.*$!=.!
108379
203aa49071bf Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108298
diff changeset
29 /^BLESSMAIL_TARGET *=/s!@BLESSMAIL_TARGET@!need-blessmail!
107548
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
30 /^KRB4LIB *=/s/@[^@\n]*@//g
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
31 /^DESLIB *=/s/@[^@\n]*@//g
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
32 /^KRB5LIB *=/s/@[^@\n]*@//g
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
33 /^CRYPTOLIB *=/s/@[^@\n]*@//g
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
34 /^COM_ERRLIB *=/s/@[^@\n]*@//g
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
35 /^LIBHESIOD *=/s/@[^@\n]*@//g
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
36 /^LIBRESOLV *=/s/@[^@\n]*@//g
f1433702b7ea Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
37 /^LIBS_MAIL *=/s/@[^@\n]*@//g
108382
b9b3b94979ee Move LIBS_SYSTEM from cpp to configure.
Glenn Morris <rgm@gnu.org>
parents: 108379
diff changeset
38 /^LIBS_SYSTEM *=/s/@[^@\n]*@//g
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 /^CFLAGS *=/s!=.*$!=-O2 -g!
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
108298
ffcbc15ab440 Fix MS-DOS configuring in lib-src/ and src/, broken by autoconfiscation.
Eli Zaretskii <eliz@gnu.org>
parents: 107548
diff changeset
41 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 /^LOADLIBES *=/s!=.*$!=!
30380
4c605d08a747 Define ALLOCA to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents: 21594
diff changeset
43 /^ALLOCA *=/s!@ALLOCA@!!
52316
c2cfd1a0a301 (EXEEXT): Define to an empty string.
Eli Zaretskii <eliz@gnu.org>
parents: 36461
diff changeset
44 /^EXEEXT *=/s!@EXEEXT@!!
65408
148f72c0ee3b (GETOPT_H, GETOPTOBJS): Define to use getopt.h, getopt.o and getopt1.o.
Eli Zaretskii <eliz@gnu.org>
parents: 64890
diff changeset
45 /^GETOPT_H *=/s!@GETOPT_H@!getopt.h!
148f72c0ee3b (GETOPT_H, GETOPTOBJS): Define to use getopt.h, getopt.o and getopt1.o.
Eli Zaretskii <eliz@gnu.org>
parents: 64890
diff changeset
46 /^GETOPTOBJS *=/s!@GETOPTOBJS@!getopt.o getopt1.o!
108592
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
47 /^INSTALLABLES/s/emacsclient[^ ]* *//
14967
5c431b2e0f95 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 s!^ \./! !
108592
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
49 /^UTILITIES *=/,/^$/{
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
50 s/movemail[^ ]* *//
d1257e56bb95 Fix "config msdos" step.
Eli Zaretskii <eliz@gnu.org>
parents: 108508
diff changeset
51 }
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 52389
diff changeset
52
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 52389
diff changeset
53 # arch-tag: 16f3be18-a45b-496c-b19c-e43840359de8