diff options
| author | Karoly Lorentey | 2005-03-06 13:31:20 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-03-06 13:31:20 +0000 |
| commit | a0d878a9ccbfb7c68dd7cfbe05c2b71b9bd5c830 (patch) | |
| tree | 79ba80d6f6c4b787c60b36ebcd87c1b26f0906e1 /mac/makefile.MPW | |
| parent | ab455350da7728b0f8e1daf92c084092d8a04c29 (diff) | |
| parent | be6e87e51aaa3a114bc4ff2ceccbc7c9aa2b30d0 (diff) | |
| download | emacs-a0d878a9ccbfb7c68dd7cfbe05c2b71b9bd5c830.tar.gz emacs-a0d878a9ccbfb7c68dd7cfbe05c2b71b9bd5c830.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 34-36, 142-158)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-142
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-143
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-144
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-145
(make-text-button): Default button type if not specified
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-146
quick-install-emacs: Use mkdir --verbose only when requested
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-147
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-148
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-149
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-150
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-151
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-152
Add info/dir to arch branch
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-153
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-154
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-155
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-156
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-157
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-158
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-34
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-35
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-36
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-303
Diffstat (limited to 'mac/makefile.MPW')
| -rw-r--r-- | mac/makefile.MPW | 45 |
1 files changed, 31 insertions, 14 deletions
diff --git a/mac/makefile.MPW b/mac/makefile.MPW index 870052996b7..bd7ced4a14f 100644 --- a/mac/makefile.MPW +++ b/mac/makefile.MPW | |||
| @@ -21,7 +21,8 @@ | |||
| 21 | # Boston, MA 02111-1307, USA. */ | 21 | # Boston, MA 02111-1307, USA. */ |
| 22 | # | 22 | # |
| 23 | # Defines the following targets: | 23 | # Defines the following targets: |
| 24 | # Emacs (default) - normal Emacs build. | 24 | # Emacs (default) - normal Carbon Emacs build. |
| 25 | # NonCarbon - non-Carbon Emacs build. | ||
| 25 | # Clean - remove all object and executable files to prepare for a fresh build. | 26 | # Clean - remove all object and executable files to prepare for a fresh build. |
| 26 | # Doc - generate the "DOC" file in ~emacs/etc/. | 27 | # Doc - generate the "DOC" file in ~emacs/etc/. |
| 27 | # Make-DocFile - build the make-docfile tool, utility for generating "DOC". | 28 | # Make-DocFile - build the make-docfile tool, utility for generating "DOC". |
| @@ -38,7 +39,9 @@ Lisp = ::lisp: # emacs's lisp directory | |||
| 38 | Make-DocFileDir = {Lib-Src} # directory containing make-docfile tool | 39 | Make-DocFileDir = {Lib-Src} # directory containing make-docfile tool |
| 39 | 40 | ||
| 40 | Makefile = makefile.MPW # self reference | 41 | Makefile = makefile.MPW # self reference |
| 42 | NonCarbonMakeOut = NonCarbon.MakeOut # temporary file for non-Carbon build script | ||
| 41 | 43 | ||
| 44 | CarbonOption = -d HAVE_CARBON | ||
| 42 | SymOption = # -sym on # remove hash mark before "-sym on" to enable source debugging | 45 | SymOption = # -sym on # remove hash mark before "-sym on" to enable source debugging |
| 43 | OptOption = # -opt speed # alternatively set to -opt off or -opt size | 46 | OptOption = # -opt speed # alternatively set to -opt off or -opt size |
| 44 | 47 | ||
| @@ -47,7 +50,7 @@ OptOption = # -opt speed # alternatively set to -opt off or -opt size | |||
| 47 | PPCCOptions = {SymOption} {OptOption} -noMapCR -enum int -alloca ¶ | 50 | PPCCOptions = {SymOption} {OptOption} -noMapCR -enum int -alloca ¶ |
| 48 | -typecheck relaxed -w off ¶ | 51 | -typecheck relaxed -w off ¶ |
| 49 | -includes unix -i {Includes},{Src} ¶ | 52 | -includes unix -i {Includes},{Src} ¶ |
| 50 | -d emacs=1 -d HAVE_CONFIG_H -d MAC_OS -d MAC_OS8 | 53 | -d emacs=1 -d HAVE_CONFIG_H -d MAC_OS -d MAC_OS8 {CarbonOption} |
| 51 | 54 | ||
| 52 | LinkOptions = {SymOption} -d | 55 | LinkOptions = {SymOption} -d |
| 53 | 56 | ||
| @@ -132,29 +135,42 @@ MacObjects = ¶ | |||
| 132 | "{Src}macmenu.c.x" ¶ | 135 | "{Src}macmenu.c.x" ¶ |
| 133 | "{Src}macterm.c.x" | 136 | "{Src}macterm.c.x" |
| 134 | 137 | ||
| 138 | StdLibraries = ¶ | ||
| 139 | "{SharedLibraries}CarbonLib" ¶ | ||
| 140 | "{SharedLibraries}StdCLib" ¶ | ||
| 141 | "{PPCLibraries}StdCRuntime.o" ¶ | ||
| 142 | "{PPCLibraries}PPCCRuntime.o" | ||
| 143 | |||
| 144 | NonCarbonLibs = ¶ | ||
| 145 | "{SharedLibraries}InterfaceLib" ¶ | ||
| 146 | "{SharedLibraries}StdCLib" ¶ | ||
| 147 | "{SharedLibraries}MathLib" ¶ | ||
| 148 | "{SharedLibraries}AppleScriptLib" ¶ | ||
| 149 | "{SharedLibraries}TextEncodingConverter" ¶ | ||
| 150 | "{SharedLibraries}AppearanceLib" ¶ | ||
| 151 | "{SharedLibraries}QuickTimeLib" ¶ | ||
| 152 | "{PPCLibraries}StdCRuntime.o" ¶ | ||
| 153 | "{PPCLibraries}PPCCRuntime.o" ¶ | ||
| 154 | "{PPCLibraries}PPCToolLibs.o" | ||
| 155 | |||
| 135 | # The next two are the dependency rules for building Emacs. | 156 | # The next two are the dependency rules for building Emacs. |
| 136 | 157 | ||
| 137 | Emacs ÄÄ {Makefile} {DocTarget}DOC {EmacsObjects} {MacObjects} | 158 | Emacs ÄÄ {Makefile} {DocTarget}DOC {EmacsObjects} {MacObjects} |
| 138 | PPCLink ¶ | 159 | PPCLink ¶ |
| 139 | {LinkOptions} ¶ | 160 | {LinkOptions} ¶ |
| 140 | {EmacsObjects} {MacObjects} ¶ | 161 | {EmacsObjects} {MacObjects} ¶ |
| 141 | "{SharedLibraries}InterfaceLib" ¶ | 162 | {StdLibraries} ¶ |
| 142 | "{SharedLibraries}StdCLib" ¶ | ||
| 143 | "{SharedLibraries}MathLib" ¶ | ||
| 144 | "{SharedLibraries}AppleScriptLib" ¶ | ||
| 145 | "{SharedLibraries}TextEncodingConverter" ¶ | ||
| 146 | "{SharedLibraries}AppearanceLib" ¶ | ||
| 147 | "{SharedLibraries}QuickTimeLib" ¶ | ||
| 148 | "{PPCLibraries}StdCRuntime.o" ¶ | ||
| 149 | "{PPCLibraries}PPCCRuntime.o" ¶ | ||
| 150 | "{PPCLibraries}PPCToolLibs.o" ¶ | ||
| 151 | -o "{EmacsTarget}" | 163 | -o "{EmacsTarget}" |
| 152 | 164 | ||
| 153 | Emacs ÄÄ {Makefile} "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r | 165 | Emacs ÄÄ {Makefile} "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r |
| 154 | Rez -a "{Source}"Emacs.maclf.r -o "{EmacsTarget}" | 166 | Rez {CarbonOption} -a "{Source}"Emacs.maclf.r -o "{EmacsTarget}" |
| 155 | Rez -a "{Source}"EmacsMPW.maclf.r -o "{EmacsTarget}" | 167 | Rez {CarbonOption} -a "{Source}"EmacsMPW.maclf.r -o "{EmacsTarget}" |
| 156 | SetFile "{EmacsTarget}" -t APPL -c 'EMAx' -a B | 168 | SetFile "{EmacsTarget}" -t APPL -c 'EMAx' -a B |
| 157 | 169 | ||
| 170 | NonCarbon Ä | ||
| 171 | Make -f "{Makefile}" -d CarbonOption="" -d StdLibraries='{NonCarbonLibs}' > "{NonCarbonMakeOut}" | ||
| 172 | "{NonCarbonMakeOut}" | ||
| 173 | |||
| 158 | # Rez cannot handle files with Unix style end lines at all. So generate | 174 | # Rez cannot handle files with Unix style end lines at all. So generate |
| 159 | # them. It does not hurt if Emacs.r and EmacsMPW.r already have Mac end | 175 | # them. It does not hurt if Emacs.r and EmacsMPW.r already have Mac end |
| 160 | # lines. | 176 | # lines. |
| @@ -951,6 +967,7 @@ Clean Ä | |||
| 951 | Delete -i stdout stderr | 967 | Delete -i stdout stderr |
| 952 | Delete -i {Make-DocFile-Objects} {Make-DocFileDir}make-docfile | 968 | Delete -i {Make-DocFile-Objects} {Make-DocFileDir}make-docfile |
| 953 | Delete -i "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r | 969 | Delete -i "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r |
| 970 | Delete -i "{NonCarbonMakeOut}" | ||
| 954 | 971 | ||
| 955 | DistClean Ä Clean | 972 | DistClean Ä Clean |
| 956 | Delete -i "Emacs CW"Å | 973 | Delete -i "Emacs CW"Å |