チェンジセット 1951
- コミット日時:
- 2008/12/03 21:48:09 (3 年前)
- ファイル:
-
- ocaml/abc2xml/trunk/OMakefile (更新) (1 diff)
- ocaml/abc2xml/trunk/swflib (追加)
- ocaml/abc2xml/trunk/swflib/OMakefile (追加)
- ocaml/abc2xml/trunk/swflib/abc.ml (移動) (ocaml/abc2xml/trunk/abc.ml から 移動)
- ocaml/abc2xml/trunk/swflib/byte.ml (移動) (ocaml/abc2xml/trunk/byte.ml から 移動)
- ocaml/abc2xml/trunk/swflib/byte.mli (移動) (ocaml/abc2xml/trunk/byte.mli から 移動)
- ocaml/abc2xml/trunk/swflib/disasm.ml (移動) (ocaml/abc2xml/trunk/disasm.ml から 移動)
- ocaml/abc2xml/trunk/swflib/parsec.ml (移動) (ocaml/abc2xml/trunk/parsec.ml から 移動)
- ocaml/abc2xml/trunk/test/OMakefile (更新) (5 diffs)
- ocaml/abc2xml/trunk/utils (追加)
- ocaml/abc2xml/trunk/utils/OMakefile (追加)
- ocaml/abc2xml/trunk/utils/base.ml (移動) (ocaml/abc2xml/trunk/base.ml から 移動)
- ocaml/abc2xml/trunk/xml (追加)
- ocaml/abc2xml/trunk/xml/OMakefile (コピー) (ocaml/abc2xml/trunk/OMakefile から コピー) (4 diffs)
- ocaml/abc2xml/trunk/xml/code.ml (移動) (ocaml/abc2xml/trunk/code.ml から 移動)
- ocaml/abc2xml/trunk/xml/easyXml.ml (移動) (ocaml/abc2xml/trunk/easyXml.ml から 移動)
- ocaml/abc2xml/trunk/xml/main.ml (移動) (ocaml/abc2xml/trunk/main.ml から 移動)
- ocaml/abc2xml/trunk/xml/swfmill.ml (移動) (ocaml/abc2xml/trunk/swfmill.ml から 移動)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
ocaml/abc2xml/trunk/OMakefile
r1800 r1951 1 .PHONY: c lean2 .SUBDIRS: test camlp4 1 .PHONY: check clean 2 .SUBDIRS: test camlp4 swflib utils xml 3 3 4 ######################################################################## 5 # OCaml configuration. 6 # 7 # 8 9 # 10 # This project requires ocamlfind 11 # 12 USE_OCAMLFIND = true 13 OCAMLPACKS[] = 14 xml-light 15 extlib 16 17 if $(not $(OCAMLFIND_EXISTS)) 18 eprintln(This project requires ocamlfind, but is was not found.) 19 eprintln(You need to install ocamlfind and run "omake --configure".) 20 exit 1 21 22 # 23 # Include path 24 # 25 # OCAMLINCLUDES += 26 27 # 28 # Compile native or byte code? 29 # 30 # The default values are defined as follows: 31 # 32 NATIVE_ENABLED = $(OCAMLOPT_EXISTS) 33 BYTE_ENABLED = true 34 35 # 36 # Various options 37 # 38 # OCAMLFLAGS += 39 # OCAMLCFLAGS += 40 # OCAMLOPTFLAGS += 41 # OCAML_LINK_FLAGS += 42 # OCAML_BYTE_LINK_FLAGS += 43 # OCAML_NATIVE_LINK_FLAGS += 4 habc-xml.run: utils/utils.cma xml/habc-xml.run 5 cp xml/habc-xml.run . 44 6 45 7 46 ################################################ 47 # 48 # Camlp4 flags 49 # 50 51 CAMLP4FILES[] = 52 camlp4/pa_oo.cmo 53 camlp4/pa_monad.cmo 54 55 OCAMLPPFLAGS += -pp 'camlp4o camlp4/pa_oo.cmo' 56 OCAMLDEPFLAGS += $(OCAMLPPFLAGS) 57 .SCANNER: scan-ocaml-%.ml: %.ml $(CAMLP4FILES) 58 59 ################################################ 60 # Build an OCaml program 61 # 62 63 FILES[] = 64 abc 65 base 66 disasm 67 parsec 68 byte 69 easyXml 70 swfmill 71 code 72 73 PROGRAM = habc-xml 74 75 OCamlProgram($(PROGRAM), main $(FILES)) 76 OCamlLibrary($(PROGRAM), $(FILES)) 77 78 .DEFAULT: $(PROGRAM) 8 .DEFAULT: habc-xml.run 79 9 80 10 clean: 81 rm -f *.cm[iox] *~ *.o *.omc $(PROGRAM) *.opt *.run *.cma *.cmxa *.a11 rm -f habc-xml habc-xml.opt habc-xml.run *.omc .omakedb .omakedb.lock ocaml/abc2xml/trunk/test/OMakefile
r1800 r1951 1 .PHONY: check c heck.run check.opt clean1 .PHONY: check clean 2 2 3 3 ################################################ … … 12 12 USE_OCAMLFIND = true 13 13 OCAMLPACKS[] = 14 xml-light 15 extlib 14 16 oUnit 15 extlib16 xml-light17 17 18 18 if $(not $(OCAMLFIND_EXISTS)) … … 24 24 # Include path 25 25 # 26 OCAMLINCLUDES += ../ 26 OCAMLINCLUDES += ../utils 27 OCAMLINCLUDES += ../swflib 28 OCAMLINCLUDES += ../xml 27 29 28 30 # … … 50 52 51 53 FILES[] = 52 testSupport53 byteTest54 abcTest55 swfmillTest56 codeTest54 testSupport 55 byteTest 56 abcTest 57 swfmillTest 58 codeTest 57 59 58 60 PROGRAM = runner 59 OCAML_LIBS += ../habc-xml 61 OCAML_LIBS += ../utils/utils 62 OCAML_LIBS += ../swflib/swflib 63 OCAML_LIBS += ../xml/habc-xml 64 60 65 # OCAML_CLIBS += 61 66 # OCAML_OTHER_LIBS += … … 70 75 ./$(PROGRAM) 71 76 72 check.opt: $(PROGRAM).opt73 ./$(PROGRAM).opt74 75 check.run: $(PROGRAM).run76 ./$(PROGRAM).run77 78 77 # 79 78 # PHONY TARGET ocaml/abc2xml/trunk/xml/OMakefile
r1800 r1951 1 1 .PHONY: clean 2 .SUBDIRS: test camlp43 2 4 3 ######################################################################## … … 23 22 # Include path 24 23 # 25 # OCAMLINCLUDES += 24 OCAMLINCLUDES += ../utils 25 OCAMLINCLUDES += ../swflib 26 26 27 27 # … … 50 50 51 51 CAMLP4FILES[] = 52 camlp4/pa_oo.cmo 53 camlp4/pa_monad.cmo 52 ../camlp4/pa_oo.cmo 54 53 55 OCAMLPPFLAGS += -pp 'camlp4o camlp4/pa_oo.cmo'54 OCAMLPPFLAGS += -pp 'camlp4o ../camlp4/pa_oo.cmo' 56 55 OCAMLDEPFLAGS += $(OCAMLPPFLAGS) 57 56 .SCANNER: scan-ocaml-%.ml: %.ml $(CAMLP4FILES) … … 61 60 # 62 61 62 OCAML_LIBS += ../utils/utils 63 OCAML_LIBS += ../swflib/swflib 64 63 65 FILES[] = 64 abc65 base66 disasm67 parsec68 byte69 66 easyXml 70 67 swfmill

