blob: 6dd341df3d3dc87bd8888b355902410aa6d96af4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $OpenBSD: Makefile,v 1.4 1998/05/11 20:34:56 niklas Exp $
TARGET_MACHINE_ARCH?= ${MACHINE_ARCH}
.if ${TARGET_MACHINE_ARCH} != ${MACHINE_ARCH}
# XXX should make this automatic
.if ${TARGET_MACHINE_ARCH} == "i386"
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_I386
.elif ${TARGET_MACHINE_ARCH} == "m68k"
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_M68K
.elif ${TARGET_MACHINE_ARCH} == "ns32k"
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_NS32K
.elif ${TARGET_MACHINE_ARCH} == "sparc"
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_SPARC
.elif ${TARGET_MACHINE_ARCH} == "vax"
CFLAGS+= -DMID_MACHINE_OVERRIDE=MID_VAX
.endif
.endif
PROG= nm
.include <bsd.prog.mk>
|