No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / usr.bin / gdb6 / sim / psim / Makefile
blob6a52809e06f7cc5856d9a708dbe260f450cd2627
1 # $NetBSD: Makefile,v 1.2 2006/05/15 19:11:51 nathanw Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
7 TOP= ${NETBSDSRCDIR}/gnu
8 DIST= ${TOP}/dist/gdb6
10 PROG= psim
11 SRCS= main.c
13 HOST_CPPFLAGS+= -I. \
14 -I${DIST}/sim/ppc -I${DIST}/include \
15 -I${.CURDIR}/../../arch/${MACHINE_ARCH} \
16 -I${.CURDIR}/../../bfd/arch/${MACHINE_ARCH} \
17 -I${DIST}/bfd \
18 -I${.CURDIR}/../../gdb \
19 -I${DIST}/gdb \
20 -I${DIST}/gdb/config \
21 -DHAVE_COMMON_FPU \
22 -I${.CURDIR}/../arch/${MACHINE_ARCH} \
23 -I${DIST}/sim/common
24 PSIM_DEFINES= -DHAVE_CONFIG_H \
25 -DDEFAULT_INLINE=PSIM_INLINE_LOCALS \
26 -DWITH_HOST_BYTE_ORDER=BYTE_ORDER \
27 -DWITH_SMP=5 \
28 -DHAVE_TERMIOS_STRUCTURE \
29 -DHAVE_DEVZERO
30 CPPFLAGS+= ${HOST_CPPFLAGS} ${PSIM_DEFINES}
32 .include "../../../Makefile.inc"
33 .include <bsd.prog.mk>
35 SIMDIR!= cd ${.CURDIR}/../ppc && ${PRINTOBJDIR}
37 LDADD+= -L${SIMDIR} -lsim
38 DPADD+= ${SIMDIR}/libsim.a
40 LIBBFDDIR!= cd ${.CURDIR}/../../bfd && ${PRINTOBJDIR}
41 LDADD+= -L${LIBBFDDIR} -lbfd
42 DPADD+= ${LIBBFDDIR}/libbfd.a
44 LIBIBERTYDIR!= cd ${.CURDIR}/../../libiberty && ${PRINTOBJDIR}
45 LDADD+= -L${LIBIBERTYDIR} -liberty
46 DPADD+= ${LIBIBERTYDIR}/libiberty.a
48 .PATH: ${DIST}/sim/ppc