-# $OpenBSD: bsd.own.mk,v 1.13 1996/11/24 02:47:41 niklas Exp $
+# $OpenBSD: bsd.own.mk,v 1.14 1997/02/18 15:52:36 rahnds Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
.if defined(MAKECONF) && exists(${MAKECONF})
# don't try to generate PIC versions of libraries on machines
# which don't support PIC.
-.if (${MACHINE_ARCH} == "alpha") || \
+.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "vax")
NOPIC=
.endif
+# don't try to generate PROFILED versions of libraries on machines
+# which don't support profiling.
+.if (${MACHINE_ARCH} == "powerpc")
+NOPROFILE=
+.endif
+
# No lint, for now.
NOLINT=