aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorJoakim Verona2010-08-17 23:19:11 +0200
committerJoakim Verona2010-08-17 23:19:11 +0200
commita8101f663e6cbff953b67b8bef33bc0171818477 (patch)
tree8f71a16188f75e91670e05379fb4de2d0136cbf4 /src/Makefile.in
parentfe72c5b4651334677326104ec138e7cdd50f2ffe (diff)
parent489cd5bd5a0128d6c3bee49fa2c451f2927ddea9 (diff)
downloademacs-a8101f663e6cbff953b67b8bef33bc0171818477.tar.gz
emacs-a8101f663e6cbff953b67b8bef33bc0171818477.zip
merge from trunk
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in36
1 files changed, 17 insertions, 19 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index fd95fe6d280..9ee5631ef70 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -64,6 +64,13 @@ OTHER_FILES = @OTHER_FILES@
64 64
65CRT_DIR=@CRT_DIR@ 65CRT_DIR=@CRT_DIR@
66 66
67## Flags to pass for profiling builds
68PROFILING_CFLAGS = @PROFILING_CFLAGS@
69PROFILING_LDFLAGS = @PROFILING_LDFLAGS@
70
71## Flags to pass to the compiler to enable build warnings
72C_WARNINGS_SWITCH = @C_WARNINGS_SWITCH@
73
67## Machine-specific CFLAGS. 74## Machine-specific CFLAGS.
68C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ 75C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
69## System-specific CFLAGS. 76## System-specific CFLAGS.
@@ -108,7 +115,7 @@ LD_SWITCH_SYSTEM_TEMACS=@LD_SWITCH_SYSTEM_TEMACS@
108## Flags to pass to ld only for temacs. 115## Flags to pass to ld only for temacs.
109TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS) 116TEMACS_LDFLAGS = $(LD_SWITCH_SYSTEM) $(LD_SWITCH_SYSTEM_TEMACS)
110 117
111## $LDFLAGS, or empty if NS_IMPL_GNUSTEP (for some reason). 118## $LDFLAGS $PROFILING_LDFLAGS, or empty if NS_IMPL_GNUSTEP (for some reason).
112TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@ 119TEMACS_LDFLAGS2 = @TEMACS_LDFLAGS2@
113 120
114## Some systems define this to request special libraries. 121## Some systems define this to request special libraries.
@@ -288,7 +295,7 @@ START_FILES = @START_FILES@
288 295
289UNEXEC_OBJ = @UNEXEC_OBJ@ 296UNEXEC_OBJ = @UNEXEC_OBJ@
290 297
291CANNOT_DUMP=@cannot_dump@ 298CANNOT_DUMP=@CANNOT_DUMP@
292 299
293DEPDIR=deps 300DEPDIR=deps
294## -MMD -MF ${DEPDIR}/$*.d if AUTO_DEPEND; else empty. 301## -MMD -MF ${DEPDIR}/$*.d if AUTO_DEPEND; else empty.
@@ -314,8 +321,9 @@ MKDEPDIR=@MKDEPDIR@
314ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} \ 321ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAGS) -I. -I${srcdir} \
315 ${C_SWITCH_MACHINE} ${C_SWITCH_SYSTEM} ${C_SWITCH_X_SITE} \ 322 ${C_SWITCH_MACHINE} ${C_SWITCH_SYSTEM} ${C_SWITCH_X_SITE} \
316 ${C_SWITCH_X_SYSTEM} ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${IMAGEMAGICK_CFLAGS} ${DBUS_CFLAGS} \ 323 ${C_SWITCH_X_SYSTEM} ${CFLAGS_SOUND} ${RSVG_CFLAGS} ${IMAGEMAGICK_CFLAGS} ${DBUS_CFLAGS} \
317 ${GCONF_CFLAGS} ${CFLAGS} ${FREETYPE_CFLAGS} ${FONTCONFIG_CFLAGS} \ 324 ${GCONF_CFLAGS} ${FREETYPE_CFLAGS} ${FONTCONFIG_CFLAGS} \
318 ${LIBOTF_CFLAGS} ${M17N_FLT_CFLAGS} ${DEPFLAGS} 325 ${LIBOTF_CFLAGS} ${M17N_FLT_CFLAGS} ${DEPFLAGS} ${PROFILING_CFLAGS} \
326 ${C_WARNINGS_SWITCH} ${CFLAGS}
319ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS) 327ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS)
320 328
321.SUFFIXES: .m 329.SUFFIXES: .m
@@ -431,7 +439,7 @@ lisp= \
431 ${lispsource}language/slovak.el \ 439 ${lispsource}language/slovak.el \
432 ${lispsource}language/romanian.el \ 440 ${lispsource}language/romanian.el \
433 ${lispsource}language/greek.el \ 441 ${lispsource}language/greek.el \
434 ${lispsource}language/hebrew.el \ 442 ${lispsource}language/hebrew.elc \
435 ${lispsource}language/japanese.el \ 443 ${lispsource}language/japanese.el \
436 ${lispsource}language/korean.el \ 444 ${lispsource}language/korean.el \
437 ${lispsource}language/lao.el \ 445 ${lispsource}language/lao.el \
@@ -522,7 +530,7 @@ shortlisp= \
522 ../lisp/language/slovak.el \ 530 ../lisp/language/slovak.el \
523 ../lisp/language/romanian.el \ 531 ../lisp/language/romanian.el \
524 ../lisp/language/greek.el \ 532 ../lisp/language/greek.el \
525 ../lisp/language/hebrew.el \ 533 ../lisp/language/hebrew.elc \
526 ../lisp/language/japanese.el \ 534 ../lisp/language/japanese.el \
527 ../lisp/language/korean.el \ 535 ../lisp/language/korean.el \
528 ../lisp/language/lao.el \ 536 ../lisp/language/lao.el \
@@ -633,20 +641,10 @@ buildobj.h: Makefile
633 echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h 641 echo "#define BUILDOBJ \"${obj} ${otherobj} " "\"" > buildobj.h
634 642
635 643
636## We cannot define variables for PRE_EDIT and POST_EDIT. 644temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj}
637## If !ORDINARY_LINK && !LINKER && GCC, they add a 645 $(LD) ${TEMACS_LDFLAGS} ${TEMACS_LDFLAGS2} \
638## `./prefix-args -Xlinker ... ` wrapper, otherwise they are empty.
639## One alternative to this approach would be to always call prefix-args,
640## and have it DTRT in all cases, by testing the above defines.
641temacs${EXEEXT}: $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} prefix-args${EXEEXT}
642 $(LD) @PRE_EDIT_LDFLAGS@ ${TEMACS_LDFLAGS} @POST_EDIT_LDFLAGS@ \
643 ${TEMACS_LDFLAGS2} \
644 -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES} 646 -o temacs ${START_FILES} ${obj} ${otherobj} ${LIBES}
645 647
646prefix-args${EXEEXT}: prefix-args.o $(config_h)
647 $(CC) $(LDFLAGS) prefix-args.o -o prefix-args
648
649
650## The following oldxmenu-related rules are only (possibly) used if 648## The following oldxmenu-related rules are only (possibly) used if
651## HAVE_X11 && !USE_GTK, but there is no harm in always defining them 649## HAVE_X11 && !USE_GTK, but there is no harm in always defining them
652## (provided we take a little care that OLDXMENU is never empty). 650## (provided we take a little care that OLDXMENU is never empty).
@@ -693,7 +691,7 @@ doc.o: buildobj.h
693 691
694 692
695mostlyclean: 693mostlyclean:
696 rm -f temacs${EXEEXT} prefix-args${EXEEXT} core *.core \#* *.o libXMenu11.a liblw.a 694 rm -f temacs${EXEEXT} core *.core \#* *.o libXMenu11.a liblw.a
697 rm -f ../etc/DOC 695 rm -f ../etc/DOC
698 rm -f bootstrap-emacs${EXEEXT} emacs-${version}${EXEEXT} 696 rm -f bootstrap-emacs${EXEEXT} emacs-${version}${EXEEXT}
699 rm -f buildobj.h 697 rm -f buildobj.h