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