summaryrefslogtreecommitdiff
path: root/lib/xcb-util-wm/ewmh/Makefile.am
blob: bf96ecb53a348bf45172d4abcd12aa4417721750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

lib_LTLIBRARIES = libxcb-ewmh.la

nodist_xcbinclude_HEADERS = xcb_ewmh.h

AM_CFLAGS = $(BASE_CFLAGS)
AM_CPPFLAGS = $(XCB_CFLAGS)

libxcb_ewmh_la_SOURCES = ewmh.c.m4 atomlist.m4 xcb_ewmh.h.m4
nodist_libxcb_ewmh_la_SOURCES = ewmh.c
libxcb_ewmh_la_LIBADD = $(XCB_LIBS)
libxcb_ewmh_la_LDFLAGS = -version-info 2:0:0 -no-undefined

pkgconfig_DATA = xcb-ewmh.pc

BUILT_SOURCES = ewmh.c xcb_ewmh.h
CLEANFILES = $(BUILT_SOURCES)

ewmh.c: $(srcdir)/ewmh.c.m4 $(srcdir)/atomlist.m4
	$(AM_V_GEN)$(M4) -I$(srcdir) $(srcdir)/ewmh.c.m4 >$@

xcb_ewmh.h: $(srcdir)/xcb_ewmh.h.m4 $(srcdir)/atomlist.m4
	$(AM_V_GEN)$(M4) -I$(srcdir) $(srcdir)/xcb_ewmh.h.m4 >$@