comparison src/Makefile.in.in @ 4894:03ab78e48ef6

Add copyright and license information based on Ben's recollections. Remove two unused internationalization programs and associated Makefile rules. See message <870180fe1001281158n556cf90eib0d6abf34a4f83d4@mail.gmail.com> in xemacs-patches for more information.
author Jerry James <james@xemacs.org>
date Thu, 28 Jan 2010 12:59:48 -0700
parents 9873ea104ef6
children a6c778975d7d e813cf16c015
comparison
equal deleted inserted replaced
4893:99f2102552d7 4894:03ab78e48ef6
366 otherrtls = $(otherobjs:.o=.c.rtl) 366 otherrtls = $(otherobjs:.o=.c.rtl)
367 othersrcs = $(otherobjs:.o=.c) 367 othersrcs = $(otherobjs:.o=.c)
368 368
369 LIBES = $(lwlib_lib) $(malloclib) $(ld_libs_all) $(lib_gcc) 369 LIBES = $(lwlib_lib) $(malloclib) $(ld_libs_all) $(lib_gcc)
370 370
371 #ifdef I18N3
372 mo_file = $(LIB_SRC)/emacs.mo
373 #endif
374
375 ######################################################################### 371 #########################################################################
376 ## Implicit rules ## 372 ## Implicit rules ##
377 ######################################################################### 373 #########################################################################
378 374
379 ## For performance and consistency, no built-in rules. 375 ## For performance and consistency, no built-in rules.
661 cd .. && $(MAKE) $(RECURSIVE_MAKE_ARGS) 657 cd .. && $(MAKE) $(RECURSIVE_MAKE_ARGS)
662 658
663 ######################################################################### 659 #########################################################################
664 ## Subsidiary dependency rules ## 660 ## Subsidiary dependency rules ##
665 ######################################################################### 661 #########################################################################
666
667 #ifdef I18N3
668
669 # if defined(SPARC) && !defined(USG)
670 xgettext= /usr/openwin/bin/xgettext
671 xgettext_args= -o emacs -m_X messages
672 msgfmt= /usr/openwin/bin/msgfmt
673 # else
674 xgettext= xgettext
675 xgettext_args= -s -d emacs -M_X messages
676 msgfmt= msgfmt
677 #endif
678
679 $(LIB_SRC)/emacs.po: $(LIB_SRC)/make-msgfile $(LIB_SRC)/make-po $(objs)
680 $(LIB_SRC)/make-msgfile -o $(LIB_SRC)/messages $(objs)
681 cd $(LIB_SRC) && $(xgettext) $(xgettext_args)
682 $(RM) $(LIB_SRC)/emacs.po
683 cd $(LIB_SRC) && $(LIB_SRC)/make-po -a $(LIB_SRC)/emacs.po DOC
684
685 $(LIB_SRC)/emacs.mo: $(LIB_SRC)/emacs.po
686 cd $(LIB_SRC)/ && $(msgfmt) -o emacs.mo emacs.po
687
688 $(LIB_SRC)/make-msgfile:
689 cd $(LIB_SRC) && $(MAKE) $(RECURSIVE_MAKE_ARGS) make-msgfile
690
691 $(LIB_SRC)/make-po:
692 cd $(LIB_SRC) && $(MAKE) $(RECURSIVE_MAKE_ARGS) make-po
693
694 #endif /* I18N3 */
695 662
696 TopLevelEmacsShell.o : $(SRC)/EmacsShell-sub.c config.h xintrinsicp.h EmacsShellP.h 663 TopLevelEmacsShell.o : $(SRC)/EmacsShell-sub.c config.h xintrinsicp.h EmacsShellP.h
697 $(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(SRC)/EmacsShell-sub.c 664 $(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(SRC)/EmacsShell-sub.c
698 mv EmacsShell-sub.o TopLevelEmacsShell.o 665 mv EmacsShell-sub.o TopLevelEmacsShell.o
699 666