diff options
| author | Paul Eggert | 2011-01-08 13:02:38 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-01-08 13:02:38 -0800 |
| commit | 9a514d4a6c27b837fc2cd6d02c7cd60f08a621a4 (patch) | |
| tree | 1eee202635acdcbf6871101a2af8f67cd4683b1c /lib-src | |
| parent | 278f68456b8c25fff6d2274476cdc8ee3609f68b (diff) | |
| download | emacs-9a514d4a6c27b837fc2cd6d02c7cd60f08a621a4.tar.gz emacs-9a514d4a6c27b837fc2cd6d02c7cd60f08a621a4.zip | |
Automate syncing from gnulib.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 10 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 12 |
2 files changed, 20 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index b5869b322d7..7da5d2104ee 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,5 +1,15 @@ | |||
| 1 | 2011-01-08 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-01-08 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Automate syncing from gnulib. | ||
| 4 | * Makefile.in (EXE_FILES): New macro. | ||
| 5 | (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib, | ||
| 6 | for gnulib's .h files. | ||
| 7 | (LOADLIBES): Add ../lib/libgnu.a. | ||
| 8 | ($(EXE_FILES)): Depend on ../lib/libgnu.a. | ||
| 9 | (../lib/libgnu.a): New rule. | ||
| 10 | |||
| 11 | 2011-01-08 Paul Eggert <eggert@cs.ucla.edu> | ||
| 12 | |||
| 3 | * Makefile.in (EXECUTABLES): Remove; macro unused since 1993. | 13 | * Makefile.in (EXECUTABLES): Remove; macro unused since 1993. |
| 4 | 14 | ||
| 5 | 2011-01-08 Glenn Morris <rgm@gnu.org> | 15 | 2011-01-08 Glenn Morris <rgm@gnu.org> |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 5561c04b66a..fc404c5ae63 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -128,6 +128,9 @@ DONT_INSTALL= test-distrib${EXEEXT} make-docfile${EXEEXT} | |||
| 128 | SCRIPTS= rcs2log vcdiff | 128 | SCRIPTS= rcs2log vcdiff |
| 129 | STAMP_SCRIPTS= stamp-rcs2log stamp-vcdiff | 129 | STAMP_SCRIPTS= stamp-rcs2log stamp-vcdiff |
| 130 | 130 | ||
| 131 | # All files that are created by the linker, i.e., whose names end in ${EXEEXT}. | ||
| 132 | EXE_FILES = ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} | ||
| 133 | |||
| 131 | # Specify additional -D flags for movemail. Options: | 134 | # Specify additional -D flags for movemail. Options: |
| 132 | # -DMAIL_USE_FLOCK or -DMAIL_USE_LOCKF (use flock or lockf for file locking). | 135 | # -DMAIL_USE_FLOCK or -DMAIL_USE_LOCKF (use flock or lockf for file locking). |
| 133 | # See the comments about locking in movemail.c. Normally the values | 136 | # See the comments about locking in movemail.c. Normally the values |
| @@ -166,13 +169,15 @@ LIBS_SYSTEM = @LIBS_SYSTEM@ | |||
| 166 | # defined before they know they can take advantage of the information | 169 | # defined before they know they can take advantage of the information |
| 167 | # in ../src/config.h. | 170 | # in ../src/config.h. |
| 168 | BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) ${C_WARNINGS_SWITCH} \ | 171 | BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) ${C_WARNINGS_SWITCH} \ |
| 169 | -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src | 172 | -DHAVE_CONFIG_H -I. -I../src -I../lib \ |
| 173 | -I${srcdir} -I${srcdir}/../src -I${srcdir}/../lib | ||
| 170 | 174 | ||
| 171 | ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} | 175 | ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} |
| 172 | LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} | 176 | LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} |
| 173 | CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS} | 177 | CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS} |
| 174 | 178 | ||
| 175 | LOADLIBES=$(LIBS_SYSTEM) | 179 | LOADLIBES = ../lib/libgnu.a $(LIBS_SYSTEM) |
| 180 | $(EXE_FILES): ../lib/libgnu.a | ||
| 176 | 181 | ||
| 177 | ## This is the default compilation command. | 182 | ## This is the default compilation command. |
| 178 | ## But we should never rely on it, because some make version failed to | 183 | ## But we should never rely on it, because some make version failed to |
| @@ -320,6 +325,9 @@ getopt.o: ${srcdir}/getopt.c $(GETOPT_H) ${srcdir}/gettext.h | |||
| 320 | getopt1.o: ${srcdir}/getopt1.c $(GETOPT_H) | 325 | getopt1.o: ${srcdir}/getopt1.c $(GETOPT_H) |
| 321 | ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c | 326 | ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c |
| 322 | 327 | ||
| 328 | ../lib/libgnu.a: ../src/config.h | ||
| 329 | cd ../lib && $(MAKE) libgnu.a | ||
| 330 | |||
| 323 | REGEXPOBJ = regex.o | 331 | REGEXPOBJ = regex.o |
| 324 | REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h | 332 | REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h |
| 325 | 333 | ||