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

lib_LTLIBRARIES = libxcb-ewmh.la

nodist_xcbinclude_HEADERS = xcb_ewmh.h

AM_CFLAGS = $(CWARNFLAGS)

libxcb_ewmh_la_SOURCES = ewmh.c.m4 atomlist.m4 xcb_ewmh.h.m4
nodist_libxcb_ewmh_la_SOURCES = ewmh.c
libxcb_ewmh_la_CPPFLAGS = $(XCB_CFLAGS) $(XPROTO_CFLAGS)
libxcb_ewmh_la_LIBADD = $(XCB_LIBS) $(XPROTO_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) $< >$@