aboutsummaryrefslogtreecommitdiffstats
path: root/mac/makefile.MPW
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-05-13 08:50:27 +0000
committerYAMAMOTO Mitsuharu2005-05-13 08:50:27 +0000
commit66b8e07b28ba264dddbe36a036225879c8d8b4a1 (patch)
treeb3fc39ca48632ba967c3b7847790dd45560ac1bd /mac/makefile.MPW
parent29b78ea8f60868cc0eb11016c74632d2a3060a20 (diff)
downloademacs-66b8e07b28ba264dddbe36a036225879c8d8b4a1.tar.gz
emacs-66b8e07b28ba264dddbe36a036225879c8d8b4a1.zip
(buildobj.lst): New target.
(Clean): Delete file buildobj.lst. (Emacs, {DocTarget}DOC): Depend on buildobj.lst. (EmacsSource, MacSource, LispSource, LispSourceDontCompile): Remove variables. (SOME_MACHINE_OBJECTS, shortlisp, SOME_MACHINE_LISP): New variables. ({DocTarget}DOC): Use them. (Make-DocFile-PPCCOptions): Add `-d MAC_OS -d MAC_OS8'.
Diffstat (limited to 'mac/makefile.MPW')
-rw-r--r--mac/makefile.MPW170
1 files changed, 62 insertions, 108 deletions
diff --git a/mac/makefile.MPW b/mac/makefile.MPW
index e7c7e438973..76217d24101 100644
--- a/mac/makefile.MPW
+++ b/mac/makefile.MPW
@@ -26,8 +26,6 @@
26# 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.
27# Doc - generate the "DOC" file in ~emacs/etc/. 27# Doc - generate the "DOC" file in ~emacs/etc/.
28# Make-DocFile - build the make-docfile tool, utility for generating "DOC". 28# Make-DocFile - build the make-docfile tool, utility for generating "DOC".
29# PrepSource - prepare the source files after unstuffing the distribution.
30# PrepDist - prepare for distribution: generate diff files; move mac-win.el to {Patches}.
31 29
32Src = ::src: # emacs's src directory 30Src = ::src: # emacs's src directory
33Includes = :inc: # mac includes directory (common for MPW and CW) 31Includes = :inc: # mac includes directory (common for MPW and CW)
@@ -156,7 +154,7 @@ NonCarbonLibs = ¶
156 154
157# The next two are the dependency rules for building Emacs. 155# The next two are the dependency rules for building Emacs.
158 156
159Emacs ÄÄ {Makefile} {DocTarget}DOC {EmacsObjects} {MacObjects} 157Emacs ÄÄ {Makefile} buildobj.lst {DocTarget}DOC {EmacsObjects} {MacObjects}
160 PPCLink ¶ 158 PPCLink ¶
161 {LinkOptions} ¶ 159 {LinkOptions} ¶
162 {EmacsObjects} {MacObjects} ¶ 160 {EmacsObjects} {MacObjects} ¶
@@ -182,6 +180,9 @@ NonCarbon Ä
182"{Source}"EmacsMPW.maclf.r Ä "{Source}"EmacsMPW.r 180"{Source}"EmacsMPW.maclf.r Ä "{Source}"EmacsMPW.r
183 translate ¶0x0a ¶n < "{Source}"EmacsMPW.r > "{Source}"EmacsMPW.maclf.r 181 translate ¶0x0a ¶n < "{Source}"EmacsMPW.r > "{Source}"EmacsMPW.maclf.r
184 182
183buildobj.lst Ä
184 Echo "{EmacsObjects} {MacObjects}" | StreamEdit -e '1,$ Replace -c ° /[Â ]*:([Â: ]*)¨1.c.x/ ¨1".o"' > buildobj.lst
185
185# Here comes a long boring list of rules saying which files depend on which 186# Here comes a long boring list of rules saying which files depend on which
186# other ones. I generated them by hand using the "-p" option of the MrC compiler. 187# other ones. I generated them by hand using the "-p" option of the MrC compiler.
187# Know about MakeMake, but this is probably more accurate. 188# Know about MakeMake, but this is probably more accurate.
@@ -984,6 +985,7 @@ Clean Ä
984 Delete -i {Make-DocFile-Objects} {Make-DocFileDir}make-docfile 985 Delete -i {Make-DocFile-Objects} {Make-DocFileDir}make-docfile
985 Delete -i "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r 986 Delete -i "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r
986 Delete -i "{NonCarbonMakeOut}" 987 Delete -i "{NonCarbonMakeOut}"
988 Delete -i buildobj.lst
987 989
988DistClean Ä Clean 990DistClean Ä Clean
989 Delete -i "Emacs CW"Å 991 Delete -i "Emacs CW"Å
@@ -994,96 +996,21 @@ DistClean Ä Clean
994# Variables and rules for target "Doc" # 996# Variables and rules for target "Doc" #
995#--------------------------------------# 997#--------------------------------------#
996 998
997EmacsSource = ¶ 999SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o ¶
998 "{Src}abbrev.c" ¶ 1000 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o ¶
999 "{Src}alloc.c" ¶ 1001 mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o ¶
1000 "{Src}atimer.c" ¶ 1002 w32.o w32bdf.o w32console.o w32fns.o w32heap.o w32inevt.o ¶
1001 "{Src}buffer.c" ¶ 1003 w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o
1002 "{Src}bytecode.c" ¶ 1004
1003 "{Src}callint.c" ¶ 1005shortlisp = ¶
1004 "{Src}callproc.c" ¶
1005 "{Src}casefiddle.c" ¶
1006 "{Src}casetab.c" ¶
1007 "{Src}category.c" ¶
1008 "{Src}ccl.c" ¶
1009 "{Src}charset.c" ¶
1010 "{Src}cm.c" ¶
1011 "{Src}cmds.c" ¶
1012 "{Src}coding.c" ¶
1013 "{Src}composite.c" ¶
1014 "{Src}data.c" ¶
1015 "{Src}dired.c" ¶
1016 "{Src}dispnew.c" ¶
1017 "{Src}doc.c" ¶
1018 "{Src}doprnt.c" ¶
1019 "{Src}editfns.c" ¶
1020 "{Src}emacs.c" ¶
1021 "{Src}eval.c" ¶
1022 "{Src}fileio.c" ¶
1023 "{Src}filemode.c" ¶
1024 "{Src}floatfns.c" ¶
1025 "{Src}fns.c" ¶
1026 "{Src}fontset.c" ¶
1027 "{Src}frame.c" ¶
1028 "{Src}fringe.c" ¶
1029 "{Src}getloadavg.c" ¶
1030 "{Src}image.c" ¶
1031 "{Src}indent.c" ¶
1032 "{Src}insdel.c" ¶
1033 "{Src}intervals.c" ¶
1034 "{Src}keyboard.c" ¶
1035 "{Src}keymap.c" ¶
1036 "{Src}lastfile.c" ¶
1037 "{Src}lread.c" ¶
1038 "{Src}macros.c" ¶
1039 "{Src}marker.c" ¶
1040 "{Src}minibuf.c" ¶
1041 "{Src}mktime.c" ¶
1042 "{Src}print.c" ¶
1043 "{Src}process.c" ¶
1044 "{Src}regex.c" ¶
1045 "{Src}region-cache.c" ¶
1046 "{Src}scroll.c" ¶
1047 "{Src}search.c" ¶
1048 "{Src}strftime.c" ¶
1049 "{Src}syntax.c" ¶
1050 "{Src}sysdep.c" ¶
1051 "{Src}term.c" ¶
1052 "{Src}termcap.c" ¶
1053 "{Src}textprop.c" ¶
1054 "{Src}tparam.c" ¶
1055 "{Src}undo.c" ¶
1056 "{Src}window.c" ¶
1057 "{Src}xdisp.c" ¶
1058 "{Src}xfaces.c" ¶
1059 "{Src}xmenu.c"
1060
1061MacSource = ¶
1062 "{Src}mac.c" ¶
1063 "{Src}macfns.c" ¶
1064 "{Src}macterm.c"
1065
1066
1067LispSource = ¶
1068 {Lisp}menu-bar.elc ¶
1069 {Lisp}mouse.elc ¶
1070 {Lisp}select.elc ¶
1071 {Lisp}scroll-bar.elc ¶
1072 {Lisp}vmsproc.elc ¶
1073 {Lisp}vms-patch.elc ¶
1074 {Lisp}ls-lisp.elc ¶
1075 {Lisp}dos-fns.elc ¶
1076 {Lisp}w32-fns.elc ¶
1077 {Lisp}dos-w32.elc ¶
1078 {Lisp}disp-table.elc ¶
1079 {Lisp}dos-vars.elc ¶
1080 {Lisp}international:ccl.elc ¶
1081 {Lisp}international:codepage.elc ¶
1082 {Lisp}abbrev.elc ¶ 1006 {Lisp}abbrev.elc ¶
1083 {Lisp}buff-menu.elc ¶ 1007 {Lisp}buff-menu.elc ¶
1008 {Lisp}button.elc ¶
1084 {Lisp}emacs-lisp:byte-run.elc ¶ 1009 {Lisp}emacs-lisp:byte-run.elc ¶
1085 {Lisp}cus-start.el ¶ 1010 {Lisp}cus-face.elc ¶
1011 {Lisp}cus-start.elc ¶
1086 {Lisp}custom.elc ¶ 1012 {Lisp}custom.elc ¶
1013 {Lisp}emacs-lisp:backquote.elc ¶
1087 {Lisp}emacs-lisp:lisp-mode.elc ¶ 1014 {Lisp}emacs-lisp:lisp-mode.elc ¶
1088 {Lisp}emacs-lisp:lisp.elc ¶ 1015 {Lisp}emacs-lisp:lisp.elc ¶
1089 {Lisp}facemenu.elc ¶ 1016 {Lisp}facemenu.elc ¶
@@ -1099,18 +1026,47 @@ LispSource = ¶
1099 {Lisp}loaddefs.el ¶ 1026 {Lisp}loaddefs.el ¶
1100 {Lisp}bindings.elc ¶ 1027 {Lisp}bindings.elc ¶
1101 {Lisp}emacs-lisp:map-ynp.elc ¶ 1028 {Lisp}emacs-lisp:map-ynp.elc ¶
1029 {Lisp}env.elc ¶
1102 {Lisp}international:mule.elc ¶ 1030 {Lisp}international:mule.elc ¶
1103 {Lisp}international:mule-conf.el ¶ 1031 {Lisp}international:mule-conf.el ¶
1104 {Lisp}international:mule-cmds.elc ¶ 1032 {Lisp}international:mule-cmds.elc ¶
1105 {Lisp}international:characters.elc ¶ 1033 {Lisp}international:characters.elc ¶
1034 {Lisp}international:ucs-tables.elc ¶
1035 {Lisp}international:utf-8.elc ¶
1036 {Lisp}international:utf-16.elc ¶
1037 {Lisp}international:latin-1.el ¶
1038 {Lisp}international:latin-2.el ¶
1039 {Lisp}international:latin-3.el ¶
1040 {Lisp}international:latin-4.el ¶
1041 {Lisp}international:latin-5.el ¶
1042 {Lisp}international:latin-8.el ¶
1043 {Lisp}international:latin-9.el ¶
1106 {Lisp}case-table.elc ¶ 1044 {Lisp}case-table.elc ¶
1107 {Lisp}language:chinese.elc ¶ 1045 {Lisp}language:chinese.elc ¶
1108 {Lisp}language:cyrillic.elc ¶ 1046 {Lisp}language:cyrillic.elc ¶
1109 {Lisp}language:indian.elc ¶ 1047 {Lisp}language:indian.elc ¶
1048 {Lisp}language:devanagari.el ¶
1049 {Lisp}language:kannada.el ¶
1050 {Lisp}language:malayalam.el ¶
1051 {Lisp}language:tamil.el ¶
1052 {Lisp}language:english.el ¶
1110 {Lisp}language:ethiopic.elc ¶ 1053 {Lisp}language:ethiopic.elc ¶
1111 {Lisp}language:european.elc ¶ 1054 {Lisp}language:european.elc ¶
1055 {Lisp}language:czech.el ¶
1056 {Lisp}language:slovak.el ¶
1057 {Lisp}language:romanian.el ¶
1058 {Lisp}language:greek.el ¶
1059 {Lisp}language:hebrew.el ¶
1060 {Lisp}language:japanese.el ¶
1061 {Lisp}language:korean.el ¶
1062 {Lisp}language:lao.el ¶
1063 {Lisp}language:thai.el ¶
1112 {Lisp}language:tibetan.elc ¶ 1064 {Lisp}language:tibetan.elc ¶
1113 {Lisp}language:vietnamese.elc ¶ 1065 {Lisp}language:vietnamese.elc ¶
1066 {Lisp}language:misc-lang.el ¶
1067 {Lisp}language:utf-8-lang.el ¶
1068 {Lisp}language:georgian.el ¶
1069 {Lisp}menu-bar.elc ¶
1114 {Lisp}paths.el ¶ 1070 {Lisp}paths.el ¶
1115 {Lisp}register.elc ¶ 1071 {Lisp}register.elc ¶
1116 {Lisp}replace.elc ¶ 1072 {Lisp}replace.elc ¶
@@ -1118,37 +1074,34 @@ LispSource = ¶
1118 {Lisp}startup.elc ¶ 1074 {Lisp}startup.elc ¶
1119 {Lisp}subr.elc ¶ 1075 {Lisp}subr.elc ¶
1120 {Lisp}term:tty-colors.elc ¶ 1076 {Lisp}term:tty-colors.elc ¶
1077 {Lisp}font-core.elc ¶
1121 {Lisp}textmodes:fill.elc ¶ 1078 {Lisp}textmodes:fill.elc ¶
1122 {Lisp}textmodes:page.elc ¶ 1079 {Lisp}textmodes:page.elc ¶
1123 {Lisp}textmodes:paragraphs.elc ¶ 1080 {Lisp}textmodes:paragraphs.elc ¶
1124 {Lisp}textmodes:text-mode.elc ¶ 1081 {Lisp}textmodes:text-mode.elc ¶
1082 {Lisp}emacs-lisp:timer.elc ¶
1125 {Lisp}vc-hooks.elc ¶ 1083 {Lisp}vc-hooks.elc ¶
1084 {Lisp}jka-cmpr-hook.elc ¶
1126 {Lisp}ediff-hook.elc ¶ 1085 {Lisp}ediff-hook.elc ¶
1127 {Lisp}widget.elc ¶ 1086 {Lisp}widget.elc ¶
1128 {Lisp}window.elc ¶ 1087 {Lisp}window.elc ¶
1129 {Lisp}version.el 1088 {Lisp}version.el
1130 1089
1131LispSourceDontCompile = ¶ 1090SOME_MACHINE_LISP = {Lisp}mouse.elc ¶
1132 {Lisp}language:devanagari.el ¶ 1091 {Lisp}select.elc {Lisp}scroll-bar.elc ¶
1133 {Lisp}language:english.el ¶ 1092 {Lisp}vmsproc.elc {Lisp}vms-patch.elc ¶
1134 {Lisp}language:czech.el ¶ 1093 {Lisp}ls-lisp.elc {Lisp}dos-fns.elc ¶
1135 {Lisp}language:slovak.el ¶ 1094 {Lisp}w32-fns.elc {Lisp}dos-w32.elc ¶
1136 {Lisp}language:romanian.el ¶ 1095 {Lisp}disp-table.elc {Lisp}dos-vars.elc ¶
1137 {Lisp}language:greek.el ¶ 1096 {Lisp}tooltip.elc ¶
1138 {Lisp}language:hebrew.el ¶ 1097 {Lisp}international:ccl.elc ¶
1139 {Lisp}language:japanese.el ¶ 1098 {Lisp}international:codepage.elc
1140 {Lisp}language:korean.el ¶
1141 {Lisp}language:lao.el ¶
1142 {Lisp}language:thai.el ¶
1143 {Lisp}language:misc-lang.el
1144 1099
1145Doc Ä {DocTarget}DOC 1100Doc Ä {DocTarget}DOC
1146 1101
1147{DocTarget}DOC Ä {Makefile} {EmacsSource} {MacSource} {LispSource} {LispSourceDontCompile} {Make-DocFileDir}Make-DocFile 1102{DocTarget}DOC Ä {Makefile} {shortlisp} {SOME_MACHINE_LISP} {Make-DocFileDir}Make-DocFile buildobj.lst
1148 {Make-DocFileDir}make-docfile {EmacsSource} > {DocTarget}DOC 1103 {Make-DocFileDir}make-docfile -d {Src} {SOME_MACHINE_OBJECTS} `Catenate buildobj.lst` > {DocTarget}DOC
1149 {Make-DocFileDir}make-docfile {MacSource} >> {DocTarget}DOC 1104 {Make-DocFileDir}make-docfile -a {DocTarget}DOC -d {Src} {SOME_MACHINE_LISP} {shortlisp}
1150 {Make-DocFileDir}make-docfile {LispSource} >> {DocTarget}DOC
1151 {Make-DocFileDir}make-docfile {LispSourceDontCompile} >> {DocTarget}DOC
1152 1105
1153 1106
1154#-----------------------------------------------# 1107#-----------------------------------------------#
@@ -1159,7 +1112,8 @@ Make-DocFile-Includes = -i :inc:
1159Make-DocFile-Sym = 1112Make-DocFile-Sym =
1160 1113
1161Make-DocFile-PPCCOptions = -typecheck relaxed -w off -noMapCR ¶ 1114Make-DocFile-PPCCOptions = -typecheck relaxed -w off -noMapCR ¶
1162 {Make-DocFile-Includes} {Make-DocFile-Sym} 1115 -d MAC_OS -d MAC_OS8 ¶
1116 {Make-DocFile-Includes} {Make-DocFile-Sym}
1163 1117
1164Make-DocFile-Objects = ¶ 1118Make-DocFile-Objects = ¶
1165 "{Lib-Src}make-docfile.c.x" ¶ 1119 "{Lib-Src}make-docfile.c.x" ¶