Changeset View
Changeset View
Standalone View
Standalone View
lib/libvmmapi/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PACKAGE=lib${LIB} | PACKAGE= lib${LIB} | ||||
LIB= vmmapi | SHLIBDIR?= /lib | ||||
SRCS= vmmapi.c vmmapi_freebsd.c | LIB_SRCTOP?= ${.CURDIR} | ||||
INCS= vmmapi.h | |||||
LIB= vmmapi | |||||
WARNS?= 2 | WARNS?= 2 | ||||
LIBADD= util | .if exists(${LIB_SRCTOP}/${MACHINE}) | ||||
LIB_ARCH= ${MACHINE} | |||||
.elif exists(${LIB_SRCTOP}/${MACHINE_ARCH}) | |||||
LIB_ARCH= ${MACHINE_ARCH} | |||||
.else | |||||
LIB_ARCH= ${MACHINE_CPUARCH} | |||||
.endif | |||||
CFLAGS+= -I${.CURDIR} | CFLAGS+= -I${LIB_SRCTOP}/${LIB_ARCH} | ||||
.include "${LIB_SRCTOP}/${LIB_ARCH}/Makefile.inc" | |||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> |