aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox/Makefile.am
blob: f8640971f889dbb3adb62f090d599a6dd4a95884 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
lib_LTLIBRARIES = libmatchbox-@MBWM_API_VERSION@.la

source_public_h = \
  matchbox.h

# Core...
source = \
  mb-wm-types.h \
  mb-wm-macros.h \
  mb-wm-object.h \
  mb-wm-object-props.h \
  mb-wm-object.c \
  mb-wm-debug.h \
  mb-wm-debug.c \
  mb-wm-client.h \
  mb-wm-client.c \
  mb-wm-client-base.h \
  mb-wm-client-base.c \
  mb-wm-client-window.h \
  mb-wm-client-window.c \
  mb-wm-root-window.h \
  mb-wm-root-window.c \
  mb-wm-stack.h \
  mb-wm-stack.c \
  mb-wm-props.h \
  mb-wm-props.c \
  mb-wm-util.h \
  mb-wm-util.c \
  mb-wm-atoms.h \
  mb-wm-atoms.c \
  mb-wm-layout.h \
  mb-wm-layout.c \
  mb-wm-keys.h \
  mb-wm-keys.c \
  mb-wm-decor.h \
  mb-wm-decor.c \
  mb-window-manager.h \
  mb-window-manager.c \
  mb-wm-main-context.h \
  mb-wm-main-context.c \
  xas.h \
  xas.c

# Client window types...
source += \
  mb-wm-client-app.h \
  mb-wm-client-app.c \
  mb-wm-client-panel.h \
  mb-wm-client-panel.c \
  mb-wm-client-dialog.h \
  mb-wm-client-dialog.c \
  mb-wm-client-note.h \
  mb-wm-client-note.c \
  mb-wm-client-input.h \
  mb-wm-client-input.c \
  mb-wm-client-desktop.h \
  mb-wm-client-desktop.c \
  mb-wm-client-menu.h \
  mb-wm-client-menu.c \
  mb-wm-client-override.h \
  mb-wm-client-override.c


# Compositing...
if ENABLE_COMPOSITE
source += mb-wm-comp-mgr.h
source += mb-wm-comp-mgr.c

if COMP_MGR_BACKEND
if ENABLE_CLUTTER_COMPOSITE_MANAGER
source += mb-wm-comp-mgr-clutter.h
source += mb-wm-comp-mgr-clutter.c
source += tidy/tidy-texture-frame.h tidy/tidy-texture-frame.c
else
source += mb-wm-comp-mgr-xrender.h
source += mb-wm-comp-mgr-xrender.c
endif
endif

endif #ENABLE_COMPOSITE

# Theming...
source += \
  mb-wm-theme.h \
  mb-wm-theme.c \
  mb-wm-theme-xml.h \
  mb-wm-theme-xml.c

if THEME_PNG
source += mb-wm-theme-png.c mb-wm-theme-png.h
endif

pkgincludedir = $(includedir)/matchbox-$(MBWM_API_VERSION)/matchbox
pkginclude_HEADERS = $(source_public_h)

libmatchbox_@MBWM_API_VERSION@_la_SOURCES = $(source_public_h) $(source)
libmatchbox_@MBWM_API_VERSION@_la_CFLAGS = $(MBWM_INCS) $(MBWM_CFLAGS) -DDATADIR=\"$(datadir)\"
libmatchbox_@MBWM_API_VERSION@_la_LIBADD = $(MBWM_LIBS)