aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-05 04:11:17 +0000
committerRichard M. Stallman1994-05-05 04:11:17 +0000
commiteb4252f765c8213ddb6cf29b57395222b0617272 (patch)
treedfb5d530c9e5034a83038b9d0af9372fd412b28e /lib-src
parentb06f07c06e87f3a993403f26cbdca28a978b9971 (diff)
downloademacs-eb4252f765c8213ddb6cf29b57395222b0617272.tar.gz
emacs-eb4252f765c8213ddb6cf29b57395222b0617272.zip
Put in a separator for where to start cpp procssing.
Move all autoconf substitutions above that point. Above that point, use Make-style comments. This goes with changes in ../configure.in.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in185
1 files changed, 95 insertions, 90 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 0db8313d41d..04da652063b 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -1,136 +1,99 @@
1/* Makefile for lib-src subdirectory in GNU Emacs. 1# Makefile for lib-src subdirectory in GNU Emacs.
2 Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. 2# Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4# This file is part of GNU Emacs.
5 5
6GNU Emacs is free software; you can redistribute it and/or modify 6# GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 7# it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option) 8# the Free Software Foundation; either version 2, or (at your option)
9any later version. 9# any later version.
10 10
11GNU Emacs is distributed in the hope that it will be useful, 11# GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of 12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details. 14# GNU General Public License for more details.
15 15
16You should have received a copy of the GNU General Public License 16# You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to 17# along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 18# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19 19
20#define NO_SHORTNAMES 20# Avoid trouble on systems where the `SHELL' variable might be
21#define THIS_IS_YMAKEFILE 21# inherited from the environment.
22#define NOT_C_CODE
23#include "../src/config.h"
24
25/* Some s/*.h files define this to request special libraries. */
26#ifndef LIBS_SYSTEM
27#define LIBS_SYSTEM
28#endif
29
30/* Some m/*.h files define this to request special libraries. */
31#ifndef LIBS_MACHINE
32#define LIBS_MACHINE
33#endif
34
35#ifndef C_SWITCH_SYSTEM
36#define C_SWITCH_SYSTEM
37#endif
38
39#ifndef C_SWITCH_MACHINE
40#define C_SWITCH_MACHINE
41#endif
42
43#undef MOVEMAIL_NEEDS_BLESSING
44#ifndef MAIL_USE_FLOCK
45#ifndef MAIL_USE_LOCKF
46#define MOVEMAIL_NEEDS_BLESSING
47#endif
48#endif
49
50#ifdef MOVEMAIL_NEEDS_BLESSING
51#define BLESSMAIL blessmail
52#else
53#define BLESSMAIL
54#endif
55
56/* Avoid trouble on systems where the `SHELL' variable might be
57 inherited from the environment. */
58SHELL = /bin/sh 22SHELL = /bin/sh
59 23
60/* ==================== Things `configure' will edit ==================== */ 24# ==================== Things `configure' will edit ====================
61 25
62CC=@CC@ 26CC=@CC@
63CFLAGS=@CFLAGS@ 27CFLAGS=@CFLAGS@
64ALLOCA=@ALLOCA@ 28ALLOCA=@ALLOCA@
65LOADLIBES=LIBS_SYSTEM LIBS_MACHINE
66YACC=@YACC@ 29YACC=@YACC@
67version=@version@ 30version=@version@
68configuration=@configuration@ 31configuration=@configuration@
69 32
70/* ==================== Where To Install Things ==================== */ 33# ==================== Where To Install Things ====================
71 34
72/* The default location for installation. Everything is placed in 35# The default location for installation. Everything is placed in
73 subdirectories of this directory. The default values for many of 36# subdirectories of this directory. The default values for many of
74 the variables below are expressed in terms of this one, so you may 37# the variables below are expressed in terms of this one, so you may
75 not need to change them. This is set with the --prefix option to 38# not need to change them. This is set with the --prefix option to
76 `../configure'. */ 39# `../configure'.
77prefix=@prefix@ 40prefix=@prefix@
78 41
79/* Like `prefix', but used for architecture-specific files. This is 42# Like `prefix', but used for architecture-specific files. This is
80 set with the --exec-prefix option to `../configure'. */ 43# set with the --exec-prefix option to `../configure'.
81exec_prefix=@exec_prefix@ 44exec_prefix=@exec_prefix@
82 45
83/* Where to install Emacs and other binaries that people will want to 46# Where to install Emacs and other binaries that people will want to
84 run directly (like etags). This is set with the --bindir option 47# run directly (like etags). This is set with the --bindir option
85 to `../configure'. */ 48# to `../configure'.
86bindir=@bindir@ 49bindir=@bindir@
87 50
88/* Where to install and expect executable files to be run by Emacs 51# Where to install and expect executable files to be run by Emacs
89 rather than directly by users, and other architecture-dependent 52# rather than directly by users, and other architecture-dependent
90 data. ${archlibdir} is usually below this. This is set with the 53# data. ${archlibdir} is usually below this. This is set with the
91 --libdir option to `../configure'. */ 54# --libdir option to `../configure'.
92libdir=@libdir@ 55libdir=@libdir@
93 56
94/* Where to find the source code. This is set by the configure 57# Where to find the source code. This is set by the configure
95 script's `--srcdir' option. However, the value of ${srcdir} in 58# script's `--srcdir' option. However, the value of ${srcdir} in
96 this makefile is not identical to what was specified with --srcdir, 59# this makefile is not identical to what was specified with --srcdir,
97 since the variable here has `/lib-src' added at the end. */ 60# since the variable here has `/lib-src' added at the end.
98srcdir=@srcdir@ 61srcdir=@srcdir@
99VPATH=@srcdir@ 62VPATH=@srcdir@
100 63
101/* ==================== Emacs-specific directories ==================== */ 64# ==================== Emacs-specific directories ====================
102 65
103/* These variables hold the values Emacs will actually use. They are 66# These variables hold the values Emacs will actually use. They are
104 based on the values of the standard Make variables above. */ 67# based on the values of the standard Make variables above.
105 68
106/* Where to put executables to be run by Emacs rather than the user. 69# Where to put executables to be run by Emacs rather than the user.
107 This path usually includes the Emacs version and configuration name, 70# This path usually includes the Emacs version and configuration name,
108 so that multiple configurations for multiple versions of Emacs may 71# so that multiple configurations for multiple versions of Emacs may
109 be installed at once. This can be set with the --archlibdir option 72# be installed at once. This can be set with the --archlibdir option
110 to `../configure'. */ 73# to `../configure'.
111archlibdir=@archlibdir@ 74archlibdir=@archlibdir@
112 75
113/* ==================== Utility Programs for the Build ================= */ 76# ==================== Utility Programs for the Build =================
114 77
115/* ../configure figures out the correct values for these. */ 78# ../configure figures out the correct values for these.
116INSTALL = @INSTALL@ 79INSTALL = @INSTALL@
117INSTALL_PROGRAM = @INSTALL_PROGRAM@ 80INSTALL_PROGRAM = @INSTALL_PROGRAM@
118INSTALL_DATA = @INSTALL_DATA@ 81INSTALL_DATA = @INSTALL_DATA@
119 82
120/* ============================= Targets ============================== */ 83# ========================== Lists of Files ===========================
121 84
122/* Things that a user might actually run, 85# Things that a user might actually run,
123 which should be installed in bindir. */ 86# which should be installed in bindir.
124INSTALLABLES = etags ctags emacsclient b2m 87INSTALLABLES = etags ctags emacsclient b2m
125INSTALLABLE_SCRIPTS = rcs-checkin 88INSTALLABLE_SCRIPTS = rcs-checkin
126 89
127/* Things that Emacs runs internally, or during the build process, 90# Things that Emacs runs internally, or during the build process,
128 which should not be installed in bindir. */ 91# which should not be installed in bindir.
129UTILITIES= test-distrib make-path wakeup profile make-docfile digest-doc \ 92UTILITIES= test-distrib make-path wakeup profile make-docfile digest-doc \
130 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer 93 sorted-doc movemail cvtmail fakemail yow emacsserver hexl timer
131 94
132/* Like UTILITIES, but they're not system-dependent, and should not be 95# Like UTILITIES, but they're not system-dependent, and should not be
133 deleted by the distclean target. */ 96# deleted by the distclean target.
134SCRIPTS= rcs2log vcdiff 97SCRIPTS= rcs2log vcdiff
135 98
136EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 99EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
@@ -138,6 +101,47 @@ EXECUTABLES= ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
138SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \ 101SOURCES = COPYING ChangeLog Makefile.in README aixcc.lex emacs.csh \
139 makedoc.com *.[chy] rcs2log vcdiff 102 makedoc.com *.[chy] rcs2log vcdiff
140 103
104# ========================== start of cpp stuff =======================
105/* From here on, comments must be done in C syntax. */
106
107#define NO_SHORTNAMES
108#define THIS_IS_YMAKEFILE
109#define NOT_C_CODE
110#include "../src/config.h"
111
112/* Some s/*.h files define this to request special libraries. */
113#ifndef LIBS_SYSTEM
114#define LIBS_SYSTEM
115#endif
116
117/* Some m/*.h files define this to request special libraries. */
118#ifndef LIBS_MACHINE
119#define LIBS_MACHINE
120#endif
121
122#ifndef C_SWITCH_SYSTEM
123#define C_SWITCH_SYSTEM
124#endif
125
126#ifndef C_SWITCH_MACHINE
127#define C_SWITCH_MACHINE
128#endif
129
130#undef MOVEMAIL_NEEDS_BLESSING
131#ifndef MAIL_USE_FLOCK
132#ifndef MAIL_USE_LOCKF
133#define MOVEMAIL_NEEDS_BLESSING
134#endif
135#endif
136
137#ifdef MOVEMAIL_NEEDS_BLESSING
138#define BLESSMAIL blessmail
139#else
140#define BLESSMAIL
141#endif
142
143LOADLIBES=LIBS_SYSTEM LIBS_MACHINE
144
141/* We need to #define emacs to get the right versions of some files. 145/* We need to #define emacs to get the right versions of some files.
142 Some other files - those shared with other GNU utilities - need 146 Some other files - those shared with other GNU utilities - need
143 HAVE_CONFIG_H #defined before they know they can take advantage of 147 HAVE_CONFIG_H #defined before they know they can take advantage of
@@ -173,6 +177,7 @@ maybe-blessmail: BLESSMAIL
173 echo Assuming $$dir is really the mail spool directory, you should; \ 177 echo Assuming $$dir is really the mail spool directory, you should; \
174 echo run ./blessmail ${archlibdir}/movemail; \ 178 echo run ./blessmail ${archlibdir}/movemail; \
175 echo as root, to give movemail appropriate permissions.; \ 179 echo as root, to give movemail appropriate permissions.; \
180 echo Do that after running make install.; \
176 fi 181 fi
177#endif 182#endif
178 183