update to libpciacces 0.18.1 removes the autotools build system and add a simple make based one. The existing xenocara obj dir needs to be wiped before a make obj / make buildx
This commit is contained in:
parent
f60577aa63
commit
0c289f288c
43 changed files with 1418 additions and 10157 deletions
2
lib/libpciaccess/mk/.gitignore
vendored
Normal file
2
lib/libpciaccess/mk/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
!Makefile
|
||||
!config.h
|
47
lib/libpciaccess/mk/Makefile
Normal file
47
lib/libpciaccess/mk/Makefile
Normal file
|
@ -0,0 +1,47 @@
|
|||
# $OpenBSD: Makefile,v 1.1 2024/05/13 19:16:27 matthieu Exp $
|
||||
|
||||
PACKAGE_VERSION = 0.18.1
|
||||
LIB = pciaccess
|
||||
|
||||
TOP = ${.CURDIR}/..
|
||||
|
||||
NOPROFILE =
|
||||
|
||||
SRCS= \
|
||||
common_bridge.c \
|
||||
common_iterator.c \
|
||||
common_init.c \
|
||||
common_interface.c \
|
||||
common_io.c \
|
||||
common_capability.c \
|
||||
common_device_name.c \
|
||||
common_map.c \
|
||||
openbsd_pci.c
|
||||
|
||||
CPPFLAGS += \
|
||||
-DHAVE_CONFIG_H \
|
||||
-DPCIIDS_PATH=\"${X11BASE}/share\" \
|
||||
-I$(TOP)/mk \
|
||||
-I$(TOP)/src \
|
||||
-I$(TOP)/include
|
||||
|
||||
CFLAGS += -std=c99
|
||||
|
||||
EXTRA_PKGCONFIG_SUBST= "-e s/@PCIACCESS_LIBS@//"
|
||||
PKGCONFIG = pciaccess.pc
|
||||
|
||||
beforeinstall:
|
||||
@cmp -s ${DESTDIR}${X11BASE}/include/pciaccess.h \
|
||||
$(TOP)/include/pciaccess.h || \
|
||||
echo "${INSTALL_DATA} $(TOP)/include/pciaccess.h \
|
||||
${DESTDIR}${X11BASE}/include/pciaccess.h" && \
|
||||
${INSTALL_DATA} $(TOP)/include/pciaccess.h \
|
||||
${DESTDIR}${X11BASE}/include/pciaccess.h
|
||||
|
||||
obj: _xenocara_obj
|
||||
|
||||
.PATH: $(TOP)
|
||||
.PATH: $(TOP)/src
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
.include <bsd.xorg.mk>
|
10
lib/libpciaccess/mk/config.h
Normal file
10
lib/libpciaccess/mk/config.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* $OpenBSD: config.h,v 1.1 2024/05/13 19:16:27 matthieu Exp $ */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define HAVE_ERR_H 1
|
||||
#define HAVE_INTTYPES_H 1
|
||||
#define HAVE_STDINT_H 1
|
||||
#define HAVE_STRINGS_H 1
|
||||
#define HAVE_STRING_H 1
|
||||
/* undef HAVE_ZLIB */
|
3
lib/libpciaccess/mk/shlib_version
Normal file
3
lib/libpciaccess/mk/shlib_version
Normal file
|
@ -0,0 +1,3 @@
|
|||
major=2
|
||||
minor=1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue