######################################################################## # Permission is hereby granted, free of charge, to any person # obtaining a copy of this file, to deal in the File without # restriction, including without limitation the rights to use, # copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the File, and to permit persons to whom the # File is furnished to do so, subject to the following condition: # # THE FILE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE FILE OR # THE USE OR OTHER DEALINGS IN THE FILE. ######################################################################## # OCaml configuration. # Delete this section if you are not building OCaml files. # ################################################ # Configuration. You may want to modify any of these configuration # variables. # OCAMLPACKS += ocamlgraph ################################################ # Build an OCaml library # FILES[] = OCAMLINCLUDES += \ ../src/plasmasupport ../src/plasmaclient ../src/mr_platform \ ../src/mr_framework \ ../src/postgresql ../src/bitv \ ../src/pfs_support ../src/pfs_namenode OCAML_LIBS[] = ../src/plasmasupport/plasmasupport ../src/plasmaclient/plasmaclient ../src/mr_platform/mr_platform ../src/mr_framework/mapred ../src/postgresql/postgresql ../src/bitv/bitv ../src/pfs_support/pfs_support ../src/pfs_namenode/pfs_namenode .DEFAULT: $(OCamlProgram mr_io, mr_io) .DEFAULT: $(OCamlProgram ps_rangemap, ps_rangemap) .DEFAULT: $(OCamlProgram ps_blocklist, ps_blocklist) .DEFAULT: $(OCamlProgram ps_blockmap, ps_blockmap) ################################################ # Build an OCaml program # # FILES[] = # file1 # file2 # # PROGRAM = # OCAML_LIBS += # OCAML_CLIBS += # OCAML_OTHER_LIBS += # OCAML_LIB_FLAGS += # # .DEFAULT: $(OCamlProgram $(PROGRAM), $(FILES)) clean: rm -f *.a *.cmx *.cmxa *.o *.cmo *.cma *.cmi *.run *.opt *.annot *.idoc rm -f mr_io ps_rangemap ps_blocklist ps_blockmap