]> git.saurik.com Git - apple/libc.git/blame_incremental - gmon/Makefile.inc
Libc-594.9.4.tar.gz
[apple/libc.git] / gmon / Makefile.inc
... / ...
CommitLineData
1# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
2# $FreeBSD: src/lib/libc/gmon/Makefile.inc,v 1.8 2001/03/27 17:26:47 ru Exp $
3
4# gmon sources
5.PATH: ${.CURDIR}/gmon
6
7MISRCS+= gmon.c
8
9.if ${LIB} == "c"
10MAN3 += moncontrol.3
11
12MLINKS += moncontrol.3 monstartup.3
13.endif
14
15GFLAGS = -O -pipe -Wmost -g -fno-common
16.if $(MACHINE_ARCH) != arm
17GFLAGS += -force_cpusubtype_ALL
18.endif
19.if ${GCC_42} != YES
20GFLAGS += -no-cpp-precomp
21.endif
22.ifdef SDKROOT
23GFLAGS += -isysroot '${SDKROOT}'
24.endif # SDKROOT
25
26# mcount cannot be compiled with profiling
27gmon.po:
28 ${MYCC} -arch ${CCARCH} ${GFLAGS} \
29 -I${.CURDIR}/include \
30 -I${SYMROOT}/include \
31 -I${INCLUDEDIR} \
32 -I${INCLUDEDIR}/objc \
33 ${PRIVINC} \
34 -c ${.CURDIR}/gmon/gmon.c -o gmon.po
35
36#gmon.po: gmon.o
37# cp gmon.o gmon.po