version 1.3, 1997/09/21 11:50:47 |
version 1.4, 1998/05/11 07:40:30 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
|
|
|
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= size |
PROG= size |
|
|
.include <bsd.prog.mk> |
.include <bsd.prog.mk> |