diff options
| author | Glenn Morris | 2010-05-10 20:18:58 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-10 20:18:58 -0700 |
| commit | c88b05a9d69ee8d35e408d70a80538fdd13f1a3d (patch) | |
| tree | 1e8e1df696339e9a7b5a0f6b83de1d27a2673410 /lib-src | |
| parent | edf77e4e3bd4986ef1e83c711e89365bd73dc15e (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 17 |
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 @@ | |||
| 1 | 2010-05-11 Glenn Morris <rgm@gnu.org> | 1 | 2010-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. |
| 164 | ALL_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} | 164 | BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src |
| 165 | LINK_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} | 165 | |
| 166 | CPP_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} | 166 | ALL_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} |
| 167 | LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} | ||
| 168 | CPP_CFLAGS = ${BASE_CFLAGS} ${CPPFLAGS} ${CFLAGS} | ||
| 167 | 169 | ||
| 168 | LOADLIBES=$(LIBS_SYSTEM) | 170 | LOADLIBES=$(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 | |||
| 183 | all: ${DONT_INSTALL} ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} | 180 | all: ${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. |
| 289 | check: | 286 | check: |
| 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 | ||
| 292 | tags: TAGS | 289 | tags: TAGS |
| 293 | TAGS: etags${EXEEXT} | 290 | TAGS: 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 | ||
| 372 | update-game-score${EXEEXT}: update-game-score.o $(GETOPTDEPS) | 369 | update-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 | ||
| 375 | update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H) | 372 | update-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 \ |