use the code in bsd.xorg.mk to install headers.

This commit is contained in:
matthieu 2009-05-22 16:53:05 +00:00
parent fc61d47eda
commit 4670eb975d
22 changed files with 90 additions and 90 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.1.1.1 2009/05/22 16:09:01 matthieu Exp $ # $OpenBSD: Makefile.inc,v 1.2 2009/05/22 16:53:05 matthieu Exp $
LIBXCB= ${.CURDIR}/../../../dist/libxcb LIBXCB= ${.CURDIR}/../../../dist/libxcb
@ -12,10 +12,8 @@ CPPFLAGS= -I${X11BASE}/include \
obj: _xenocara_obj obj: _xenocara_obj
includes: HEADERS_SUBDIR= xcb/
@cd ${.CURDIR}/../src; for i in ${HDRS}; do \
cmp -s $$i ${DESTDIR}${INCSDIR}/xcb/$$i || \ _SRCDIR?= ${.CURDIR}/../src
${INSTALL} ${INSTALL_COPY} -m 444 -o ${BINOWN} -g ${BINGRP} $$i \
${DESTDIR}/${INCSDIR}/xcb; done
PACKAGE_VERSION!=m4 ${XSRCDIR}/share/mk/package_version.m4 ${LIBXCB}/configure.ac PACKAGE_VERSION!=m4 ${XSRCDIR}/share/mk/package_version.m4 ${LIBXCB}/configure.ac

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-composite LIB= xcb-composite
HDRS= composite.h HEADERS= composite.h
SRCS= composite.c SRCS= composite.c
PKGCONFIG= xcb-composite.pc PKGCONFIG= xcb-composite.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-damage LIB= xcb-damage
HDRS= damage.h HEADERS= damage.h
SRCS= damage.c SRCS= damage.c
PKGCONFIG= xcb-damage.pc PKGCONFIG= xcb-damage.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-dpms LIB= xcb-dpms
HDRS= dpms.h HEADERS= dpms.h
SRCS= dpms.c SRCS= dpms.c
PKGCONFIG= xcb-dpms.pc PKGCONFIG= xcb-dpms.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-glx LIB= xcb-glx
HDRS= glx.h HEADERS= glx.h
SRCS= glx.c SRCS= glx.c
PKGCONFIG= xcb-glx.pc PKGCONFIG= xcb-glx.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-randr LIB= xcb-randr
HDRS= randr.h HEADERS= randr.h
SRCS= randr.c SRCS= randr.c
PKGCONFIG= xcb-randr.pc PKGCONFIG= xcb-randr.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-record LIB= xcb-record
HDRS= record.h HEADERS= record.h
SRCS= record.c SRCS= record.c
PKGCONFIG= xcb-record.pc PKGCONFIG= xcb-record.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-render LIB= xcb-render
HDRS= render.h HEADERS= render.h
SRCS= render.c SRCS= render.c
PKGCONFIG= xcb-render.pc PKGCONFIG= xcb-render.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-res LIB= xcb-res
HDRS= res.h HEADERS= res.h
SRCS= res.c SRCS= res.c
PKGCONFIG= xcb-res.pc PKGCONFIG= xcb-res.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-screensaver LIB= xcb-screensaver
HDRS= screensaver.h HEADERS= screensaver.h
SRCS= screensaver.c SRCS= screensaver.c
PKGCONFIG= xcb-screensaver.pc PKGCONFIG= xcb-screensaver.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-shape LIB= xcb-shape
HDRS= shape.h HEADERS= shape.h
SRCS= shape.c SRCS= shape.c
PKGCONFIG= xcb-shape.pc PKGCONFIG= xcb-shape.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-shm LIB= xcb-shm
HDRS= shm.h HEADERS= shm.h
SRCS= shm.c SRCS= shm.c
PKGCONFIG= xcb-shm.pc PKGCONFIG= xcb-shm.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-sync LIB= xcb-sync
HDRS= sync.h HEADERS= sync.h
SRCS= sync.c SRCS= sync.c
PKGCONFIG= xcb-sync.pc PKGCONFIG= xcb-sync.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xevie LIB= xcb-xevie
HDRS= xevie.h HEADERS= xevie.h
SRCS= xevie.c SRCS= xevie.c
PKGCONFIG= xcb-xevie.pc PKGCONFIG= xcb-xevie.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xf86dri LIB= xcb-xf86dri
HDRS= xf86dri.h HEADERS= xf86dri.h
SRCS= xf86dri.c SRCS= xf86dri.c
PKGCONFIG= xcb-xf86dri.pc PKGCONFIG= xcb-xf86dri.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:47 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xfixes LIB= xcb-xfixes
HDRS= xfixes.h HEADERS= xfixes.h
SRCS= xfixes.c SRCS= xfixes.c
PKGCONFIG= xcb-xfixes.pc PKGCONFIG= xcb-xfixes.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:48 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xinerama LIB= xcb-xinerama
HDRS= xinerama.h HEADERS= xinerama.h
SRCS= xinerama.c SRCS= xinerama.c
PKGCONFIG= xcb-xinerama.pc PKGCONFIG= xcb-xinerama.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:48 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xprint LIB= xcb-xprint
HDRS= xprint.h HEADERS= xprint.h
SRCS= xprint.c SRCS= xprint.c
PKGCONFIG= xcb-xprint.pc PKGCONFIG= xcb-xprint.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:48 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xtest LIB= xcb-xtest
HDRS= xtest.h HEADERS= xtest.h
SRCS= xtest.c SRCS= xtest.c
PKGCONFIG= xcb-xtest.pc PKGCONFIG= xcb-xtest.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:48 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xv LIB= xcb-xv
HDRS= xv.h HEADERS= xv.h
SRCS= xv.c SRCS= xv.c
PKGCONFIG= xcb-xv.pc PKGCONFIG= xcb-xv.pc

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2009/05/22 16:22:48 matthieu Exp $ # $OpenBSD: Makefile,v 1.3 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb-xvmc LIB= xcb-xvmc
HDRS= xvmc.h HEADERS= xvmc.h
SRCS= xvmc.c SRCS= xvmc.c
PKGCONFIG= xcb-xvmc.pc PKGCONFIG= xcb-xvmc.pc

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/22 16:09:01 matthieu Exp $ # $OpenBSD: Makefile,v 1.2 2009/05/22 16:53:05 matthieu Exp $
LIB= xcb LIB= xcb
HDRS= xcb.h \ HEADERS= xcb.h \
xcb_ext.h xcbext.h
_SRCDIR= ${LIBXCB}/src
SRCS= \ SRCS= \
xcb_conn.c \ xcb_conn.c \