3 mailvisa-add-messages \
4 mailvisa-calculate-scores \
6 mailvisa-remove-messages \
10 BINARIES = $(addsuffixes $(if $(NATIVE_ENABLED), .opt, .run), $(SYMLINKS))
12 TARGETS = $(BINARIES) $(SYMLINKS)
13 OBJECTS = $(addsuffixes .cmi .cmx .o, \
15 common logger score tokenize wordlist)
17 OCAML_OTHER_LIBS = unix str
19 # Suppress "bad source file name" errors
20 OCAMLFLAGS += -warn-error x
22 .PHONY : all clean distclean install
28 rm $(filter-exists $(OBJECTS))
31 rm $(filter-exists $(TARGETS) $(addsuffixes .opt .run, $(TARGETS)) OMakefile.omc)
35 cp $(SYMLINKS) "$(bindir)/"
37 OCamlProgram(mailvisa, mailvisa)
38 OCamlProgram(mailvisa-add-messages, mailvisa-add-messages common tokenize wordlist)
39 OCamlProgram(mailvisa-calculate-scores, mailvisa-calculate-scores common wordlist)
40 OCamlProgram(mailvisa-check, mailvisa-check common)
41 OCamlProgram(mailvisa-remove-messages, mailvisa-remove-messages common tokenize wordlist)
42 OCamlProgram(mailvisa-view-scores, mailvisa-view-scores common wordlist)
43 OCamlProgram(mailvisad, mailvisad common logger score tokenize wordlist)