diff options
| author | Glenn Morris | 2010-05-24 21:25:15 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-24 21:25:15 -0700 |
| commit | c345fe90206916a13a261bf7ec5827ccd4bd9147 (patch) | |
| tree | d69f7640c70abdf8dd6e1aab0c239b98855feb03 /src | |
| parent | 2e0689abafc503d1e07a9f970da68d9981baec21 (diff) | |
| download | emacs-c345fe90206916a13a261bf7ec5827ccd4bd9147.tar.gz emacs-c345fe90206916a13a261bf7ec5827ccd4bd9147.zip | |
Relocate NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
* src/Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
Move before TEMACS_LDFLAGS.
(TEMACS_LDFLAGS): Use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
(temacs${EXEEXT}): Do not use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/Makefile.in | 18 |
2 files changed, 13 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2908810322c..56879fff87c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2010-05-25 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-25 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): | ||
| 4 | Move before TEMACS_LDFLAGS. | ||
| 5 | (TEMACS_LDFLAGS): Use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. | ||
| 6 | (temacs${EXEEXT}): Do not use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. | ||
| 7 | |||
| 3 | * Makefile.in (NOT_C_CODE): No longer define. | 8 | * Makefile.in (NOT_C_CODE): No longer define. |
| 4 | (config.h): No longer include. | 9 | (config.h): No longer include. |
| 5 | 10 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index 7add9362427..50366b4703a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -111,8 +111,14 @@ LD_SWITCH_SYSTEM=@LD_SWITCH_SYSTEM@ | |||
| 111 | ## which are only good with temacs. | 111 | ## which are only good with temacs. |
| 112 | LD_SWITCH_SYSTEM_TEMACS=@LD_SWITCH_SYSTEM_TEMACS@ | 112 | LD_SWITCH_SYSTEM_TEMACS=@LD_SWITCH_SYSTEM_TEMACS@ |
| 113 | 113 | ||
| 114 | ## If NS_IMPL_GNUSTEP, some definitions and includes are expanded here. | ||
| 115 | @NS_IMPL_GNUSTEP_INC@ | ||
| 116 | |||
| 117 | ## This uses ${CONFIG_SYSTEM_LIBS} from @NS_IMPL_GNUSTEP_INC@. | ||
| 118 | NS_IMPL_GNUSTEP_TEMACS_LDFLAGS=@NS_IMPL_GNUSTEP_TEMACS_LDFLAGS@ | ||
| 119 | |||
| 114 | ## Flags to pass to ld only for temacs. | 120 | ## Flags to pass to ld only for temacs. |
| 115 | TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS) | 121 | TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS) $(NS_IMPL_GNUSTEP_TEMACS_LDFLAGS) |
| 116 | 122 | ||
| 117 | ## $LDFLAGS, or empty if NS_IMPL_GNUSTEP (for some reason). | 123 | ## $LDFLAGS, or empty if NS_IMPL_GNUSTEP (for some reason). |
| 118 | TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@ | 124 | TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@ |
| @@ -301,13 +307,6 @@ MKDEPDIR=@MKDEPDIR@ | |||
| 301 | # ========================== start of cpp stuff ======================= | 307 | # ========================== start of cpp stuff ======================= |
| 302 | /* From here on, comments must be done in C syntax. */ | 308 | /* From here on, comments must be done in C syntax. */ |
| 303 | 309 | ||
| 304 | /* If NS_IMPL_GNUSTEP, some definitions and includes are expanded here. */ | ||
| 305 | @NS_IMPL_GNUSTEP_INC@ | ||
| 306 | |||
| 307 | /* FIXME move to LD_SWITCH_SYSTEM_TEMACS? | ||
| 308 | This uses ${CONFIG_SYSTEM_LIBS}, presumably set by the above include. */ | ||
| 309 | NS_IMPL_GNUSTEP_TEMACS_LDFLAGS=@NS_IMPL_GNUSTEP_TEMACS_LDFLAGS@ | ||
| 310 | |||
| 311 | /* DO NOT use -R. There is a special hack described in lastfile.c | 310 | /* DO NOT use -R. There is a special hack described in lastfile.c |
| 312 | which is used instead. Some initialized data areas are modified | 311 | which is used instead. Some initialized data areas are modified |
| 313 | at initial startup, then labeled as part of the text area when | 312 | at initial startup, then labeled as part of the text area when |
| @@ -644,8 +643,7 @@ buildobj.h: Makefile | |||
| 644 | #define YMF_PASS_LDFLAGS(flags) @YMF_PASS_LDFLAGS@ | 643 | #define YMF_PASS_LDFLAGS(flags) @YMF_PASS_LDFLAGS@ |
| 645 | 644 | ||
| 646 | temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT} | 645 | temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT} |
| 647 | $(LD) YMF_PASS_LDFLAGS ( ${TEMACS_LDFLAGS} \ | 646 | $(LD) YMF_PASS_LDFLAGS ( ${TEMACS_LDFLAGS} ) \ |
| 648 | ${NS_IMPL_GNUSTEP_TEMACS_LDFLAGS} ) \ | ||
| 649 | ${TEMACS_LDFLAGS2} \ | 647 | ${TEMACS_LDFLAGS2} \ |
| 650 | -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES} | 648 | -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES} |
| 651 | 649 | ||