1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
; IDE Server
(ocamllex utf8_convert config_lexer coq_lex)
(library
(name core)
(public_name coqide-server.core)
(wrapped false)
(modules document)
(libraries coq-core.boot coq-core.lib))
(executable
(name idetop)
(public_name coqidetop.opt)
(package coqide-server)
(modules idetop)
(libraries coq-core.toplevel coqide-server.protocol platform_specific)
(modes exe byte)
(link_flags -linkall))
(install
(section bin)
(package coqide-server)
(files (idetop.bc as coqidetop.byte)))
; IDE Client, we may want to add the macos_prehook.ml conditionally.
(library
(name coqide_gui)
(wrapped false)
(modules (:standard \ document idetop coqide_main default_bindings_src gen_gtk_platform
shared shared_os_specific))
(modules_without_implementation configwin_types)
(foreign_stubs
(language c)
(names coqide_os_stubs))
(libraries coqide-server.protocol coqide-server.core lablgtk3-sourceview3 platform_specific))
(library
(name platform_specific)
(wrapped false)
(modules shared shared_os_specific)
(foreign_stubs
(language c)
(names shared_os_stubs))
)
(executable
(name gen_gtk_platform)
(modules gen_gtk_platform)
(libraries conf))
(rule
(targets gtk_platform.conf config.ml)
(action (run ./gen_gtk_platform.exe)))
(rule
(targets coqide_os_specific.ml)
(action (copy# coqide_%{read:gtk_platform.conf}.ml.in %{targets})))
(rule
(targets shared_os_specific.ml)
(action (copy# shared_%{read:gtk_platform.conf}.ml.in %{targets})))
(rule
(targets coqide_os_stubs.c)
(action (copy coqide_%{read:gtk_platform.conf}.c.in %{targets})))
(rule
(targets shared_os_stubs.c)
(action (copy shared_%{read:gtk_platform.conf}.c.in %{targets})))
(executable
(name coqide_main)
(public_name coqide)
(package coqide)
(modules coqide_main)
(modes exe byte)
(libraries coqide_gui))
(documentation
(package coqide))
; Input-method bindings
(executable
(name default_bindings_src)
(modules default_bindings_src))
(rule
(targets default.bindings)
(deps (:gen ./default_bindings_src.exe))
(action (run %{gen} %{targets})))
(install
(section doc)
(package coqide)
(files FAQ))
; FIXME: we should install those in share/coqide. We better do this
; once the make-based system has been phased out.
(install
(section share_root)
(package coqide)
(files
(coq.png as coq/coq.png)
(default.bindings as coq/default.bindings)
(coq_style.xml as coq/coq_style.xml)
(coq.lang as coq/coq.lang)
(coq-ssreflect.lang as coq/coq-ssreflect.lang)))
|