Annotation of src/usr.bin/size/Makefile, Revision 1.5
1.5 ! espie 1: # $OpenBSD: Makefile,v 1.4 1998/05/11 07:40:30 niklas Exp $
1.4 niklas 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.5 ! espie 19:
! 20: CFLAGS+= -I${.CURDIR}/../nm
1.1 deraadt 21:
22: PROG= size
23:
24: .include <bsd.prog.mk>