######################################################################## # 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. # ################################################ # Generated files # # Workaround for the fact that ocamldep does not pay attention to .mll # and .mly files. # # include the client for testing! RPCAPI[] = pfs_rpcapi_aux.ml pfs_rpcapi_aux.mli pfs_rpcapi_srv.ml pfs_rpcapi_srv.mli pfs_rpcapi_clnt.ml pfs_rpcapi_clnt.mli OCamlGeneratedFiles($(RPCAPI)) $(RPCAPI): pfs_rpcapi.x $(glob ../../ipc/*.x) $(OCAMLRPCGEN) -aux -srv2 -clnt -int unboxed -hyper int64 \ -I ../../ipc pfs_rpcapi.x ################################################ # Build an OCaml library # FILES[] = pfs_rpcapi_aux pfs_rpcapi_srv pfs_rpcapi_clnt pfs_db LIB = pfs_support OCAMLINCLUDES += ../plasmasupport ../postgresql .DEFAULT: $(OCamlLibrary $(LIB), $(FILES)) .DEFAULT: $(InterfaceDoc $(LIB), $(FILES)) ################################################ # 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 $(RPCAPI) rm -f *.a *.cmx *.cmxa *.o *.cmo *.cma *.cmi *.annot *.opt *.run *.idoc