home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / MacPerl 5.1.3 / Mac_Perl_513_src / perl5.002 / x2p / Makefile.mk < prev    next >
Encoding:
Makefile  |  1996-06-20  |  1.5 KB  |  66 lines  |  [TEXT/MPS ]

  1. # $RCSfile: Makefile.SH,v $$Revision: 4.1 $$Date: 92/08/07 18:29:07 $
  2. #
  3. # $Log:    Makefile.SH,v $
  4.  
  5. .INCLUDE : ::BuildRules.mk
  6.  
  7. COpt        =    -w off -sym on -d DEBUGGING 
  8.  
  9. public = a2p s2p find2perl
  10.  
  11. private = 
  12.  
  13. manpages = a2p.man s2p.man
  14.  
  15. util =
  16.  
  17. pl = find2perl.PL s2p.PL
  18. plextract = find2perl s2p
  19.  
  20. addedbyconf = $(plextract)
  21.  
  22. h = EXTERN.h INTERN.h ::config.h handy.h hash.h a2p.h str.h util.h
  23.  
  24. c = a2p.c hash.c str.c util.c walk.c
  25.  
  26. obj    =  {$(c)}.o.680
  27.  
  28. Libs =  "{{MW68KLibraries}}GUSIDispatch.Lib.68K"        \
  29.         "{{MW68KLibraries}}GUSIMPW.Lib.68K"                \
  30.         "{{MW68KLibraries}}MPWRuntime.68K.Lib"            \
  31.         "{{MW68KLibraries}}MPW ANSI (4i/8d) C.68K.Lib"    \
  32.         "{{MW68KLibraries}}MathLib68K (4i/8d).Lib"        \
  33.         "{{MW68KLibraries}}MacOS.Lib"                    \
  34.         "{{MW68KLibraries}}CPlusPlus.lib"                \
  35.         "{{MW68KLibraries}}GUSI.Lib.68K"                \
  36.         "{{MW68KLibraries}}ToolLibs.o"                    \
  37.         "{{MW68KLibraries}}PLStringFuncs.glue.lib"
  38.  
  39. all: $(public) $(private) $(util)
  40.     echo > all
  41.  
  42. a2p: $(obj)
  43.     $(ToolLink68K) -o a2p  $(Libs) :Obj:{$(obj)}
  44.  
  45. # I now supply a2p.c with the kits, so the following section is
  46. # used only if you force byacc to run by saying
  47. # make  run_byacc
  48.  
  49. run_byacc:    
  50.     @ echo Expect many shift/reduce and reduce/reduce conflicts
  51.     yacc a2p.y
  52.     Rename -y y.tab.c a2p.c
  53.  
  54. # We don't want to regenerate a2p.c, but it might appear out-of-date
  55. # after a patch is applied or a new distribution is made.
  56. a2p.c: a2p.y
  57.     SetFile -m . a2p.c
  58.  
  59. clean:
  60.     delete -y a2p :Obj:≈
  61.  
  62. realclean: clean
  63.  
  64. $(plextract):
  65.     ::miniperl -I::lib $@.PL
  66.