File: dune

package info (click to toggle)
lablgtk3 3.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,796 kB
  • sloc: ml: 40,890; ansic: 22,312; makefile: 133; sh: 17
file content (37 lines) | stat: -rw-r--r-- 1,280 bytes parent folder | download | duplicates (4)
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
; Dune build file for lablgtk3
; Written by EJGA, (c) 2018-2019 MINES ParisTech
; This file is in the public domain

(rule
 (targets sourceView3_tags.h sourceView3_tags.c sourceView3Enums.ml)
 (action (run varcc %{dep:sourceView3_tags.var})))

(rule
 (targets gtkSourceView3Props.ml ogtkSourceView3Props.ml)
 (action (run propcc %{dep:gtkSourceView3.props})))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; lablgtk3-sourceview3                                                 ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(rule
 (targets
   cflag-gtksourceview-3.0.sexp
   clink-gtksourceview-3.0.sexp)
 (action (run dune_config -pkg gtksourceview-3.0 -version 3.18)))

(rule
 (targets cflag-extraflags.sexp)
 (action (with-outputs-to cflag-extraflags.sexp (echo "(%{env:LABLGTK_EXTRA_FLAGS=})"))))

(library
 (name lablgtk3_sourceview3)
 (public_name lablgtk3-sourceview3)
 (wrapped false)
 (flags :standard -w -6-7-27-32-33-34-36)
 (modules_without_implementation gtkSourceView3_types)
 (c_names ml_gtksourceview3)
 (c_flags         (:include cflag-gtksourceview-3.0.sexp) (:include cflag-extraflags.sexp) -Wno-deprecated-declarations)
 (c_library_flags (:include clink-gtksourceview-3.0.sexp))
 (libraries lablgtk3))