summaryrefslogtreecommitdiff
path: root/lib/meson.build
blob: 3fdf0a5adadd3a656a3d42d831a61cc1d471bf4d (plain)
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
types_headers = [
  'ephy-security-levels.h',
  'ephy-sqlite-connection.h',
  'history/ephy-history-types.h'
]

enums = gnome.mkenums('ephy-lib',
  sources: types_headers,
  h_template: 'ephy-lib-type-builtins.h.in',
  c_template: 'ephy-lib-type-builtins.c.in'
)

libephymisc_sources = [
  'egg/eggtreemultidnd.c',
  'ephy-dbus-util.c',
  'ephy-debug.c',
  'ephy-dnd.c',
  'ephy-favicon-helpers.c',
  'ephy-file-helpers.c',
  'ephy-filters-manager.c',
  'ephy-form-auth-data.c',
  'ephy-gui.c',
  'ephy-langs.c',
  'ephy-permissions-manager.c',
  'ephy-profile-utils.c',
  'ephy-search-engine-manager.c',
  'ephy-security-levels.c',
  'ephy-settings.c',
  'ephy-signal-accumulator.c',
  'ephy-smaps.c',
  'ephy-snapshot-service.c',
  'ephy-sqlite-connection.c',
  'ephy-sqlite-statement.c',
  'ephy-string.c',
  'ephy-time-helpers.c',
  'ephy-uri-helpers.c',
  'ephy-uri-tester-shared.c',
  'ephy-web-app-utils.c',
  'ephy-zoom.c',
  'history/ephy-history-service.c',
  'history/ephy-history-service-hosts-table.c',
  'history/ephy-history-service-urls-table.c',
  'history/ephy-history-service-visits-table.c',
  'history/ephy-history-types.c',
  enums
]

libephymisc_deps = [
  cairo_dep,
  gdk_pixbuf_dep,
  gio_dep,
  gio_unix_dep,
  glib_dep,
  gnome_desktop_dep,
  gtk_dep,
  icu_uc_dep,
  libsecret_dep,
  libsoup_dep,
  libxml_dep,
  m_dep,
  sqlite3_dep,
  webkit2gtk_dep
]

libephymisc_includes = include_directories(
  '.',
  '..',
  'egg',
  'history'
)

libephymisc = shared_library('ephymisc',
  libephymisc_sources,
  dependencies: libephymisc_deps,
  include_directories: libephymisc_includes,
  install: true,
  install_dir: pkglibdir
)

ephymisc_dep = declare_dependency(
  link_with: libephymisc,
  include_directories: libephymisc_includes,
  dependencies: libephymisc_deps
)

subdir('widgets')