comparison src/Makefile.in.in @ 80:1ce6082ce73f r20-0b90

Import from CVS: tag r20-0b90
author cvs
date Mon, 13 Aug 2007 09:06:37 +0200
parents c7528f8e288d
children 6a378aca36af
comparison
equal deleted inserted replaced
79:5b0a5bbffab6 80:1ce6082ce73f
308 # define SOUND_CFLAGS C_SWITCH_SITE -I/usr/demo/SOUND/include 308 # define SOUND_CFLAGS C_SWITCH_SITE -I/usr/demo/SOUND/include
309 # define SOUND_OBJS sunplay.o 309 # define SOUND_OBJS sunplay.o
310 # elif defined (SPARC) 310 # elif defined (SPARC)
311 # define SOUND_CFLAGS C_SWITCH_SITE -I/usr/demo/SOUND 311 # define SOUND_CFLAGS C_SWITCH_SITE -I/usr/demo/SOUND
312 # define SOUND_OBJS sunplay.o 312 # define SOUND_OBJS sunplay.o
313 # elif defined (IRIX4) || defined (IRIX5) 313 # elif defined (IRIX4) || defined (IRIX5) || defined (IRIX6)
314 # define SOUND_CFLAGS 314 # define SOUND_CFLAGS
315 # define SOUND_OBJS sgiplay.o 315 # define SOUND_OBJS sgiplay.o
316 # elif defined (hp9000s800) 316 # elif defined (hp9000s800)
317 # ifdef USE_GCC 317 # ifdef USE_GCC
318 # define SOUND_CFLAGS -Dconst= -Dvolatile= -I/usr/audio/examples 318 # define SOUND_CFLAGS -Dconst= -Dvolatile= -I/usr/audio/examples
551 /* We ignore mule-mcpath.o for the moment. */ 551 /* We ignore mule-mcpath.o for the moment. */
552 552
553 # ifdef HAVE_CANNA 553 # ifdef HAVE_CANNA
554 # define CANNA_OBJS mule-canna.o 554 # define CANNA_OBJS mule-canna.o
555 # define CANNA_OBJ_SRC ${muledirfromsrc}/mule-canna.c 555 # define CANNA_OBJ_SRC ${muledirfromsrc}/mule-canna.c
556 # define LIB_CANNA -lcanna 556 # define LIB_CANNA -lcanna -lRKC
557 # else 557 # else
558 # define CANNA_OBJS 558 # define CANNA_OBJS
559 # define CANNA_OBJ_SRC 559 # define CANNA_OBJ_SRC
560 # define LIB_CANNA 560 # define LIB_CANNA
561 # endif 561 # endif
1173 ${lispdir}eos/sun-eos-common.elc \ 1173 ${lispdir}eos/sun-eos-common.elc \
1174 ${lispdir}eos/sun-eos-editor.elc \ 1174 ${lispdir}eos/sun-eos-editor.elc \
1175 ${lispdir}eos/sun-eos-browser.elc \ 1175 ${lispdir}eos/sun-eos-browser.elc \
1176 ${lispdir}eos/sun-eos-debugger.elc \ 1176 ${lispdir}eos/sun-eos-debugger.elc \
1177 ${lispdir}eos/sun-eos-debugger-extra.elc \ 1177 ${lispdir}eos/sun-eos-debugger-extra.elc \
1178 ${lispdir}eos/sun-eos-toolbar.elc \
1179 ${lispdir}eos/sun-eos-menubar.elc \
1178 ${lispdir}comint/comint.elc \ 1180 ${lispdir}comint/comint.elc \
1179 ${lispdir}utils/ring.elc \ 1181 ${lispdir}utils/ring.elc \
1180 ${lispdir}eos/sun-eos-toolbar.elc \ 1182 ${lispdir}utils/annotations.elc \
1181 ${lispdir}eos/sun-eos-menubar.elc \ 1183 ${lispdir}modes/cc-mode.elc \
1182 ${lispdir}utils/annotations.elc 1184 ${lispdir}modes/imenu.elc \
1183 #else 1185 ${lispdir}utils/reporter.elc
1184 #define SUNPRO_LISP ${lispdir}prim/loaddefs.elc 1186 #else
1187 #define SUNPRO_LISP
1185 #endif 1188 #endif
1186 1189
1187 #ifdef TOOLTALK 1190 #ifdef TOOLTALK
1188 /* Lisp files preloaded if compiled with support for Tooltalk */ 1191 /* Lisp files preloaded if compiled with support for Tooltalk */
1189 #define TOOLTALK_LISP \ 1192 #define TOOLTALK_LISP \
1193 ${lispdir}tooltalk/tooltalk-load.elc \
1190 ${lispdir}tooltalk/tooltalk-macros.elc \ 1194 ${lispdir}tooltalk/tooltalk-macros.elc \
1191 ${lispdir}tooltalk/tooltalk-util.elc \ 1195 ${lispdir}tooltalk/tooltalk-util.elc \
1192 ${lispdir}tooltalk/tooltalk-init.elc 1196 ${lispdir}tooltalk/tooltalk-init.elc
1193 #else 1197 #else
1194 #define TOOLTALK_LISP 1198 #define TOOLTALK_LISP
1322 #ifdef CANNOT_DUMP 1326 #ifdef CANNOT_DUMP
1323 ln temacs xemacs 1327 ln temacs xemacs
1324 #else 1328 #else
1325 #ifdef HAVE_SHM 1329 #ifdef HAVE_SHM
1326 -if [ -w ${srcdir}/../lisp ]; then \ 1330 -if [ -w ${srcdir}/../lisp ]; then \
1327 w=`pwd`; cd ${srcdir}; $${w}/temacs -nl -batch -l inc-vers; \ 1331 w=`pwd`; cd ${srcdir} && $${w}/temacs -nl -batch -l inc-vers; \
1328 else true; fi 1332 else true; fi
1329 $(DUMPENV) ./temacs -nl -batch -l loadup.el dump 1333 $(DUMPENV) ./temacs -nl -batch -l loadup.el dump
1330 #else /* ! defined (HAVE_SHM) */ 1334 #else /* ! defined (HAVE_SHM) */
1331 -if [ -w ${srcdir}/../lisp ]; then \ 1335 -if [ -w ${srcdir}/../lisp ]; then \
1332 w=`pwd`; cd ${srcdir}; $${w}/temacs -batch -l inc-vers; \ 1336 w=`pwd`; cd ${srcdir} && $${w}/temacs -batch -l inc-vers; \
1333 else true; fi 1337 else true; fi
1334 $(DUMPENV) ./temacs -batch -l loadup.el dump 1338 $(DUMPENV) ./temacs -batch -l loadup.el dump
1335 #endif /* ! defined (HAVE_SHM) */ 1339 #endif /* ! defined (HAVE_SHM) */
1336 touch release 1340 touch release
1337 #endif /* ! defined (CANNOT_DUMP) */ 1341 #endif /* ! defined (CANNOT_DUMP) */
1361 1365
1362 dump_elcs: dump-elcs 1366 dump_elcs: dump-elcs
1363 1367
1364 dump-elcs: temacs 1368 dump-elcs: temacs
1365 $(LOADPATH) ./temacs -batch -l ../prim/update-elc.el $(lisp) $(otherlisp) 1369 $(LOADPATH) ./temacs -batch -l ../prim/update-elc.el $(lisp) $(otherlisp)
1370
1371 all-elc all-elcs:
1372 cd .. && $(MAKE) all-elc $(MFLAGS)
1366 1373
1367 #ifdef I18N3 1374 #ifdef I18N3
1368 1375
1369 # if defined(SPARC) && !defined(USG) 1376 # if defined(SPARC) && !defined(USG)
1370 xgettext= /usr/openwin/bin/xgettext 1377 xgettext= /usr/openwin/bin/xgettext
1376 msgfmt= msgfmt 1383 msgfmt= msgfmt
1377 #endif 1384 #endif
1378 1385
1379 ${modir}emacs.po: ${libsrc}make-msgfile ${libsrc}make-po ${objs} ${mule_objs} ${lisp} 1386 ${modir}emacs.po: ${libsrc}make-msgfile ${libsrc}make-po ${objs} ${mule_objs} ${lisp}
1380 ${libsrc}make-msgfile -o ${libsrc}messages ${objs} ${mule_objs} ${lisp} ${otherlisp} 1387 ${libsrc}make-msgfile -o ${libsrc}messages ${objs} ${mule_objs} ${lisp} ${otherlisp}
1381 cd ${libsrc}; ${xgettext} ${xgettext_args} 1388 cd ${libsrc} && ${xgettext} ${xgettext_args}
1382 rm -f ${modir}emacs.po 1389 rm -f ${modir}emacs.po
1383 cd ${libsrc}; ${libsrc}make-po -a ${modir}emacs.po DOC 1390 cd ${libsrc} && ${libsrc}make-po -a ${modir}emacs.po DOC
1384 1391
1385 ${modir}emacs.mo: ${modir}emacs.po 1392 ${modir}emacs.mo: ${modir}emacs.po
1386 cd ${modir}; ${msgfmt} -o emacs.mo emacs.po 1393 cd ${modir} && ${msgfmt} -o emacs.mo emacs.po
1387 1394
1388 ${libsrc}make-msgfile: 1395 ${libsrc}make-msgfile:
1389 cd ${libsrc}; ${MAKE} ${MFLAGS} make-msgfile 1396 cd ${libsrc} && ${MAKE} ${MFLAGS} make-msgfile
1390 1397
1391 ${libsrc}make-po: 1398 ${libsrc}make-po:
1392 cd ${libsrc}; ${MAKE} ${MFLAGS} make-po 1399 cd ${libsrc} && ${MAKE} ${MFLAGS} make-po
1393 1400
1394 #endif /* I18N3 */ 1401 #endif /* I18N3 */
1395 1402
1396 ${libsrc}make-docfile: 1403 ${libsrc}make-docfile:
1397 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile 1404 cd ${libsrc} && ${MAKE} ${MFLAGS} make-docfile
1398 1405
1399 /* Lint Section */ 1406 /* Lint Section */
1400 LINT.c=$(LINT) $(LINTFLAGS) $(LINTINCLUDES) 1407 LINT.c=$(LINT) $(LINTFLAGS) $(LINTINCLUDES)
1401 LINTFILES= $(objs:.o=.ln) 1408 LINTFILES= $(objs:.o=.ln)
1402 LINTINCLUDES = -Demacs -DHAVE_CONFIG_H $(MYCPPFLAG) -I. \ 1409 LINTINCLUDES = -Demacs -DHAVE_CONFIG_H $(MYCPPFLAG) -I. \
1409 $(LINT.c) $(LINTFILES) 1416 $(LINT.c) $(LINTFILES)
1410 /* end of Lint Section */ 1417 /* end of Lint Section */
1411 1418
1412 force: 1419 force:
1413 $(LWLIBBUILDDIR)/liblw.a: force 1420 $(LWLIBBUILDDIR)/liblw.a: force
1414 cd ${LWLIBBUILDDIR}; ${MAKE} ${MFLAGS} 1421 cd ${LWLIBBUILDDIR} && ${MAKE} ${MFLAGS}
1415 1422
1416 /* Some systems define this to cause parallel Make-ing. */ 1423 /* Some systems define this to cause parallel Make-ing. */
1417 #ifndef MAKE_PARALLEL 1424 #ifndef MAKE_PARALLEL
1418 #define MAKE_PARALLEL 1425 #define MAKE_PARALLEL
1419 #endif 1426 #endif
1561 1568
1562 /* These are needed for C compilation, on the systems that need them */ 1569 /* These are needed for C compilation, on the systems that need them */
1563 #ifdef NEED_CPP 1570 #ifdef NEED_CPP
1564 CPP = ./localcpp 1571 CPP = ./localcpp
1565 localcpp: 1572 localcpp:
1566 cd ${cppdir}; ${MAKE} ${MFLAGS} EMACS=-DEMACS 1573 cd ${cppdir} && ${MAKE} ${MFLAGS} EMACS=-DEMACS
1567 ln ${cppdir}cpp localcpp /* Name where ALL_CFLAGS will refer to it */ 1574 ln ${cppdir}cpp localcpp /* Name where ALL_CFLAGS will refer to it */
1568 /* cc appears to be cretinous and require all of these to exist 1575 /* cc appears to be cretinous and require all of these to exist
1569 if -B is specified -- we cannot use one local pass and let the 1576 if -B is specified -- we cannot use one local pass and let the
1570 others be the standard ones. What a loser. 1577 others be the standard ones. What a loser.
1571 We cannot even use ln, since they are probably 1578 We cannot even use ln, since they are probably
1578 CPP = $(CC) -E 1585 CPP = $(CC) -E
1579 #endif /* ! defined (NEED_CPP) */ 1586 #endif /* ! defined (NEED_CPP) */
1580 1587
1581 #ifdef SHORTNAMES 1588 #ifdef SHORTNAMES
1582 shortnames: 1589 shortnames:
1583 cd ${shortnamesdir}; ${MAKE} ${MFLAGS} 1590 cd ${shortnamesdir} && ${MAKE} ${MFLAGS}
1584 #endif 1591 #endif
1585 1592
1586 config.h: ${srcdir}/config.h.in 1593 config.h: ${srcdir}/config.h.in
1587 @echo "The file config.h needs to be set up from config.h.in." 1594 @echo "The file config.h needs to be set up from config.h.in."
1588 @echo "Consult the file \`INSTALL' for instructions for building Emacs." 1595 @echo "Consult the file \`INSTALL' for instructions for building Emacs."
1695 /* System-specific programs to be made. 1702 /* System-specific programs to be made.
1696 OTHER_FILES, OBJECTS_SYSTEM and OBJECTS_MACHINE 1703 OTHER_FILES, OBJECTS_SYSTEM and OBJECTS_MACHINE
1697 select which of these should be compiled. */ 1704 select which of these should be compiled. */
1698 1705
1699 ${libsrc}emacstool: ${libsrc}emacstool.c 1706 ${libsrc}emacstool: ${libsrc}emacstool.c
1700 cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool 1707 cd ${libsrc} && ${MAKE} ${MFLAGS} emacstool
1701 mostlyclean: 1708 mostlyclean:
1702 rm -f temacs puremacs quantmacs prefix-args xmakefile* core depend.* \#* *.o 1709 rm -f temacs puremacs quantmacs prefix-args xmakefile* core depend.* \#* *.o
1703 rm -f ${libsrc}DOC 1710 rm -f ${libsrc}DOC
1704 clean: mostlyclean 1711 clean: mostlyclean
1705 rm -f xemacs libextcli* 1712 rm -f xemacs libextcli*