aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/Makefile.in18
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 @@
12010-05-25 Glenn Morris <rgm@gnu.org> 12010-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.
112LD_SWITCH_SYSTEM_TEMACS=@LD_SWITCH_SYSTEM_TEMACS@ 112LD_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@.
118NS_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.
115TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS) 121TEMACS_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).
118TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@ 124TEMACS_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. */
309NS_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
646temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT} 645temacs${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