mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb-errors.git
synced 2026-02-07 04:00:26 +01:00
This removes the need to do this in the Makefile, which also makes rebuilds work with the early exit approaching (coming next).
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
MAINTAINERCLEANFILES = ChangeLog INSTALL Makefile.in
|
|
|
|
.PHONY: ChangeLog INSTALL AlwaysDirty
|
|
|
|
INSTALL:
|
|
$(INSTALL_CMD)
|
|
|
|
ChangeLog:
|
|
$(CHANGELOG_CMD)
|
|
|
|
dist-hook: ChangeLog INSTALL
|
|
|
|
EXTRA_DIST = autogen.sh xcb-errors.pc.in src/errors.h src/extensions.py README.md
|
|
|
|
lib_LTLIBRARIES = libxcb-errors.la
|
|
|
|
xcbinclude_HEADERS = src/xcb_errors.h
|
|
|
|
AM_CFLAGS = $(CWARNFLAGS)
|
|
|
|
libxcb_errors_la_SOURCES = src/xcb_errors.c
|
|
nodist_libxcb_errors_la_SOURCES = src/extensions.c
|
|
libxcb_errors_la_CPPFLAGS = $(XCB_CFLAGS) $(XPROTO_CFLAGS) -I$(srcdir)/src
|
|
libxcb_errors_la_LIBADD = $(XCB_LIBS) $(XPROTO_LIBS)
|
|
libxcb_errors_la_LDFLAGS = -version-info 0:0:0 -no-undefined -export-symbols-regex '^xcb_errors_'
|
|
|
|
pkgconfig_DATA = xcb-errors.pc
|
|
|
|
TESTS = tests/test
|
|
check_PROGRAMS = tests/test
|
|
tests_test_SOURCE = tests/test.c
|
|
tests_test_CPPFLAGS = -I$(srcdir)/src/ $(XCB_CFLAGS)
|
|
tests_test_LDADD = libxcb-errors.la $(XCB_LIBS)
|
|
|
|
CLEANFILES = src/extensions.c src/extensions.c.checksums
|
|
|
|
src/extensions.c : AlwaysDirty
|
|
|
|
src/extensions.c: src/extensions.py
|
|
$(AM_V_GEN)$(PYTHON) $(srcdir)/src/extensions.py $@ $@.checksums ${XCBPROTO_XCBINCLUDEDIR}
|