diff options
| author | Richard M. Stallman | 1993-12-23 01:11:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-12-23 01:11:33 +0000 |
| commit | ab8fbbf707c90e5f82ec5a04c955067211f613b5 (patch) | |
| tree | b9a32d4e63f9f6e1d88797d2d81f17969145c89c /src | |
| parent | 708d172af2fb0b70ece1824c669187865736763d (diff) | |
| download | emacs-ab8fbbf707c90e5f82ec5a04c955067211f613b5.tar.gz emacs-ab8fbbf707c90e5f82ec5a04c955067211f613b5.zip | |
(configuration): New variable.
(emacs.o): Define macro CONFIGURATION.
[__GNUC__ > 1]: Maybe define LINKER_WAS_SPECIFIED.
[LINKER_WAS_SPECIFIED] (YMF_PASS_LDFLAGS): Define as identity.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 8d8d0f9d5b8..12c24fa1189 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -28,6 +28,9 @@ CPP=@CPP@ | |||
| 28 | CFLAGS=@CFLAGS@ | 28 | CFLAGS=@CFLAGS@ |
| 29 | C_SWITCH_SYSTEM= | 29 | C_SWITCH_SYSTEM= |
| 30 | LN_S=@LN_S@ | 30 | LN_S=@LN_S@ |
| 31 | # These escaped doublequotes become part of the macro definition in emacs.c. | ||
| 32 | # Thus, the definition is a C string constant. | ||
| 33 | configuration=\"@configuration@\" | ||
| 31 | 34 | ||
| 32 | /* On Xenix and the IBM RS6000, double-dot gets screwed up. */ | 35 | /* On Xenix and the IBM RS6000, double-dot gets screwed up. */ |
| 33 | dot = . | 36 | dot = . |
| @@ -289,6 +292,10 @@ LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM | |||
| 289 | 292 | ||
| 290 | #if __GNUC__ > 1 | 293 | #if __GNUC__ > 1 |
| 291 | 294 | ||
| 295 | #ifdef LINKER | ||
| 296 | #define LINKER_WAS_SPECIFIED | ||
| 297 | #endif | ||
| 298 | |||
| 292 | /* Versions of GCC >= 2.0 put their library, libgcc.a, in obscure | 299 | /* Versions of GCC >= 2.0 put their library, libgcc.a, in obscure |
| 293 | places that are difficult to figure out at make time. Fortunately, | 300 | places that are difficult to figure out at make time. Fortunately, |
| 294 | these same versions allow you to pass arbitrary flags on to the | 301 | these same versions allow you to pass arbitrary flags on to the |
| @@ -309,12 +316,16 @@ LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM | |||
| 309 | 316 | ||
| 310 | GNULIB_VAR = LIB_GCC | 317 | GNULIB_VAR = LIB_GCC |
| 311 | 318 | ||
| 319 | #ifndef LINKER_WAS_SPECIFIED | ||
| 312 | /* GCC passes any argument prefixed with -Xlinker directly to the | 320 | /* GCC passes any argument prefixed with -Xlinker directly to the |
| 313 | linker. See prefix-args.c for an explanation of why we don't do | 321 | linker. See prefix-args.c for an explanation of why we don't do |
| 314 | this with the shell's `for' construct. | 322 | this with the shell's `for' construct. |
| 315 | Note that some people don't have '.' in their paths, so we must | 323 | Note that some people don't have '.' in their paths, so we must |
| 316 | use ./prefix-args. */ | 324 | use ./prefix-args. */ |
| 317 | #define YMF_PASS_LDFLAGS(flags) `./prefix-args -Xlinker flags` | 325 | #define YMF_PASS_LDFLAGS(flags) `./prefix-args -Xlinker flags` |
| 326 | #else | ||
| 327 | #define YMF_PASS_LDFLAGS(flags) flags | ||
| 328 | #endif | ||
| 318 | 329 | ||
| 319 | #else /* __GNUC__ < 2 */ | 330 | #else /* __GNUC__ < 2 */ |
| 320 | 331 | ||
| @@ -685,6 +696,7 @@ doc.o : doc.c $(config_h) paths.h buffer.h keyboard.h | |||
| 685 | doprnt.o : doprnt.c | 696 | doprnt.o : doprnt.c |
| 686 | editfns.o : editfns.c window.h buffer.h systime.h INTERVAL_SRC $(config_h) | 697 | editfns.o : editfns.c window.h buffer.h systime.h INTERVAL_SRC $(config_h) |
| 687 | emacs.o : emacs.c commands.h systty.h syssignal.h process.h INTERVAL_SRC $(config_h) | 698 | emacs.o : emacs.c commands.h systty.h syssignal.h process.h INTERVAL_SRC $(config_h) |
| 699 | $(CC) -c -DCONFIGURATION="$(configuration)" $(CPPFLAGS) $(ALL_CFLAGS) $< | ||
| 688 | fileio.o : fileio.c window.h buffer.h systime.h INTERVAL_SRC $(config_h) | 700 | fileio.o : fileio.c window.h buffer.h systime.h INTERVAL_SRC $(config_h) |
| 689 | filelock.o : filelock.c buffer.h paths.h $(config_h) | 701 | filelock.o : filelock.c buffer.h paths.h $(config_h) |
| 690 | filemode.o : filemode.c $(config_h) | 702 | filemode.o : filemode.c $(config_h) |