summaryrefslogtreecommitdiff
path: root/mk/Makefile
blob: 6278bf84e3b884ed4234dea15571537d41b8ab72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $OpenBSD$

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

.PATH: $(TOP)
.PATH: $(TOP)/src

.include <bsd.lib.mk>
.include <bsd.xorg.mk>