1NULL =
2
3lib_LTLIBRARIES = libmetacity.la
4
5libmetacity_la_SOURCES = \
6	meta-button.c \
7	meta-button.h \
8	meta-button-layout.c \
9	meta-button-layout-private.h \
10	meta-button-private.h \
11	meta-color.c \
12	meta-color.h \
13	meta-color-private.h \
14	meta-color-spec.c \
15	meta-color-spec-private.h \
16	meta-css-provider.c \
17	meta-css-provider-private.h \
18	meta-rectangle-private.h \
19	meta-draw-op.c \
20	meta-draw-op-private.h \
21	meta-draw-spec.c \
22	meta-draw-spec-private.h \
23	meta-frame-borders.c \
24	meta-frame-borders.h \
25	meta-frame-enums.h \
26	meta-frame-layout.c \
27	meta-frame-layout-private.h \
28	meta-frame-style.c \
29	meta-frame-style-private.h \
30	meta-gradient-spec.c \
31	meta-gradient-spec-private.h \
32	meta-hsla.c \
33	meta-hsla-private.h \
34	meta-style-info.c \
35	meta-style-info-private.h \
36	meta-theme.c \
37	meta-theme.h \
38	meta-theme-gtk.c \
39	meta-theme-gtk-private.h \
40	meta-theme-impl.c \
41	meta-theme-impl-private.h \
42	meta-theme-metacity.c \
43	meta-theme-metacity-private.h \
44	$(BUILT_SOURCES) \
45	$(NULL)
46
47libmetacity_la_CPPFLAGS = \
48	-DDATADIR=\"$(datadir)\" \
49	-DG_LOG_DOMAIN=\"libmetacity\" \
50	-DG_LOG_USE_STRUCTURED=1 \
51	-I$(top_srcdir) \
52	$(AM_CPPFLAGS) \
53	$(NULL)
54
55libmetacity_la_CFLAGS = \
56	$(LIBMETACITY_CFLAGS) \
57	$(WARN_CFLAGS) \
58	$(AM_CFLAGS) \
59	$(NULL)
60
61libmetacity_la_LDFLAGS = \
62	-version-info $(LT_VERSION_INFO) \
63	$(WARN_LDFLAGS) \
64	$(AM_LDFLAGS) \
65	$(NULL)
66
67libmetacity_la_LIBADD = \
68	$(LIBMETACITY_LIBS) \
69	$(LIBM) \
70	$(NULL)
71
72libmetacity_includedir = $(includedir)/metacity/libmetacity
73libmetacity_include_HEADERS = \
74	meta-button.h \
75	meta-color.h \
76	meta-frame-borders.h \
77	meta-frame-enums.h \
78	meta-theme.h \
79	$(NULL)
80
81ENUM_TYPES = \
82	$(srcdir)/meta-theme.h \
83	$(NULL)
84
85meta-enum-types.c: meta-enum-types.c.in $(ENUM_TYPES) Makefile.am
86	$(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/meta-enum-types.c.in $(ENUM_TYPES) > \
87		meta-enum-types.c.tmp && mv meta-enum-types.c.tmp meta-enum-types.c
88
89meta-enum-types.h: meta-enum-types.h.in $(ENUM_TYPES) Makefile.am
90	$(AM_V_GEN) $(GLIB_MKENUMS) --template $(srcdir)/meta-enum-types.h.in $(ENUM_TYPES) > \
91		meta-enum-types.h.tmp && mv meta-enum-types.h.tmp meta-enum-types.h
92
93BUILT_SOURCES = \
94	meta-enum-types.c \
95	meta-enum-types.h \
96	$(NULL)
97
98EXTRA_DIST = \
99	meta-enum-types.c.in \
100	meta-enum-types.h.in \
101	$(NULL)
102
103CLEANFILES = \
104	$(BUILT_SOURCES) \
105	$(NULL)
106
107-include $(top_srcdir)/git.mk
108