emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/mac/makefile.MPW


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] Changes to emacs/mac/makefile.MPW
Date: Fri, 04 Mar 2005 06:13:42 -0500

Index: emacs/mac/makefile.MPW
diff -c emacs/mac/makefile.MPW:1.10 emacs/mac/makefile.MPW:1.11
*** emacs/mac/makefile.MPW:1.10 Mon Dec 27 17:23:53 2004
--- emacs/mac/makefile.MPW      Fri Mar  4 11:13:42 2005
***************
*** 21,27 ****
  # Boston, MA 02111-1307, USA.  */
  #
  # Defines the following targets:
! #   Emacs (default) - normal Emacs build.
  #   Clean - remove all object and executable files to prepare for a fresh 
build.
  #   Doc - generate the "DOC" file in ~emacs/etc/.
  #   Make-DocFile - build the make-docfile tool, utility for generating "DOC".
--- 21,28 ----
  # Boston, MA 02111-1307, USA.  */
  #
  # Defines the following targets:
! #   Emacs (default) - normal Carbon Emacs build.
! #   NonCarbon - non-Carbon Emacs build.
  #   Clean - remove all object and executable files to prepare for a fresh 
build.
  #   Doc - generate the "DOC" file in ~emacs/etc/.
  #   Make-DocFile - build the make-docfile tool, utility for generating "DOC".
***************
*** 38,44 ****
--- 39,47 ----
  Make-DocFileDir = {Lib-Src}                   # directory containing 
make-docfile tool
  
  Makefile = makefile.MPW                       # self reference
+ NonCarbonMakeOut = NonCarbon.MakeOut  # temporary file for non-Carbon build 
script
  
+ CarbonOption = -d HAVE_CARBON
  SymOption = # -sym on                 # remove hash mark before "-sym on" to 
enable source debugging
  OptOption = # -opt speed                      # alternatively set to -opt off 
or -opt size
  
***************
*** 47,53 ****
  PPCCOptions = {SymOption} {OptOption} -noMapCR -enum int -alloca ¶
        -typecheck relaxed -w off ¶
        -includes unix -i {Includes},{Src} ¶
!       -d emacs=1 -d HAVE_CONFIG_H -d MAC_OS -d MAC_OS8
  
  LinkOptions = {SymOption} -d
  
--- 50,56 ----
  PPCCOptions = {SymOption} {OptOption} -noMapCR -enum int -alloca ¶
        -typecheck relaxed -w off ¶
        -includes unix -i {Includes},{Src} ¶
!       -d emacs=1 -d HAVE_CONFIG_H -d MAC_OS -d MAC_OS8 {CarbonOption}
  
  LinkOptions = {SymOption} -d
  
***************
*** 132,160 ****
        "{Src}macmenu.c.x" ¶
        "{Src}macterm.c.x"
  
  # The next two are the dependency rules for building Emacs.
  
  Emacs ÄÄ {Makefile} {DocTarget}DOC {EmacsObjects} {MacObjects}
        PPCLink ¶
                {LinkOptions} ¶
                {EmacsObjects} {MacObjects} ¶
!               "{SharedLibraries}InterfaceLib" ¶
!               "{SharedLibraries}StdCLib" ¶
!               "{SharedLibraries}MathLib" ¶
!               "{SharedLibraries}AppleScriptLib" ¶
!               "{SharedLibraries}TextEncodingConverter" ¶
!               "{SharedLibraries}AppearanceLib" ¶
!               "{SharedLibraries}QuickTimeLib" ¶
!               "{PPCLibraries}StdCRuntime.o" ¶
!               "{PPCLibraries}PPCCRuntime.o" ¶
!               "{PPCLibraries}PPCToolLibs.o" ¶
                -o "{EmacsTarget}"
  
  Emacs ÄÄ {Makefile} "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r
!       Rez -a "{Source}"Emacs.maclf.r -o "{EmacsTarget}"
!       Rez -a "{Source}"EmacsMPW.maclf.r -o "{EmacsTarget}"
        SetFile "{EmacsTarget}" -t APPL -c 'EMAx' -a B
  
  # Rez cannot handle files with Unix style end lines at all.  So generate
  # them.  It does not hurt if Emacs.r and EmacsMPW.r already have Mac end
  # lines.
--- 135,176 ----
        "{Src}macmenu.c.x" ¶
        "{Src}macterm.c.x"
  
+ StdLibraries = ¶
+       "{SharedLibraries}CarbonLib" ¶
+       "{SharedLibraries}StdCLib" ¶
+       "{PPCLibraries}StdCRuntime.o" ¶
+       "{PPCLibraries}PPCCRuntime.o"
+ 
+ NonCarbonLibs = ¶
+       "{SharedLibraries}InterfaceLib" ¶
+       "{SharedLibraries}StdCLib" ¶
+       "{SharedLibraries}MathLib" ¶
+       "{SharedLibraries}AppleScriptLib" ¶
+       "{SharedLibraries}TextEncodingConverter" ¶
+       "{SharedLibraries}AppearanceLib" ¶
+       "{SharedLibraries}QuickTimeLib" ¶
+       "{PPCLibraries}StdCRuntime.o" ¶
+       "{PPCLibraries}PPCCRuntime.o" ¶
+       "{PPCLibraries}PPCToolLibs.o"
+ 
  # The next two are the dependency rules for building Emacs.
  
  Emacs ÄÄ {Makefile} {DocTarget}DOC {EmacsObjects} {MacObjects}
        PPCLink ¶
                {LinkOptions} ¶
                {EmacsObjects} {MacObjects} ¶
!               {StdLibraries} ¶
                -o "{EmacsTarget}"
  
  Emacs ÄÄ {Makefile} "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r
!       Rez {CarbonOption} -a "{Source}"Emacs.maclf.r -o "{EmacsTarget}"
!       Rez {CarbonOption} -a "{Source}"EmacsMPW.maclf.r -o "{EmacsTarget}"
        SetFile "{EmacsTarget}" -t APPL -c 'EMAx' -a B
  
+ NonCarbon Ä
+       Make -f "{Makefile}" -d CarbonOption="" -d 
StdLibraries='{NonCarbonLibs}' > "{NonCarbonMakeOut}"
+       "{NonCarbonMakeOut}"
+ 
  # Rez cannot handle files with Unix style end lines at all.  So generate
  # them.  It does not hurt if Emacs.r and EmacsMPW.r already have Mac end
  # lines.
***************
*** 951,956 ****
--- 967,973 ----
        Delete -i stdout stderr
        Delete -i {Make-DocFile-Objects} {Make-DocFileDir}make-docfile
        Delete -i "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r
+       Delete -i "{NonCarbonMakeOut}"
  
  DistClean Ä Clean
        Delete -i "Emacs CW"Å




reply via email to

[Prev in Thread] Current Thread [Next in Thread]