aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorGlenn Morris2010-05-10 20:18:58 -0700
committerGlenn Morris2010-05-10 20:18:58 -0700
commitc88b05a9d69ee8d35e408d70a80538fdd13f1a3d (patch)
tree1e8e1df696339e9a7b5a0f6b83de1d27a2673410 /lib-src
parentedf77e4e3bd4986ef1e83c711e89365bd73dc15e (diff)
downloademacs-c88b05a9d69ee8d35e408d70a80538fdd13f1a3d.tar.gz
emacs-c88b05a9d69ee8d35e408d70a80538fdd13f1a3d.zip
Minor lib-src/Makefile.in edits.
* lib-src/Makefile.in (.m.o): Remove, there are no .m files. (BASE_CFLAGS): New variable. (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS. (check): Update the message. (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/Makefile.in17
2 files changed, 13 insertions, 10 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index c9a054b9e23..64cc3dde93a 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,5 +1,11 @@
12010-05-11 Glenn Morris <rgm@gnu.org> 12010-05-11 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (.m.o): Remove, there are no .m files.
4 (BASE_CFLAGS): New variable.
5 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
6 (check): Update the message.
7 (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
8
3 * Makefile.in: Convert comments to makefile format. 9 * Makefile.in: Convert comments to makefile format.
4 10
5 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset. 11 * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index a2773aa916d..c8f9042f9f8 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -161,15 +161,15 @@ LIBS_SYSTEM = @LIBS_SYSTEM@
161# Those files shared with other GNU utilities need HAVE_CONFIG_H 161# Those files shared with other GNU utilities need HAVE_CONFIG_H
162# defined before they know they can take advantage of the information 162# defined before they know they can take advantage of the information
163# in ../src/config.h. 163# in ../src/config.h.
164ALL_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} 164BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src
165LINK_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} 165
166CPP_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 166ALL_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
167LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS}
168CPP_CFLAGS = ${BASE_CFLAGS} ${CPPFLAGS} ${CFLAGS}
167 169
168LOADLIBES=$(LIBS_SYSTEM) 170LOADLIBES=$(LIBS_SYSTEM)
169 171
170 172
171.SUFFIXES: .m
172
173## This is the default compilation command. 173## This is the default compilation command.
174## But we should never rely on it, because some make version failed to 174## But we should never rely on it, because some make version failed to
175## find it for getopt.o. 175## find it for getopt.o.
@@ -177,9 +177,6 @@ LOADLIBES=$(LIBS_SYSTEM)
177.c.o: 177.c.o:
178 ${CC} -c ${CPP_CFLAGS} $< 178 ${CC} -c ${CPP_CFLAGS} $<
179 179
180.m.o:
181 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
182
183all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} 180all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}
184 181
185## These targets copy the scripts into the build directory so that 182## These targets copy the scripts into the build directory so that
@@ -287,7 +284,7 @@ extraclean: maintainer-clean
287 284
288## Test the contents of the directory. 285## Test the contents of the directory.
289check: 286check:
290 @echo "We don't have any tests for GNU Emacs yet." 287 @echo "We don't have any tests for the lib-src/ directory yet."
291 288
292tags: TAGS 289tags: TAGS
293TAGS: etags${EXEEXT} 290TAGS: etags${EXEEXT}
@@ -370,7 +367,7 @@ hexl${EXEEXT}: ${srcdir}/hexl.c ../src/config.h
370 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl 367 $(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
371 368
372update-game-score${EXEEXT}: update-game-score.o $(GETOPTDEPS) 369update-game-score${EXEEXT}: update-game-score.o $(GETOPTDEPS)
373 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} update-game-score.o $(GETOPTOBJS) $(LOADLIBES) -o update-game-score 370 $(CC) ${LINK_CFLAGS} update-game-score.o $(GETOPTOBJS) $(LOADLIBES) -o update-game-score
374 371
375update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H) 372update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H)
376 $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \ 373 $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \