8876613dc5
if not already defined. This allows building libc from outside of lib/libc using a reach-over makefile. A typical use-case is to build a standard ILP32 version and a COMPAT32 version in a single iteration by building the COMPAT32 version using a reach-over makefile. Obtained from: Juniper Networks, Inc.
18 lines
309 B
Makefile
18 lines
309 B
Makefile
# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
|
|
# $FreeBSD$
|
|
|
|
# gmon sources
|
|
.PATH: ${LIBC_SRCTOP}/gmon
|
|
|
|
SRCS+= gmon.c mcount.c
|
|
|
|
SYM_MAPS+=${LIBC_SRCTOP}/gmon/Symbol.map
|
|
|
|
MAN+= moncontrol.3
|
|
|
|
MLINKS+=moncontrol.3 monstartup.3
|
|
|
|
# mcount cannot be compiled with profiling
|
|
mcount.po: mcount.o
|
|
cp mcount.o mcount.po
|