head	1.4;
access;
symbols
	netbsd-11-0-RC5:1.4
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.18
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.16
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.3.8.1
	netbsd-9-4-RELEASE:1.4
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.14
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.4
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.12
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.4.0.10
	cjep_staticlib_x-base:1.4
	netbsd-9-1-RELEASE:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	is-mlppp:1.4.0.8
	is-mlppp-base:1.4
	phil-wifi-20200406:1.4
	netbsd-8-2-RELEASE:1.3.8.1
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.4
	netbsd-9:1.4.0.6
	netbsd-9-base:1.4
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.3.8.1
	netbsd-8-1-RC1:1.3.8.1
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.3.8.1
	phil-wifi:1.4.0.4
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.3.8.1
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.3.8.1
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	pgoyette-compat:1.4.0.2
	pgoyette-compat-base:1.4
	matt-nb8-mediatek:1.3.8.1.0.2
	matt-nb8-mediatek-base:1.3.8.1
	perseant-stdc-iso10646:1.3.0.10
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.8
	netbsd-8-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.6
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	bouyer-socketcan:1.3.0.4
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	pgoyette-localcount-20161104:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.2
	pgoyette-localcount-base:1.3;
locks; strict;
comment	@# @;


1.4
date	2017.10.06.19.18.16;	author christos;	state Exp;
branches;
next	1.3;
commitid	qE3hPx09yNTbF1aA;

1.3
date	2016.03.15.03.17.59;	author mrg;	state Exp;
branches
	1.3.8.1;
next	1.2;
commitid	0ZRwKkGNDeHDFGYy;

1.2
date	2015.12.24.00.36.43;	author wiz;	state Exp;
branches;
next	1.1;
commitid	goICXvOfuZXCp8Oy;

1.1
date	2015.09.24.14.12.48;	author christos;	state Exp;
branches;
next	;
commitid	mspgMVRbGBZ4RvCy;

1.3.8.1
date	2017.10.11.22.49.49;	author snj;	state Exp;
branches;
next	;
commitid	7avcFn3mxglxFGaA;


desc
@@


1.4
log
@bump because of libstdc++
@
text
@# $NetBSD: Makefile,v 1.3 2016/03/15 03:17:59 mrg Exp $

.include <bsd.own.mk>

MKMAN=	no
LIB=	proc

SRCS=	proc_bkpt.c		\
	proc_create.c		\
	proc_regs.c		\
	proc_sym.c		\
	proc_rtld.c		\
	proc_util.c

INCS=	libproc.h
INCSDIR=/usr/include

LIBPROCDIR=${.CURDIR}/../dist

.PATH: ${LIBPROCDIR}

CPPFLAGS+=	-I${LIBPROCDIR} -I${.CURDIR}/../../librtld_db

.if ${MKCTF} != "no"
OSNET=${NETBSDSRCDIR}/external/cddl/osnet/

LIBDPLIBS +=	ctf ${OSNET}/lib/libctf

CPPFLAGS+=	-I${OSNET}/sys \
		-I${OSNET}/dist/uts/common \
		-I${OSNET}/dist/lib/libctf/common
.else
CPPFLAGS+=	-DNO_CTF
.endif

.if defined(NOCPLUSPLUS) || ${MKCXX} == "no"
CPPFLAGS+=	-DNO_CXA_DEMANGLE
.else
LIBISCXX=	yes
.endif

LIBDPLIBS+=	elf ${NETBSDSRCDIR}/external/bsd/elftoolchain/lib/libelf
LIBDPLIBS+=	rtld_db ${NETBSDSRCDIR}/external/bsd/librtld_db/lib
LIBDPLIBS+=	util ${NETBSDSRCDIR}/lib/libutil

SHLIB_MAJOR=	1
SHLIB_MINOR=	0

.include <bsd.lib.mk>
@


1.3
log
@don't try to do c++ if MKCXX == "no".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2015/12/24 00:36:43 wiz Exp $
d46 1
a46 1
SHLIB_MAJOR=	0
@


1.3.8.1
log
@Pull up following revision(s) (requested by christos in ticket #318):
	distrib/sets/lists/base/md.amd64: revision 1.271 via patch
	distrib/sets/lists/base/shl.mi: revision 1.820, 1.821
	distrib/sets/lists/comp/shl.mi: revision 1.307
	distrib/sets/lists/debug/ad.arm: revision 1.75
	distrib/sets/lists/debug/md.amd64: revision 1.99
	distrib/sets/lists/debug/shl.mi: revision 1.182, 1.183
	distrib/sets/lists/xbase/shl.mi: revision 1.78
	distrib/sets/lists/xdebug/shl.mi: revision 1.41
	external/bsd/atf/lib/libatf-c++/shlib_version: revision 1.3
	external/bsd/libproc/lib/Makefile: revision 1.4
	external/gpl3/gcc/lib/libasan/shlib_version: revision 1.3
	external/gpl3/gcc/lib/libstdc++-v3/Makefile: patch
	external/gpl3/gcc/lib/libubsan/shlib_version: revision 1.2
	external/mit/xorg/lib/libGL/shlib_version: revision 1.3
	external/mit/xorg/lib/libGLU/shlib_version: revision 1.4
	external/mit/xorg/lib/libglapi/Makefile: revision 1.2
bump libstdc++ to account for disabling the "dual abi".
bump because of libstdc++
bump because of libstdc++
bump because libstdc++
bump libraries that depend on libstdc++.
bump c++ libraries because of the libstdc++ dual abi bump
bump libglapi, libGL libGLU because of the libstdc++ dual abi bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2016/03/15 03:17:59 mrg Exp $
d46 1
a46 1
SHLIB_MAJOR=	1
@


1.2
log
@Mark as using c++ using LIBISCXX instead of manual workaround.

The workaround was confused when MKLLVM was set, but HAVE_LLVM was not.

Solution suggested by joerg.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2015/09/24 14:12:48 christos Exp $
d36 1
a36 1
.if defined(NOCPLUSPLUS)
@


1.1
log
@Add glue, adjust for NetBSD.
@
text
@d1 1
a1 1
# $NetBSD$
d39 1
a39 5
. if ${MKLIBCXX} == "yes"
LIBDPLIBS+=     c++     ${NETBSDSRCDIR}/external/bsd/libc++/lib
. else
LIBDPLIBS+=     stdc++  ${NETBSDSRCDIR}/external/gpl3/${EXTERNAL_GCC_SUBDIR}/lib/libstdc++-v3
. endif
@

