mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Start fresh on master, only apply needed patches on top now. Upstream commit: 56279fdef34eb28a4655b489b992c651bd8379fc Taken from: FreeBSD
32 lines
414 B
Makefile
32 lines
414 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
LIB= proc
|
|
|
|
SRCS= proc_bkpt.c \
|
|
proc_create.c \
|
|
proc_regs.c \
|
|
proc_sym.c \
|
|
proc_rtld.c \
|
|
proc_util.c
|
|
|
|
INCS= libproc.h
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
.if ${MK_LIBCPLUSPLUS} != "no"
|
|
LDADD+= -lcxxrt
|
|
DPADD+= ${LIBCXXRT}
|
|
.elif ${MK_GNUCXX} != "no"
|
|
LDADD+= -lsupc++
|
|
DPADD+= ${LIBSTDCPLUSPLUS}
|
|
.else
|
|
CFLAGS+= -DNO_CXA_DEMANGLE
|
|
.endif
|
|
|
|
SHLIB_MAJOR= 2
|
|
|
|
MAN=
|
|
|
|
.include <bsd.lib.mk>
|