home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / code / microema.sit / src / Makefile.MPW < prev    next >
Encoding:
Makefile  |  1989-07-07  |  2.7 KB  |  78 lines  |  [TEXT/Earl]

  1. # Makefile for ╡Emacs, MPW Make, MPW C 2.0.2
  2.  
  3. OBJS = croot.c.o uemacs_main.c.o basic.c.o bind.c.o buffer.c.o clipboard.c.o╢
  4.     display.c.o eval.c.o exec.c.o file.c.o ╢
  5.     fileio.c.o input.c.o isearch.c.o line.c.o mactty.c.o ╢
  6.     main.c.o malloc.c.o random.c.o ╢
  7.      region.c.o search.c.o tags.c.o ╢
  8.     window.c.o word.c.o
  9.     
  10. FOLDER=::
  11. INC={FOLDER}includes:
  12. REZDEF={FOLDER}resources:
  13. DEST={boot}bin:
  14. EMACS=╡EMACS
  15. C={mpw}Tools:C
  16. CFLAGS= -g -i {INC}
  17. LDFLAGS= -t APPL -d -m Croot
  18. SEGS =    -sg Equality=tags,window,word,random,eval,input,display,main,bind,Main,file ╢
  19. -sg Fraternity=region,search,basic,clipboar,isearch,exec,line,buffer,malloc,fileio,mactty 
  20.  
  21. {EMACS}     ──      {OBJS} {REZDEF}emacsversion.r {FOLDER}{EMACS}.rsrc
  22.     delete -i {EMACS}
  23.     link {LDFLAGS} {OBJS}╢
  24.         "{CLibraries}"CRuntime.o ╢
  25.         "{CLibraries}"StdCLib.o ╢
  26.         "{CLibraries}"CInterface.o ╢
  27.         "{Libraries}"Interface.o ╢
  28.         {SEGS} ╢
  29.         -o {EMACS} -l > {EMACS}.map
  30.     rez {REZDEF}emacsversion.r -o {EMACS} -append -c Earl -t APPL
  31.     SetFile -a BM -t APPL -c Earl {EMACS}
  32.  
  33. {FOLDER}{EMACS}.rsrc    ──    {REZDEF}emacs.r {FOLDER}Ktrans {Folder}WDEF
  34.     rez {REZDEF}emacs.r -o {FOLDER}{EMACS}.rsrc -c RSED -t rsrc
  35.  
  36. {FOLDER}Ktrans ──    keytrans_main.c.o
  37.     link keytrans_main.c.o -rt GetC=606 -o {FOLDER}Ktrans -t rsrc -c RSED
  38.  
  39. {FOLDER}WDEF ──    WDEF128.a.o
  40.     link WDEF128.a.o -rt WDEF=128 -o {FOLDER}WDEF -t rsrc -c RSED -ra Main=resLocked
  41.  
  42. uemacs_main.c.o ─ uemacs_main.c
  43.     {C} {CFLAGS} -s Main uemacs_main.c -o uemacs_main.c.o
  44.  
  45. .c.o ─ .c
  46.     {C} {CFLAGS} -s {default} {default}.c -o {default}.c.o
  47.  
  48. clean    ─
  49.     delete -i `files -t 'OBJ '` {EMACS} ╢
  50.     {FOLDER}Ktrans {FOLDER}{EMACS}.rsrc {EMACS}.map {Folder}WDEF
  51.  
  52. install    ─    {EMACS}
  53.     move -y {EMACS} {DEST}{EMACS}
  54.  
  55. BASIC.c.o    ─ estruct.h {INC}stdio.h edef.h
  56. bind.c.o     ─ estruct.h {INC}stdio.h edef.h epath.h
  57. BUFFER.c.o     ─ estruct.h {INC}stdio.h edef.h
  58. clipboard.c.o     ─ estruct.h {INC}stdio.h edef.h
  59. display.c.o    ─ estruct.h {INC}stdio.h edef.h
  60. EVAL.c.o     ─ estruct.h {INC}stdio.h edef.h evar.h
  61. exec.c.o     ─ estruct.h {INC}stdio.h edef.h
  62. file.c.o     ─ estruct.h {INC}stdio.h edef.h
  63. FILEIO.c.o     ─ estruct.h {INC}stdio.h edef.h
  64. input.c.o     ─ estruct.h {INC}stdio.h edef.h
  65. ISEARCH.c.o     ─ estruct.h {INC}stdio.h edef.h
  66. LINE.c.o     ─ estruct.h {INC}stdio.h edef.h
  67. mactty.c.o     ─ estruct.h {INC}stdio.h edef.h TTY_Windows.h
  68. MAIN.c.o     ─ estruct.h {INC}stdio.h edef.h efunc.h ebind.h
  69. malloc.c.o     ─ estruct.h {INC}stdio.h edef.h
  70. RANDOM.c.o     ─ estruct.h {INC}stdio.h edef.h
  71. REGION.c.o     ─ estruct.h {INC}stdio.h edef.h
  72. SEARCH.c.o     ─ estruct.h {INC}stdio.h edef.h
  73. Tags.c.o    ─ estruct.h {INC}stdio.h edef.h
  74. uEmacs_Main.c.o ─ estruct.h {INC}stdio.h edef.h TTY_Windows.h╢
  75.             efunc.h ebind.h epath.h
  76. window.c.o     ─ estruct.h {INC}stdio.h edef.h
  77. WORD.c.o    ─ estruct.h {INC}stdio.h edef.h
  78.