summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-23 08:44:33 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-23 08:44:33 +0000
commit013b4a3065ff281c23c32277f08a521fd7922c23 (patch)
tree63166bc05b3287235a6b1fb27aa00e82c1f55bf9
parentd7f1eda6e8c5ea3ce4f3db475a3f93be69caecb6 (diff)
Fix main libxcb. There are some builtin extensions that were left out.
-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>