summaryrefslogtreecommitdiff
path: root/ewmh/Makefile.am
blob: 3e5f7394cf4518bccdafaaeb89988a00c777a8eb (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
MAINTAINERCLEANFILES = Makefile.in

lib_LTLIBRARIES = libxcb-ewmh.la

xcbinclude_HEADERS = xcb_ewmh.h

AM_CFLAGS = $(CWARNFLAGS)

libxcb_ewmh_la_SOURCES = ewmh.c ewmh.c.m4 atomlist.m4 xcb_ewmh.h.m4
libxcb_ewmh_la_CPPFLAGS = $(XCB_CFLAGS) $(XCB_ATOM_CFLAGS) $(XCB_AUX_CFLAGS)
libxcb_ewmh_la_LIBADD = $(XCB_LIBS) $(XCB_ATOM_LIBS) $(XCB_AUX_LIBS)
libxcb_ewmh_la_LDFLAGS = -version-info 1:0:0

pkgconfig_DATA = xcb-ewmh.pc

EXTRA_DIST = xcb-ewmh.pc.in

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

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

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