aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorJuanma Barranquero2003-01-31 15:24:20 +0000
committerJuanma Barranquero2003-01-31 15:24:20 +0000
commitc60ee5e70f7ae20f1bbf7d0e2d36f40658f3dff1 (patch)
tree7d28300d64e41bf2aeed37bc8f1293f9fc52a36a /src/Makefile.in
parent2454c12d458c60b871f6f36c3fd6ba752aad61bf (diff)
downloademacs-c60ee5e70f7ae20f1bbf7d0e2d36f40658f3dff1.tar.gz
emacs-c60ee5e70f7ae20f1bbf7d0e2d36f40658f3dff1.zip
Cygwin support patch.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 320b3e5874a..9f8e13c5a0f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -525,7 +525,7 @@ LD=ld
525#endif /* not ORDINARY_LINK */ 525#endif /* not ORDINARY_LINK */
526 526
527/* Flags to pass to LD only for temacs. */ 527/* Flags to pass to LD only for temacs. */
528/* Don't split this line with a backslash. That can cause trouble with 528/* Don't split this line with a backslash. That can cause trouble with
529 some cpps. */ 529 some cpps. */
530TEMACS_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE LD_SWITCH_MACHINE_TEMACS LD_SWITCH_SITE 530TEMACS_LDFLAGS = LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_TEMACS LD_SWITCH_MACHINE LD_SWITCH_MACHINE_TEMACS LD_SWITCH_SITE
531 531
@@ -887,12 +887,12 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(LIBSOUND) \
887#define OBJECTS_MACHINE 887#define OBJECTS_MACHINE
888#endif 888#endif
889 889
890all: emacs OTHER_FILES 890all: emacs@EXEEXT@ OTHER_FILES
891 891
892emacs: temacs ${etc}DOC ${lisp} 892emacs@EXEEXT@: temacs@EXEEXT@ ${etc}DOC ${lisp}
893#ifdef CANNOT_DUMP 893#ifdef CANNOT_DUMP
894 rm -f emacs 894 rm -f emacs@EXEEXT@
895 ln temacs emacs 895 ln temacs@EXEEXT@ emacs@EXEEXT@
896#else 896#else
897#ifdef HAVE_SHM 897#ifdef HAVE_SHM
898 LC_ALL=C ./temacs -nl -batch -l loadup dump 898 LC_ALL=C ./temacs -nl -batch -l loadup dump
@@ -915,15 +915,15 @@ ${etc}DOC: ${libsrc}make-docfile ${obj} ${shortlisp} ${SOME_MACHINE_LISP}
915 ${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC 915 ${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC
916 ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp} 916 ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp}
917 917
918${libsrc}make-docfile: 918${libsrc}make-docfile@EXEEXT@:
919 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile 919 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile@EXEEXT@
920 920
921/* Some systems define this to cause parallel Make-ing. */ 921/* Some systems define this to cause parallel Make-ing. */
922#ifndef MAKE_PARALLEL 922#ifndef MAKE_PARALLEL
923#define MAKE_PARALLEL 923#define MAKE_PARALLEL
924#endif 924#endif
925 925
926temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args 926temacs@EXEEXT@: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_MACHINE prefix-args@EXEEXT@
927 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \ 927 $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${TEMACS_LDFLAGS}) $(LDFLAGS) \
928 -o temacs ${STARTFILES} ${obj} ${otherobj} \ 928 -o temacs ${STARTFILES} ${obj} ${otherobj} \
929 OBJECTS_MACHINE ${LIBES} 929 OBJECTS_MACHINE ${LIBES}
@@ -931,7 +931,7 @@ temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj
931/* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE 931/* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
932 often contain options that have to do with using Emacs's crt0, 932 often contain options that have to do with using Emacs's crt0,
933 which are only good with temacs. */ 933 which are only good with temacs. */
934prefix-args: prefix-args.c $(config_h) 934prefix-args@EXEEXT@: prefix-args.c $(config_h)
935 $(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args 935 $(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
936 936
937/* Don't lose if this was not defined. */ 937/* Don't lose if this was not defined. */
@@ -950,7 +950,7 @@ prefix-args: prefix-args.c $(config_h)
950 to both ensure that lwlib gets remade based on its dependencies 950 to both ensure that lwlib gets remade based on its dependencies
951 in its own makefile, 951 in its own makefile,
952 and remake temacs if lwlib gets changed by this. */ 952 and remake temacs if lwlib gets changed by this. */
953stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU) 953stamp-oldxmenu: ${OLDXMENU} ../src/$(OLDXMENU)
954 touch stamp-oldxmenu 954 touch stamp-oldxmenu
955/* Supply an ordering for parallel make. */ 955/* Supply an ordering for parallel make. */
956../src/$(OLDXMENU): ${OLDXMENU} 956../src/$(OLDXMENU): ${OLDXMENU}
@@ -1253,25 +1253,25 @@ macosx-bundle: ${emacsapp}Contents/Resources/English.lproj \
1253 ${emacsapp}Contents/Resources/English.lproj/InfoPlist.strings 1253 ${emacsapp}Contents/Resources/English.lproj/InfoPlist.strings
1254macosx-app: macosx-bundle ${emacsapp}Contents/MacOS/Emacs \ 1254macosx-app: macosx-bundle ${emacsapp}Contents/MacOS/Emacs \
1255 ${emacsapp}Contents/Resources/Emacs.rsrc 1255 ${emacsapp}Contents/Resources/Emacs.rsrc
1256${emacsapp}Contents/MacOS/Emacs: emacs 1256${emacsapp}Contents/MacOS/Emacs: emacs@EXEEXT@
1257 mkdir -p ${emacsapp}Contents/MacOS/; 1257 mkdir -p ${emacsapp}Contents/MacOS/;
1258 cd ${emacsapp}Contents/MacOS/; cp ../../../../src/emacs Emacs 1258 cd ${emacsapp}Contents/MacOS/; cp ../../../../src/emacs@EXEEXT@ Emacs@EXEEXT@
1259${emacsapp}Contents/Resources/Emacs.rsrc: ../mac/src/Emacs.r 1259${emacsapp}Contents/Resources/Emacs.rsrc: ../mac/src/Emacs.r
1260 /Developer/Tools/Rez -useDF \ 1260 /Developer/Tools/Rez -useDF \
1261 -o ${emacsapp}Contents/Resources/Emacs.rsrc \ 1261 -o ${emacsapp}Contents/Resources/Emacs.rsrc \
1262 /System/Library/Frameworks/Carbon.framework/Headers/Carbon.r $< 1262 /System/Library/Frameworks/Carbon.framework/Headers/Carbon.r $<
1263#endif 1263#endif
1264 1264
1265${libsrc}emacstool: ${libsrc}emacstool.c 1265${libsrc}emacstool@EXEEXT@: ${libsrc}emacstool.c
1266 cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool 1266 cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool@EXEEXT@
1267bootstrapclean: 1267bootstrapclean:
1268 rm -f bootstrap-emacs 1268 rm -f bootstrap-emacs@EXEEXT@
1269mostlyclean: 1269mostlyclean:
1270 rm -f temacs prefix-args core *.core \#* *.o libXMenu11.a liblw.a 1270 rm -f temacs@EXEEXT@ prefix-args@EXEEXT@ core *.core \#* *.o libXMenu11.a liblw.a
1271 rm -f ../etc/DOC 1271 rm -f ../etc/DOC
1272 rm -f bootstrap-emacs 1272 rm -f bootstrap-emacs@EXEEXT@
1273clean: mostlyclean 1273clean: mostlyclean
1274 rm -f emacs-* emacs 1274 rm -f emacs-*@EXEEXT@ emacs@EXEEXT@
1275/**/# This is used in making a distribution. 1275/**/# This is used in making a distribution.
1276/**/# Do not use it on development directories! 1276/**/# Do not use it on development directories!
1277distclean: clean 1277distclean: clean
@@ -1284,7 +1284,7 @@ maintainer-clean: distclean
1284 @echo "it deletes files that may require special tools to rebuild." 1284 @echo "it deletes files that may require special tools to rebuild."
1285 rm -f TAGS 1285 rm -f TAGS
1286versionclean: 1286versionclean:
1287 -rm -f emacs emacs-* ../etc/DOC* 1287 -rm -f emacs@EXEEXT@ emacs-* ../etc/DOC*
1288extraclean: distclean 1288extraclean: distclean
1289 -rm -f *~ \#* m/?*~ s/?*~ 1289 -rm -f *~ \#* m/?*~ s/?*~
1290 1290
@@ -1302,7 +1302,7 @@ relock:
1302/* Arrange to make a tags table TAGS-LISP for ../lisp, 1302/* Arrange to make a tags table TAGS-LISP for ../lisp,
1303 plus TAGS for the C files, which includes ../lisp/TAGS by reference. */ 1303 plus TAGS for the C files, which includes ../lisp/TAGS by reference. */
1304 1304
1305ctagsfiles1 = [xyzXYZ]*.[hc] 1305ctagsfiles1 = [xyzXYZ]*.[hc]
1306ctagsfiles2 = [a-wA-W]*.[hc] 1306ctagsfiles2 = [a-wA-W]*.[hc]
1307 1307
1308TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2) 1308TAGS: $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
@@ -1322,20 +1322,20 @@ tags: TAGS TAGS-LISP $(lwlibdir)TAGS
1322 1322
1323/* Bootstrapping. */ 1323/* Bootstrapping. */
1324 1324
1325bootstrap: bootstrap-emacs 1325bootstrap: bootstrap-emacs@EXEEXT@
1326 1326
1327/* Dump an Emacs executable named bootstrap-emacs containing the 1327/* Dump an Emacs executable named bootstrap-emacs containing the
1328 files from loadup.el in source form. */ 1328 files from loadup.el in source form. */
1329 1329
1330bootstrap-emacs: temacs 1330bootstrap-emacs@EXEEXT@: temacs@EXEEXT@
1331#ifdef CANNOT_DUMP 1331#ifdef CANNOT_DUMP
1332 ln temacs bootstrap-emacs 1332 ln temacs@EXEEXT@ bootstrap-emacs@EXEEXT@
1333#else 1333#else
1334#ifdef HAVE_SHM 1334#ifdef HAVE_SHM
1335 ./temacs -nl -batch -l loadup bootstrap 1335 ./temacs -nl -batch -l loadup bootstrap
1336#else /* ! defined (HAVE_SHM) */ 1336#else /* ! defined (HAVE_SHM) */
1337 ./temacs --batch --load loadup bootstrap 1337 ./temacs --batch --load loadup bootstrap
1338#endif /* ! defined (HAVE_SHM) */ 1338#endif /* ! defined (HAVE_SHM) */
1339 mv -f emacs@EXEEXT@ bootstrap-emacs@EXEEXT@
1339#endif /* ! defined (CANNOT_DUMP) */ 1340#endif /* ! defined (CANNOT_DUMP) */
1340 mv -f emacs bootstrap-emacs
1341 1341