/usr/share/doc/libmlpcap-ocaml-dev/examples/Makefile is in libmlpcap-ocaml-dev 0.9-16build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | CAMLP4O=camlp4o
OBJECTS = misc.cmo pcap_next.cmo pcap_loop.cmo \
pcap_dump_direct.cmo pcap_findalldevs.cmo \
pcap_open_offline.cmo
TARGETS = misc pcap_next pcap_loop \
pcap_dump_direct pcap_findalldevs \
pcap_open_offline
all: $(TARGETS)
$(TARGETS): $(OBJECTS)
ocamlfind ocamlc -package pcap -linkpkg -o $@ $@.cmo
clean:
rm -f *.cmo *.cmi $(TARGETS)
.SUFFIXES: .ml .cmo .cmi
.ml.cmo:
ocamlfind ocamlc -package pcap -pp '$(CAMLP4O) pa_macro.cmo -DHAVE_PCAP08' -c $<
|