| 1 |
(rule |
| 2 |
(targets extra_objects.sexp) |
| 3 |
(enabled_if (<> %{os_type} "Win32")) |
| 4 |
(action (write-file %{targets} "()"))) |
| 5 |
|
| 6 |
(rule |
| 7 |
(targets extra_objects.sexp) |
| 8 |
(enabled_if (= %{os_type} "Win32")) |
| 9 |
(action (chdir %{workspace_root} |
| 10 |
(write-file %{targets} "(\"%{dep:../windows/0install.exe.o}\")")))) |
| 11 |
|
| 12 |
(library |
| 13 |
(name support) |
| 14 |
(libraries lwt lwt.unix sha str xmlm yojson |
| 15 |
(select windows_api.ml from |
| 16 |
(zeroinstall_windows -> windows_api.enabled.ml) |
| 17 |
( -> windows_api.disabled.ml))) |
| 18 |
(foreign_stubs |
| 19 |
(language c) |
| 20 |
(names utils))) |