Advertisement
myra_nelson

ocaml-xml-light

Aug 28th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.07 KB | None | 0 0
  1. [myra@gandalf ../ocaml/ocaml-xml-light]:makepkg
  2. ==> Making package: ocaml-xml-light 2.2-2 (Sun Aug 28 15:16:42 CDT 2011)
  3. ==> Checking runtime dependencies...
  4. ==> Checking buildtime dependencies...
  5. ==> Retrieving Sources...
  6.   -> Downloading xml-light-2.2.zip...
  7. --2011-08-28 15:16:43--  http://tech.motion-twin.com/zip/xml-light-2.2.zip
  8. Resolving tech.motion-twin.com... 91.209.175.100
  9. Connecting to tech.motion-twin.com|91.209.175.100|:80... connected.
  10. HTTP request sent, awaiting response... 200 OK
  11. Length: 22130 (22K) [application/zip]
  12. Saving to: `xml-light-2.2.zip.part'
  13.  
  14. 100%[=====================================================================================================>] 22,130      59.5K/s   in 0.4s    
  15.  
  16. 2011-08-28 15:16:51 (59.5 KB/s) - `xml-light-2.2.zip.part' saved [22130/22130]
  17.  
  18.   -> Found META
  19. ==> Validating source files with md5sums...
  20.     xml-light-2.2.zip ... Passed
  21.     META ... Passed
  22. ==> Extracting Sources...
  23.   -> Extracting xml-light-2.2.zip with bsdtar
  24. ==> Starting build()...
  25. ocamlyacc xml_parser.mly
  26. ocamlc  xml.mli
  27. make: *** No rule to make target `xml_parser.mli', needed by `xml_parser.cmo'.  Stop.
  28. make: *** Waiting for unfinished jobs....
  29. ==> ERROR: A failure occurred in build().
  30.     Aborting...
  31.  
  32.  
  33. # Makefile generated by OCamake
  34. # http://tech.motion-twin.com
  35. .SUFFIXES : .ml .mli .cmo .cmx .cmi .mll .mly
  36.  
  37. INSTALLDIR=`ocamlc -where`
  38. CFLAGS=
  39. LFLAGS= -a
  40. LIBS=
  41.  
  42. all: xml-light.cma test.exe doc
  43.  
  44. opt: xml-light.cmxa test_opt.exe
  45.  
  46. install: all opt
  47.     cp xml-light.cmxa xml-light.a xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
  48.  
  49. doc:
  50.     mkdir doc
  51.     ocamldoc -sort -html -d doc xml.mli dtd.mli xmlParser.mli
  52.  
  53. test.exe: xml-light.cma
  54.     ocamlc xml-light.cma test.ml -o test.exe
  55.    
  56. test_opt.exe: xml-light.cmxa
  57.     ocamlopt xml-light.cmxa test.ml -o test_opt.exe
  58.  
  59. xml-light.cma: xml_parser.cmo xml_lexer.cmo dtd.cmo xmlParser.cmo xml.cmo
  60.     ocamlc -o xml-light.cma $(LFLAGS) $(LIBS) xml_parser.cmo xml_lexer.cmo dtd.cmo xmlParser.cmo xml.cmo
  61.  
  62. xml-light.cmxa: xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
  63.     ocamlopt -o xml-light.cmxa $(LFLAGS) $(LIBS) xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
  64.  
  65. dtd.cmo: xml.cmi xml_lexer.cmi dtd.cmi
  66.  
  67. dtd.cmx: xml.cmi xml_lexer.cmi dtd.cmi
  68.  
  69. xml.cmo: dtd.cmi xmlParser.cmi xml_lexer.cmi xml.cmi
  70.  
  71. xml.cmx: dtd.cmi xmlParser.cmi xml_lexer.cmi xml.cmi
  72.  
  73. xmlParser.cmo: dtd.cmi xml.cmi xml_lexer.cmi xmlParser.cmi
  74.  
  75. xmlParser.cmx: dtd.cmi xml.cmi xml_lexer.cmi xmlParser.cmi
  76.  
  77. dtd.cmi: xml.cmi
  78.  
  79. xml.cmi:
  80.  
  81. xmlParser.cmi: dtd.cmi xml.cmi
  82.  
  83. xml_lexer.cmi: dtd.cmi
  84.  
  85. xml_parser.cmo: xml_parser.ml dtd.cmi xml_parser.mli xml_parser.cmi
  86.  
  87. xml_parser.cmx: xml_parser.ml dtd.cmi xml_parser.mli xml_parser.cmi
  88.  
  89. xml_lexer.cmo: xml_lexer.ml xml_lexer.cmi
  90.  
  91. xml_lexer.cmx: xml_lexer.ml xml_lexer.cmi
  92.  
  93. clean:
  94.     rm -f xml-light.cma test.exe dtd.cmo dtd.cmi test.cmo test.cmi xml.cmo xml.cmi xmlParser.cmo xmlParser.cmi dtd.cmi xml.cmi xmlParser.cmi xml_lexer.cmi xml_lexer.cmo xml_lexer.ml xml_parser.mli xml_parser.cmi xml_parser.ml xml_parser.cmo
  95.     rm -f xml_light.lib xml_light.a xml-light.cmxa test_opt.exe dtd.cmx dtd.obj dtd.o test.cmx test.obj test.o xml.cmx xml.obj xml.o xmlParser.cmx xmlParser.obj xmlParser.o xml_lexer.cmx xml_lexer.obj xml_lexer.o xml_parser.cmx xml_parser.obj xml_parser.o
  96.  
  97. wclean:
  98.     -@del xml-light.cma test.exe dtd.cmo dtd.cmi test.cmo test.cmi xml.cmo xml.cmi xmlParser.cmo xmlParser.cmi dtd.cmi xml.cmi xmlParser.cmi xml_lexer.cmi xml_lexer.cmo xml_lexer.ml xml_parser.mli xml_parser.cmi xml_parser.ml xml_parser.cmo 2>NUL
  99.     -@del xml_light.lib xml_light.a xml-light.cmxa test_opt.exe dtd.cmx dtd.obj dtd.o test.cmx test.obj test.o xml.cmx xml.obj xml.o xmlParser.cmx xmlParser.obj xmlParser.o xml_lexer.cmx xml_lexer.obj xml_lexer.o xml_parser.cmx xml_parser.obj xml_parser.o 2>NUL
  100.  
  101. # SUFFIXES
  102. .ml.cmo:
  103.     ocamlc $(CFLAGS) -c $<
  104.  
  105. .ml.cmx:
  106.     ocamlopt $(CFLAGS) -c $<
  107.  
  108. .mli.cmi:
  109.     ocamlc $(CFLAGS) $<
  110.  
  111. .mll.ml:
  112.     ocamllex $<
  113.  
  114. .mly.ml:
  115.     ocamlyacc $<
  116.  
  117.  
  118. xml_parser.cmi:
  119.     ocamlc xml_parser.mli
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement