configure: Detect camlp4 and bail if not available.
[guestfs-browser.git] / Makefile.am
index dbb23a5..4a064f7 100644 (file)
@@ -21,6 +21,7 @@ EXTRA_DIST = \
        $(SOURCES) \
        HACKING \
        Throbber.png Throbber.gif \
+       config.ml.in \
        .gitignore \
        guestfs-browser.pod \
        guestfs-browser.1 \
@@ -69,6 +70,8 @@ SOURCES = \
        op_download_file.ml \
        op_file_information.mli \
        op_file_information.ml \
+       op_file_properties.mli \
+       op_file_properties.ml \
        op_inspection_dialog.mli \
        op_inspection_dialog.ml \
        op_view_file.mli \
@@ -108,12 +111,13 @@ OBJECTS = \
        op_download_dir_tarball.cmo \
        op_download_file.cmo \
        op_file_information.cmo \
+       op_file_properties.cmo \
        op_inspection_dialog.cmo \
        op_view_file.cmo \
+       window.cmo \
        menu_open_uri.cmo \
        menu_open_disk.cmo \
        menu_about.cmo \
-       window.cmo \
        main.cmo
 
 XOBJECTS = $(OBJECTS:.cmo=.cmx)
@@ -242,10 +246,15 @@ depend: .depend
 
 .depend: $(wildcard *.mli) $(wildcard *.ml)
        $(OCAMLFIND) ocamldep $(OCAMLPACKAGES) $^ | \
+         $(SED) -e 's/ *$$//' | \
+         $(SED) -e 's/[ \t]:/:/' | \
          $(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \
-         sort > $@-t
+         LANG=C sort > $@-t
        mv $@-t $@
 
 include .depend
 
 .PHONY: depend docs
+
+# The dependencies aren't safe for parallel make (XXX fixme).
+.NOTPARALLEL: