No empty .Rs/.Re
[netbsd-mini2440.git] / usr.sbin / mdsetimage / Makefile
blobb28108d52af7b9fe575399abc7454eecb12fa4b8
1 # $NetBSD: Makefile,v 1.15 2002/12/10 17:59:41 fvdl Exp $
3 .include <bsd.own.mk>
5 PROG= mdsetimage
6 SRCS= mdsetimage.c exec_aout.c exec_ecoff.c exec_elf32.c exec_elf64.c \
7 exec_coff.c
8 MAN= mdsetimage.8
10 .if ${MACHINE_ARCH} == "alpha"
11 CPPFLAGS+=-DNLIST_ECOFF
12 CPPFLAGS+=-DNLIST_ELF64
13 .elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
14 CPPFLAGS+=-DNLIST_ECOFF
15 CPPFLAGS+=-DNLIST_ELF32
16 CPPFLAGS+=-DNLIST_AOUT
17 .elif ${MACHINE_ARCH} == "powerpc"
18 CPPFLAGS+=-DNLIST_ELF32
19 .elif ${MACHINE_ARCH} == "i386" || \
20 ${MACHINE_ARCH} == "m68k" || \
21 ${MACHINE_ARCH} == "m68000" || \
22 ${MACHINE_ARCH} == "vax" || \
23 ${MACHINE_CPU} == "arm"
24 CPPFLAGS+=-DNLIST_ELF32
25 CPPFLAGS+=-DNLIST_AOUT
26 CPPFLAGS+=-DNLIST_ELF64
27 .elif ${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb"
28 CPPFLAGS+=-DNLIST_COFF
29 CPPFLAGS+=-DNLIST_ELF32
30 .elif ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" || \
31 ${MACHINE_ARCH} == "x86_64"
32 CPPFLAGS+=-DNLIST_ELF64
33 CPPFLAGS+=-DNLIST_ELF32
34 CPPFLAGS+=-DNLIST_AOUT
35 .else
36 CPPFLAGS+=-DNLIST_AOUT
37 #CPPFLAGS+=-DNLIST_ECOFF
38 #CPPFLAGS+=-DNLIST_ELF32
39 #CPPFLAGS+=-DNLIST_ELF64
40 #CPPFLAGS+=-DNLIST_COFF
41 .endif
43 .include <bsd.prog.mk>