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