チェンジセット 1951

差分発生行の前後
無視リスト:
コミット日時:
2008/12/03 21:48:09 (3 年前)
コミッタ:
mzp
ログメッセージ:

change directory

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • ocaml/abc2xml/trunk/OMakefile

    r1800 r1951  
    1 .PHONY: clean 
    2 .SUBDIRS: test camlp4 
     1.PHONY: check clean 
     2.SUBDIRS: test camlp4 swflib utils xml 
    33 
    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 += 
     4habc-xml.run: utils/utils.cma xml/habc-xml.run  
     5        cp xml/habc-xml.run . 
    446 
    457 
    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 
    799 
    8010clean: 
    81         rm -f *.cm[iox] *~ *.o *.omc $(PROGRAM) *.opt *.run *.cma *.cmxa *.a 
     11        rm -f habc-xml habc-xml.opt habc-xml.run *.omc .omakedb .omakedb.lock 
  • ocaml/abc2xml/trunk/test/OMakefile

    r1800 r1951  
    1 .PHONY: check check.run check.opt clean 
     1.PHONY: check clean 
    22 
    33################################################ 
     
    1212USE_OCAMLFIND = true 
    1313OCAMLPACKS[] = 
     14        xml-light 
     15        extlib 
    1416        oUnit 
    15         extlib 
    16         xml-light 
    1717 
    1818if $(not $(OCAMLFIND_EXISTS)) 
     
    2424# Include path 
    2525# 
    26 OCAMLINCLUDES += ../ 
     26OCAMLINCLUDES += ../utils 
     27OCAMLINCLUDES += ../swflib 
     28OCAMLINCLUDES += ../xml 
    2729 
    2830# 
     
    5052 
    5153FILES[] = 
    52        testSupport 
    53        byteTest 
    54        abcTest 
    55        swfmillTest 
    56        codeTest 
     54    testSupport 
     55    byteTest 
     56    abcTest 
     57    swfmillTest 
     58    codeTest 
    5759 
    5860PROGRAM = runner 
    59 OCAML_LIBS += ../habc-xml 
     61OCAML_LIBS += ../utils/utils 
     62OCAML_LIBS += ../swflib/swflib 
     63OCAML_LIBS += ../xml/habc-xml 
     64 
    6065# OCAML_CLIBS += 
    6166# OCAML_OTHER_LIBS +=  
     
    7075        ./$(PROGRAM) 
    7176 
    72 check.opt: $(PROGRAM).opt 
    73         ./$(PROGRAM).opt 
    74  
    75 check.run: $(PROGRAM).run 
    76         ./$(PROGRAM).run 
    77  
    7877# 
    7978# PHONY TARGET 
  • ocaml/abc2xml/trunk/xml/OMakefile

    r1800 r1951  
    11.PHONY: clean 
    2 .SUBDIRS: test camlp4 
    32 
    43######################################################################## 
     
    2322# Include path 
    2423# 
    25 # OCAMLINCLUDES += 
     24OCAMLINCLUDES += ../utils 
     25OCAMLINCLUDES += ../swflib 
    2626 
    2727# 
     
    5050 
    5151CAMLP4FILES[] = 
    52         camlp4/pa_oo.cmo 
    53         camlp4/pa_monad.cmo 
     52        ../camlp4/pa_oo.cmo 
    5453 
    55 OCAMLPPFLAGS  += -pp 'camlp4o camlp4/pa_oo.cmo' 
     54OCAMLPPFLAGS  += -pp 'camlp4o ../camlp4/pa_oo.cmo' 
    5655OCAMLDEPFLAGS += $(OCAMLPPFLAGS) 
    5756.SCANNER: scan-ocaml-%.ml: %.ml $(CAMLP4FILES) 
     
    6160# 
    6261 
     62OCAML_LIBS += ../utils/utils 
     63OCAML_LIBS += ../swflib/swflib 
     64 
    6365FILES[] = 
    64         abc 
    65         base 
    66         disasm 
    67         parsec 
    68         byte 
    6966        easyXml 
    7067        swfmill