summaryrefslogtreecommitdiff
path: root/ewmh/Makefile.am
blob: ce938b92a3f8c2094ba3c721bb8b48741dc23824 (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

lib_LTLIBRARIES = libxcb-ewmh.la

nodist_xcbinclude_HEADERS = xcb_ewmh.h

AM_CFLAGS = $(CWARNFLAGS)
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

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) $< >$@