Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/sim makefile delint and reorg



details:   https://anonhg.NetBSD.org/src/rev/86db4a4681d9
branches:  trunk
changeset: 536590:86db4a4681d9
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Sep 19 01:58:06 2002 +0000

description:
makefile delint and reorg

diffstat:

 gnu/usr.bin/sim/Makefile.inc      |   5 -----
 gnu/usr.bin/sim/ppc/Makefile      |  29 +++++++++++++++++------------
 gnu/usr.bin/sim/ppc/Makefile.inc  |   5 -----
 gnu/usr.bin/sim/ppc/psim/Makefile |  11 ++++++++---
 4 files changed, 25 insertions(+), 25 deletions(-)

diffs (100 lines):

diff -r 17685b4c4ee2 -r 86db4a4681d9 gnu/usr.bin/sim/Makefile.inc
--- a/gnu/usr.bin/sim/Makefile.inc      Thu Sep 19 01:24:43 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-#      $NetBSD: Makefile.inc,v 1.1 2002/01/22 16:55:20 mrg Exp $
-
-DIST=           ${TOP}/dist/toolchain
-
-.include "../../Makefile.inc"
diff -r 17685b4c4ee2 -r 86db4a4681d9 gnu/usr.bin/sim/ppc/Makefile
--- a/gnu/usr.bin/sim/ppc/Makefile      Thu Sep 19 01:24:43 2002 +0000
+++ b/gnu/usr.bin/sim/ppc/Makefile      Thu Sep 19 01:58:06 2002 +0000
@@ -1,6 +1,13 @@
-#      $NetBSD: Makefile,v 1.3 2002/03/01 06:06:50 jmc Exp $
+#      $NetBSD: Makefile,v 1.4 2002/09/19 01:58:07 lukem Exp $
 
-TOP=   ${.CURDIR}/../../..
+NOLINT=                # defined
+NOPIC=         # defined
+NOPROFILE=     # defined
+
+.include <bsd.own.mk>
+
+TOP=   ${NETBSDSRCDIR}/gnu
+DIST=  ${TOP}/dist/toolchain
 
 LIB=   sim
 SRCS=  debug.c filter_filename.o bits.c sim-endian.c os_emul.c emul_generic.c \
@@ -11,26 +18,24 @@
        hw_iobus.c hw_htab.c hw_disk.c hw_trace.c hw_register.c hw_vm.c \
        hw_init.c hw_core.c hw_pal.c hw_com.c hw_eeprom.c hw_opic.c hw_glue.c \
        hw_phb.c hw_ide.c options.c sim_calls.c callback.o targ-map.c
-NOPIC=1
-NOPROFILE=1
-NOLINT=1
 
 all: libsim.a
 
 libinstall:
 
 .include <bsd.lib.mk>
+.include "../../Makefile.inc"
 
 MIC=   sh ${DIST}/move-if-change
 
-HOST_CPPFLAGS+=        -I${DIST}/sim/ppc -I${DIST}/sim/ppc/../../include \
-               -I${DIST}/sim/ppc/../../bfd -I../../gdb \
-               -I${DIST}/sim/ppc/../../gdb  \
-               -I${DIST}/sim/ppc/../../gdb/config \
-               -I${DIST}/sim/ppc/../../mmalloc \
+HOST_CPPFLAGS+=        -I${DIST}/sim/ppc -I${DIST}/include \
+               -I${DIST}/bfd -I../../gdb \
+               -I${DIST}/gdb  \
+               -I${DIST}/gdb/config \
+               -I${DIST}/mmalloc \
                -I${.CURDIR}/../arch/powerpc \
-               -I${.CURDIR}/../../../usr.bin/gdb/arch/powerpc \
-               -I${.CURDIR}/../../../lib/libbfd/arch/powerpc -I.
+               -I${TOP}/usr.bin/gdb/arch/powerpc \
+               -I${TOP}/lib/libbfd/arch/powerpc -I.
 PSIM_DEFINES=  -DHAVE_CONFIG_H \
                -DDEFAULT_INLINE=INLINE_LOCALS \
                -DWITH_HOST_BYTE_ORDER=BYTE_ORDER \
diff -r 17685b4c4ee2 -r 86db4a4681d9 gnu/usr.bin/sim/ppc/Makefile.inc
--- a/gnu/usr.bin/sim/ppc/Makefile.inc  Thu Sep 19 01:24:43 2002 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-#      $NetBSD: Makefile.inc,v 1.1 2002/01/22 16:55:20 mrg Exp $
-
-DIST=           ${TOP}/dist/toolchain
-
-.include "../../../Makefile.inc"
diff -r 17685b4c4ee2 -r 86db4a4681d9 gnu/usr.bin/sim/ppc/psim/Makefile
--- a/gnu/usr.bin/sim/ppc/psim/Makefile Thu Sep 19 01:24:43 2002 +0000
+++ b/gnu/usr.bin/sim/ppc/psim/Makefile Thu Sep 19 01:58:06 2002 +0000
@@ -1,16 +1,21 @@
-#      $NetBSD: Makefile,v 1.1 2002/01/22 16:55:20 mrg Exp $
+#      $NetBSD: Makefile,v 1.2 2002/09/19 01:58:07 lukem Exp $
+
+NOMAN= # defined
 
-TOP=   ${.CURDIR}/../../../..
+.include <bsd.own.mk>
+
+TOP=   ${NETBSDSRCDIR}/gnu
+DIST=  ${TOP}/dist/toolchain
 
 PROG=  psim
 SRCS=  main.c
 CPPFLAGS+=     -I${SIMDIR} -I${.CURDIR}/../../arch/powerpc
-NOMAN=
 
 LDADD+=        -lintl
 DPADD+=        ${LIBINTL}
 
 .include <bsd.prog.mk>
+.include "../../../Makefile.inc"
 
 SIMDIR!=       cd ${TOP}/usr.bin/sim/ppc && ${PRINTOBJDIR}
 



Home | Main Index | Thread Index | Old Index