summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libxcb/libxcb/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/lib/libxcb/libxcb/Makefile b/lib/libxcb/libxcb/Makefile
index fa9e589be..10a99a6cf 100644
--- a/lib/libxcb/libxcb/Makefile
+++ b/lib/libxcb/libxcb/Makefile
@@ -1,9 +1,13 @@
-# $OpenBSD: Makefile,v 1.2 2009/05/22 16:53:05 matthieu Exp $
+# $OpenBSD: Makefile,v 1.3 2009/05/23 08:44:32 matthieu Exp $
LIB= xcb
HEADERS= xcb.h \
- xcbext.h
+ xcbext.h \
+
+EXTHEADERS= xproto.h \
+ bigreq.h \
+ xc_misc.h
_SRCDIR= ${LIBXCB}/src
@@ -15,12 +19,24 @@ SRCS= \
xcb_xid.c \
xcb_list.c \
xcb_util.c \
- xcb_auth.c
+ xcb_auth.c \
+ xproto.c \
+ bigreq.c \
+ xc_misc.c
PKGCONFIG= xcb.pc
EXTRA_PKGCONFIG_SUBST= '-e s,@NEEDED@,pthread-stubs xau >= 0.99.2 xdmcp,g' \
'-e s,@LIBS@,,g' \
+install-ext:
+ @echo installing ${EXTHEADERS} in ${INCSDIR}/${HEADER_SUBDIR}
+ cd ${.CURDIR}/../src; for i in ${EXTHEADERS}; do \
+ cmp -s $$i ${DESTDIR}${INCSDIR}/${HEADERS_SUBDIR}$$i || \
+ ${INSTALL_DATA} $$i ${DESTDIR}${INCSDIR}/${HEADERS_SUBDIR}$$i;\
+ done
+
+realinstall: install-ext
+
.include <bsd.lib.mk>
.include <bsd.xorg.mk>