33 lines
891 B
Makefile
33 lines
891 B
Makefile
|
ACLOCAL_AMFLAGS = -I m4
|
||
|
|
||
|
MAINTAINERCLEANFILES = ChangeLog INSTALL Makefile.in
|
||
|
|
||
|
TEST_LIBS = $(shell pkg-config --libs x11 x11-xcb xcb xcb-aux)
|
||
|
|
||
|
.PHONY: ChangeLog INSTALL
|
||
|
|
||
|
INSTALL:
|
||
|
$(INSTALL_CMD)
|
||
|
|
||
|
ChangeLog:
|
||
|
$(CHANGELOG_CMD)
|
||
|
|
||
|
dist-hook: ChangeLog INSTALL
|
||
|
|
||
|
EXTRA_DIST = autogen.sh xcb-xrm.pc.in include/xcb_xrm.h include/database.h
|
||
|
EXTRA_DIST += include/entry.h include/externals.h include/match.h
|
||
|
EXTRA_DIST += include/resource.h include/util.h
|
||
|
|
||
|
lib_LTLIBRARIES = libxcb-xrm.la
|
||
|
|
||
|
xcbinclude_HEADERS = include/xcb_xrm.h
|
||
|
|
||
|
AM_CFLAGS = $(CWARNFLAGS)
|
||
|
|
||
|
libxcb_xrm_la_SOURCES = src/database.c src/resource.c src/entry.c src/match.c src/util.c
|
||
|
libxcb_xrm_la_CPPFLAGS = -I$(srcdir)/include/ $(XCB_CFLAGS) $(XCB_AUX_CFLAGS)
|
||
|
libxcb_xrm_la_LIBADD = $(XCB_LIBS) $(XCB_AUX_LIBS) -lm
|
||
|
libxcb_xrm_la_LDFLAGS = -version-info 0:0:0 -no-undefined -export-symbols-regex '^xcb_xrm_'
|
||
|
|
||
|
pkgconfig_DATA = xcb-xrm.pc
|