26 |
# Clean - remove all object and executable files to prepare for a fresh build. |
# Clean - remove all object and executable files to prepare for a fresh build. |
27 |
# Doc - generate the "DOC" file in ~emacs/etc/. |
# Doc - generate the "DOC" file in ~emacs/etc/. |
28 |
# Make-DocFile - build the make-docfile tool, utility for generating "DOC". |
# Make-DocFile - build the make-docfile tool, utility for generating "DOC". |
|
# PrepSource - prepare the source files after unstuffing the distribution. |
|
|
# PrepDist - prepare for distribution: generate diff files; move mac-win.el to {Patches}. |
|
29 |
|
|
30 |
Src = ::src: # emacs's src directory |
Src = ::src: # emacs's src directory |
31 |
Includes = :inc: # mac includes directory (common for MPW and CW) |
Includes = :inc: # mac includes directory (common for MPW and CW) |
154 |
|
|
155 |
# The next two are the dependency rules for building Emacs. |
# The next two are the dependency rules for building Emacs. |
156 |
|
|
157 |
Emacs ÄÄ {Makefile} {DocTarget}DOC {EmacsObjects} {MacObjects} |
Emacs ÄÄ {Makefile} buildobj.lst {DocTarget}DOC {EmacsObjects} {MacObjects} |
158 |
PPCLink ¶ |
PPCLink ¶ |
159 |
{LinkOptions} ¶ |
{LinkOptions} ¶ |
160 |
{EmacsObjects} {MacObjects} ¶ |
{EmacsObjects} {MacObjects} ¶ |
180 |
"{Source}"EmacsMPW.maclf.r Ä "{Source}"EmacsMPW.r |
"{Source}"EmacsMPW.maclf.r Ä "{Source}"EmacsMPW.r |
181 |
translate ¶0x0a ¶n < "{Source}"EmacsMPW.r > "{Source}"EmacsMPW.maclf.r |
translate ¶0x0a ¶n < "{Source}"EmacsMPW.r > "{Source}"EmacsMPW.maclf.r |
182 |
|
|
183 |
|
buildobj.lst Ä |
184 |
|
Echo "{EmacsObjects} {MacObjects}" | StreamEdit -e '1,$ Replace -c ° /[Â ]*:([Â: ]*)¨1.c.x/ ¨1".o"' > buildobj.lst |
185 |
|
|
186 |
# Here comes a long boring list of rules saying which files depend on which |
# Here comes a long boring list of rules saying which files depend on which |
187 |
# other ones. I generated them by hand using the "-p" option of the MrC compiler. |
# other ones. I generated them by hand using the "-p" option of the MrC compiler. |
188 |
# Know about MakeMake, but this is probably more accurate. |
# Know about MakeMake, but this is probably more accurate. |
985 |
Delete -i {Make-DocFile-Objects} {Make-DocFileDir}make-docfile |
Delete -i {Make-DocFile-Objects} {Make-DocFileDir}make-docfile |
986 |
Delete -i "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r |
Delete -i "{Source}"Emacs.maclf.r "{Source}"EmacsMPW.maclf.r |
987 |
Delete -i "{NonCarbonMakeOut}" |
Delete -i "{NonCarbonMakeOut}" |
988 |
|
Delete -i buildobj.lst |
989 |
|
|
990 |
DistClean Ä Clean |
DistClean Ä Clean |
991 |
Delete -i "Emacs CW"Å |
Delete -i "Emacs CW"Å |
996 |
# Variables and rules for target "Doc" # |
# Variables and rules for target "Doc" # |
997 |
#--------------------------------------# |
#--------------------------------------# |
998 |
|
|
999 |
EmacsSource = ¶ |
SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o ¶ |
1000 |
"{Src}abbrev.c" ¶ |
xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o ¶ |
1001 |
"{Src}alloc.c" ¶ |
mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o ¶ |
1002 |
"{Src}atimer.c" ¶ |
w32.o w32bdf.o w32console.o w32fns.o w32heap.o w32inevt.o ¶ |
1003 |
"{Src}buffer.c" ¶ |
w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o |
|
"{Src}bytecode.c" ¶ |
|
|
"{Src}callint.c" ¶ |
|
|
"{Src}callproc.c" ¶ |
|
|
"{Src}casefiddle.c" ¶ |
|
|
"{Src}casetab.c" ¶ |
|
|
"{Src}category.c" ¶ |
|
|
"{Src}ccl.c" ¶ |
|
|
"{Src}charset.c" ¶ |
|
|
"{Src}cm.c" ¶ |
|
|
"{Src}cmds.c" ¶ |
|
|
"{Src}coding.c" ¶ |
|
|
"{Src}composite.c" ¶ |
|
|
"{Src}data.c" ¶ |
|
|
"{Src}dired.c" ¶ |
|
|
"{Src}dispnew.c" ¶ |
|
|
"{Src}doc.c" ¶ |
|
|
"{Src}doprnt.c" ¶ |
|
|
"{Src}editfns.c" ¶ |
|
|
"{Src}emacs.c" ¶ |
|
|
"{Src}eval.c" ¶ |
|
|
"{Src}fileio.c" ¶ |
|
|
"{Src}filemode.c" ¶ |
|
|
"{Src}floatfns.c" ¶ |
|
|
"{Src}fns.c" ¶ |
|
|
"{Src}fontset.c" ¶ |
|
|
"{Src}frame.c" ¶ |
|
|
"{Src}fringe.c" ¶ |
|
|
"{Src}getloadavg.c" ¶ |
|
|
"{Src}image.c" ¶ |
|
|
"{Src}indent.c" ¶ |
|
|
"{Src}insdel.c" ¶ |
|
|
"{Src}intervals.c" ¶ |
|
|
"{Src}keyboard.c" ¶ |
|
|
"{Src}keymap.c" ¶ |
|
|
"{Src}lastfile.c" ¶ |
|
|
"{Src}lread.c" ¶ |
|
|
"{Src}macros.c" ¶ |
|
|
"{Src}marker.c" ¶ |
|
|
"{Src}minibuf.c" ¶ |
|
|
"{Src}mktime.c" ¶ |
|
|
"{Src}print.c" ¶ |
|
|
"{Src}process.c" ¶ |
|
|
"{Src}regex.c" ¶ |
|
|
"{Src}region-cache.c" ¶ |
|
|
"{Src}scroll.c" ¶ |
|
|
"{Src}search.c" ¶ |
|
|
"{Src}strftime.c" ¶ |
|
|
"{Src}syntax.c" ¶ |
|
|
"{Src}sysdep.c" ¶ |
|
|
"{Src}term.c" ¶ |
|
|
"{Src}termcap.c" ¶ |
|
|
"{Src}textprop.c" ¶ |
|
|
"{Src}tparam.c" ¶ |
|
|
"{Src}undo.c" ¶ |
|
|
"{Src}window.c" ¶ |
|
|
"{Src}xdisp.c" ¶ |
|
|
"{Src}xfaces.c" ¶ |
|
|
"{Src}xmenu.c" |
|
|
|
|
|
MacSource = ¶ |
|
|
"{Src}mac.c" ¶ |
|
|
"{Src}macfns.c" ¶ |
|
|
"{Src}macterm.c" |
|
|
|
|
1004 |
|
|
1005 |
LispSource = ¶ |
shortlisp = ¶ |
|
{Lisp}menu-bar.elc ¶ |
|
|
{Lisp}mouse.elc ¶ |
|
|
{Lisp}select.elc ¶ |
|
|
{Lisp}scroll-bar.elc ¶ |
|
|
{Lisp}vmsproc.elc ¶ |
|
|
{Lisp}vms-patch.elc ¶ |
|
|
{Lisp}ls-lisp.elc ¶ |
|
|
{Lisp}dos-fns.elc ¶ |
|
|
{Lisp}w32-fns.elc ¶ |
|
|
{Lisp}dos-w32.elc ¶ |
|
|
{Lisp}disp-table.elc ¶ |
|
|
{Lisp}dos-vars.elc ¶ |
|
|
{Lisp}international:ccl.elc ¶ |
|
|
{Lisp}international:codepage.elc ¶ |
|
1006 |
{Lisp}abbrev.elc ¶ |
{Lisp}abbrev.elc ¶ |
1007 |
{Lisp}buff-menu.elc ¶ |
{Lisp}buff-menu.elc ¶ |
1008 |
|
{Lisp}button.elc ¶ |
1009 |
{Lisp}emacs-lisp:byte-run.elc ¶ |
{Lisp}emacs-lisp:byte-run.elc ¶ |
1010 |
{Lisp}cus-start.el ¶ |
{Lisp}cus-face.elc ¶ |
1011 |
|
{Lisp}cus-start.elc ¶ |
1012 |
{Lisp}custom.elc ¶ |
{Lisp}custom.elc ¶ |
1013 |
|
{Lisp}emacs-lisp:backquote.elc ¶ |
1014 |
{Lisp}emacs-lisp:lisp-mode.elc ¶ |
{Lisp}emacs-lisp:lisp-mode.elc ¶ |
1015 |
{Lisp}emacs-lisp:lisp.elc ¶ |
{Lisp}emacs-lisp:lisp.elc ¶ |
1016 |
{Lisp}facemenu.elc ¶ |
{Lisp}facemenu.elc ¶ |
1026 |
{Lisp}loaddefs.el ¶ |
{Lisp}loaddefs.el ¶ |
1027 |
{Lisp}bindings.elc ¶ |
{Lisp}bindings.elc ¶ |
1028 |
{Lisp}emacs-lisp:map-ynp.elc ¶ |
{Lisp}emacs-lisp:map-ynp.elc ¶ |
1029 |
|
{Lisp}env.elc ¶ |
1030 |
{Lisp}international:mule.elc ¶ |
{Lisp}international:mule.elc ¶ |
1031 |
{Lisp}international:mule-conf.el ¶ |
{Lisp}international:mule-conf.el ¶ |
1032 |
{Lisp}international:mule-cmds.elc ¶ |
{Lisp}international:mule-cmds.elc ¶ |
1033 |
{Lisp}international:characters.elc ¶ |
{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 ¶ |
1044 |
{Lisp}case-table.elc ¶ |
{Lisp}case-table.elc ¶ |
1045 |
{Lisp}language:chinese.elc ¶ |
{Lisp}language:chinese.elc ¶ |
1046 |
{Lisp}language:cyrillic.elc ¶ |
{Lisp}language:cyrillic.elc ¶ |
1047 |
{Lisp}language:indian.elc ¶ |
{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 ¶ |
1053 |
{Lisp}language:ethiopic.elc ¶ |
{Lisp}language:ethiopic.elc ¶ |
1054 |
{Lisp}language:european.elc ¶ |
{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 ¶ |
1064 |
{Lisp}language:tibetan.elc ¶ |
{Lisp}language:tibetan.elc ¶ |
1065 |
{Lisp}language:vietnamese.elc ¶ |
{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 ¶ |
1070 |
{Lisp}paths.el ¶ |
{Lisp}paths.el ¶ |
1071 |
{Lisp}register.elc ¶ |
{Lisp}register.elc ¶ |
1072 |
{Lisp}replace.elc ¶ |
{Lisp}replace.elc ¶ |
1074 |
{Lisp}startup.elc ¶ |
{Lisp}startup.elc ¶ |
1075 |
{Lisp}subr.elc ¶ |
{Lisp}subr.elc ¶ |
1076 |
{Lisp}term:tty-colors.elc ¶ |
{Lisp}term:tty-colors.elc ¶ |
1077 |
|
{Lisp}font-core.elc ¶ |
1078 |
{Lisp}textmodes:fill.elc ¶ |
{Lisp}textmodes:fill.elc ¶ |
1079 |
{Lisp}textmodes:page.elc ¶ |
{Lisp}textmodes:page.elc ¶ |
1080 |
{Lisp}textmodes:paragraphs.elc ¶ |
{Lisp}textmodes:paragraphs.elc ¶ |
1081 |
{Lisp}textmodes:text-mode.elc ¶ |
{Lisp}textmodes:text-mode.elc ¶ |
1082 |
|
{Lisp}emacs-lisp:timer.elc ¶ |
1083 |
{Lisp}vc-hooks.elc ¶ |
{Lisp}vc-hooks.elc ¶ |
1084 |
|
{Lisp}jka-cmpr-hook.elc ¶ |
1085 |
{Lisp}ediff-hook.elc ¶ |
{Lisp}ediff-hook.elc ¶ |
1086 |
{Lisp}widget.elc ¶ |
{Lisp}widget.elc ¶ |
1087 |
{Lisp}window.elc ¶ |
{Lisp}window.elc ¶ |
1088 |
{Lisp}version.el |
{Lisp}version.el |
1089 |
|
|
1090 |
LispSourceDontCompile = ¶ |
SOME_MACHINE_LISP = {Lisp}mouse.elc ¶ |
1091 |
{Lisp}language:devanagari.el ¶ |
{Lisp}select.elc {Lisp}scroll-bar.elc ¶ |
1092 |
{Lisp}language:english.el ¶ |
{Lisp}vmsproc.elc {Lisp}vms-patch.elc ¶ |
1093 |
{Lisp}language:czech.el ¶ |
{Lisp}ls-lisp.elc {Lisp}dos-fns.elc ¶ |
1094 |
{Lisp}language:slovak.el ¶ |
{Lisp}w32-fns.elc {Lisp}dos-w32.elc ¶ |
1095 |
{Lisp}language:romanian.el ¶ |
{Lisp}disp-table.elc {Lisp}dos-vars.elc ¶ |
1096 |
{Lisp}language:greek.el ¶ |
{Lisp}tooltip.elc ¶ |
1097 |
{Lisp}language:hebrew.el ¶ |
{Lisp}international:ccl.elc ¶ |
1098 |
{Lisp}language:japanese.el ¶ |
{Lisp}international:codepage.elc |
|
{Lisp}language:korean.el ¶ |
|
|
{Lisp}language:lao.el ¶ |
|
|
{Lisp}language:thai.el ¶ |
|
|
{Lisp}language:misc-lang.el |
|
1099 |
|
|
1100 |
Doc Ä {DocTarget}DOC |
Doc Ä {DocTarget}DOC |
1101 |
|
|
1102 |
{DocTarget}DOC Ä {Makefile} {EmacsSource} {MacSource} {LispSource} {LispSourceDontCompile} {Make-DocFileDir}Make-DocFile |
{DocTarget}DOC Ä {Makefile} {shortlisp} {SOME_MACHINE_LISP} {Make-DocFileDir}Make-DocFile buildobj.lst |
1103 |
{Make-DocFileDir}make-docfile {EmacsSource} > {DocTarget}DOC |
{Make-DocFileDir}make-docfile -d {Src} {SOME_MACHINE_OBJECTS} `Catenate buildobj.lst` > {DocTarget}DOC |
1104 |
{Make-DocFileDir}make-docfile {MacSource} >> {DocTarget}DOC |
{Make-DocFileDir}make-docfile -a {DocTarget}DOC -d {Src} {SOME_MACHINE_LISP} {shortlisp} |
|
{Make-DocFileDir}make-docfile {LispSource} >> {DocTarget}DOC |
|
|
{Make-DocFileDir}make-docfile {LispSourceDontCompile} >> {DocTarget}DOC |
|
1105 |
|
|
1106 |
|
|
1107 |
#-----------------------------------------------# |
#-----------------------------------------------# |
1112 |
Make-DocFile-Sym = |
Make-DocFile-Sym = |
1113 |
|
|
1114 |
Make-DocFile-PPCCOptions = -typecheck relaxed -w off -noMapCR ¶ |
Make-DocFile-PPCCOptions = -typecheck relaxed -w off -noMapCR ¶ |
1115 |
{Make-DocFile-Includes} {Make-DocFile-Sym} |
-d MAC_OS -d MAC_OS8 ¶ |
1116 |
|
{Make-DocFile-Includes} {Make-DocFile-Sym} |
1117 |
|
|
1118 |
Make-DocFile-Objects = ¶ |
Make-DocFile-Objects = ¶ |
1119 |
"{Lib-Src}make-docfile.c.x" ¶ |
"{Lib-Src}make-docfile.c.x" ¶ |