X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=lib%2FMakefile.am;h=5ab4128e65901499a8b3f65d1b31e023738cac95;hp=898f204f4b2e04b246409c1d246e9a18712b8156;hb=df2cdcfdc29af0080b9b3eace17325d2a1d83e72;hpb=0f58f891d531defd1fa923dd2da93678c9c6f35b diff --git a/lib/Makefile.am b/lib/Makefile.am index 898f204..5ab4128 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -55,9 +55,12 @@ whenproto_aux.ml whenproto_aux.mli: whenproto.x $(OCAMLRPCGEN) -int int32 -hyper int64 -aux $< # Preprocessor for whenjobs files. -pa_when.cmo: pa_when.ml whenlib.cma - $(OCAMLFIND) c $(OCAMLCFLAGS) \ - -linkpkg whenlib.cma -pp $(CAMLP4OF) -c $< -o $@ +# Note that we intentionally don't want this to depend on any +# libraries except for camlp4.lib. +pa_when.cmo: pa_when.ml + $(OCAMLFIND) c -g -warn-error CDEFLMPSUVYZX \ + -package camlp4.lib -linkpkg \ + -pp $(CAMLP4OF) -c $< -o $@ # Rules for all OCaml files. %.cmi: %.mli