comparison src/Makefile.in.in @ 167:85ec50267440 r20-3b10

Import from CVS: tag r20-3b10
author cvs
date Mon, 13 Aug 2007 09:45:46 +0200
parents 5a88923fcbfe
children 15872534500d
comparison
equal deleted inserted replaced
166:7a77eb660975 167:85ec50267440
273 #endif 273 #endif
274 274
275 LOADPATH = EMACSLOADPATH="${lispdir}prim" 275 LOADPATH = EMACSLOADPATH="${lispdir}prim"
276 DUMPENV = $(LOADPATH) 276 DUMPENV = $(LOADPATH)
277 277
278 release: temacs ${lisp} ${libsrc}DOC $(mo_file) ${other_files} 278 release: temacs ${libsrc}DOC $(mo_file) ${other_files}
279 #ifdef CANNOT_DUMP 279 #ifdef CANNOT_DUMP
280 ln temacs xemacs 280 ln temacs xemacs
281 #else 281 #else
282 #ifdef HAVE_SHM 282 #ifdef HAVE_SHM
283 -if [ -w ${srcdir}/../lisp ]; then \ 283 -if [ -w ${srcdir}/../lisp ]; then \
297 @$(RM) SATISFIED 297 @$(RM) SATISFIED
298 #endif /* ! defined (HAVE_SHM) */ 298 #endif /* ! defined (HAVE_SHM) */
299 touch release 299 touch release
300 #endif /* ! defined (CANNOT_DUMP) */ 300 #endif /* ! defined (CANNOT_DUMP) */
301 301
302 xemacs: temacs ${libsrc}DOC ${lisp} $(mo_file) ${other_files} 302 FRC.DOC:
303
304 xemacs: temacs ${libsrc}DOC $(mo_file) ${other_files} dump-elcs
303 @touch SATISFIED 305 @touch SATISFIED
304 -$(DUMPENV) ./temacs -batch -l loadup.el dump 306 -$(DUMPENV) ./temacs -batch -l loadup.el dump
305 @if test ! -f SATISFIED; then $(MAKE) $@; fi 307 @if test ! -f SATISFIED; then $(MAKE) $@; fi
306 @$(RM) SATISFIED 308 @$(RM) SATISFIED
307 309
308 xemacs-no-site-file: temacs ${libsrc}DOC ${lisp} $(mo_file) ${other_files} 310 xemacs-no-site-file: temacs ${libsrc}DOC $(mo_file) ${other_files} dump-elcs
309 @touch SATISFIED 311 @touch SATISFIED
310 -$(DUMPENV) ./temacs -batch -l loadup.el dump no-site-file 312 -$(DUMPENV) ./temacs -batch -l loadup.el dump no-site-file
311 @if test ! -f SATISFIED; then $(MAKE) $@; fi 313 @if test ! -f SATISFIED; then $(MAKE) $@; fi
312 @$(RM) SATISFIED 314 @$(RM) SATISFIED
313 315
317 dynodump_deps = ../dynodump/dynodump.so 319 dynodump_deps = ../dynodump/dynodump.so
318 ../dynodump/dynodump.so: 320 ../dynodump/dynodump.so:
319 cd ../dynodump && ${MAKE} ${MFLAGS} 321 cd ../dynodump && ${MAKE} ${MFLAGS}
320 #endif /* DYNODUMP */ 322 #endif /* DYNODUMP */
321 323
322 ${libsrc}DOC: 324 ${libsrc}DOC: ../lib-src/make-docfile FRC.DOC
323 $(RM) ${libsrc}DOC 325 #ifdef NO_DOC_FILE
326 if test -f $@; then touch $@ && exit 0; fi; \
327 #endif
324 -${DUMPENV} ./temacs -batch -l ../prim/make-docfile.el -- \ 328 -${DUMPENV} ./temacs -batch -l ../prim/make-docfile.el -- \
325 -o ${libsrc}DOC -d ${srcdir} -i ${libsrc}../site-packages \ 329 -o ${libsrc}DOC -d ${srcdir} -i ${libsrc}../site-packages \
326 ${obj_src} ${mallocdocsrc} ${rallocdocsrc} 330 ${obj_src} ${mallocdocsrc} ${rallocdocsrc}
327 331
328 dump_elcs: dump-elcs 332 dump_elcs: dump-elcs
346 xgettext= xgettext 350 xgettext= xgettext
347 xgettext_args= -s -d emacs -M_X messages 351 xgettext_args= -s -d emacs -M_X messages
348 msgfmt= msgfmt 352 msgfmt= msgfmt
349 #endif 353 #endif
350 354
351 ${mo_dir}emacs.po: ${libsrc}make-msgfile ${libsrc}make-po ${objs} ${lisp} 355 ${mo_dir}emacs.po: ${libsrc}make-msgfile ${libsrc}make-po ${objs}
352 ${libsrc}make-msgfile -o ${libsrc}messages ${objs} ${lisp} ${otherlisp} 356 ${libsrc}make-msgfile -o ${libsrc}messages ${objs}
353 cd ${libsrc} && ${xgettext} ${xgettext_args} 357 cd ${libsrc} && ${xgettext} ${xgettext_args}
354 $(RM) ${mo_dir}emacs.po 358 $(RM) ${mo_dir}emacs.po
355 cd ${libsrc} && ${libsrc}make-po -a ${mo_dir}emacs.po DOC 359 cd ${libsrc} && ${libsrc}make-po -a ${mo_dir}emacs.po DOC
356 360
357 ${mo_dir}emacs.mo: ${mo_dir}emacs.po 361 ${mo_dir}emacs.mo: ${mo_dir}emacs.po