head	1.18;
access;
symbols
	perseant-exfatfs-base-20250801:1.18
	perseant-exfatfs-base-20240630:1.18
	cjep_sun2x:1.18.0.44
	cjep_sun2x-base:1.18
	cjep_staticlib_x-base1:1.18
	cjep_staticlib_x:1.18.0.42
	cjep_staticlib_x-base:1.18
	phil-wifi-20200421:1.18
	phil-wifi-20200411:1.18
	phil-wifi-20200406:1.18
	pgoyette-compat-merge-20190127:1.18
	pgoyette-compat-20190127:1.18
	pgoyette-compat-20190118:1.18
	pgoyette-compat-1226:1.18
	pgoyette-compat-1126:1.18
	pgoyette-compat-1020:1.18
	pgoyette-compat-0930:1.18
	pgoyette-compat-0906:1.18
	pgoyette-compat-0728:1.18
	pgoyette-compat-0625:1.18
	pgoyette-compat-0521:1.18
	pgoyette-compat-0502:1.18
	pgoyette-compat-0422:1.18
	pgoyette-compat-0415:1.18
	pgoyette-compat-0407:1.18
	pgoyette-compat-0330:1.18
	pgoyette-compat-0322:1.18
	pgoyette-compat-0315:1.18
	pgoyette-compat:1.18.0.40
	pgoyette-compat-base:1.18
	perseant-stdc-iso10646:1.18.0.38
	perseant-stdc-iso10646-base:1.18
	prg-localcount2-base3:1.18
	prg-localcount2-base2:1.18
	prg-localcount2-base1:1.18
	prg-localcount2:1.18.0.36
	prg-localcount2-base:1.18
	pgoyette-localcount-20170426:1.18
	bouyer-socketcan-base1:1.18
	pgoyette-localcount-20170320:1.18
	bouyer-socketcan:1.18.0.34
	bouyer-socketcan-base:1.18
	pgoyette-localcount-20170107:1.18
	pgoyette-localcount-20161104:1.18
	localcount-20160914:1.18
	pgoyette-localcount-20160806:1.18
	pgoyette-localcount-20160726:1.18
	pgoyette-localcount:1.18.0.32
	pgoyette-localcount-base:1.18
	netbsd-5-2-3-RELEASE:1.18
	netbsd-5-1-5-RELEASE:1.18
	yamt-pagecache-base9:1.18
	yamt-pagecache-tag8:1.18
	tls-earlyentropy:1.18.0.28
	tls-earlyentropy-base:1.18
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.18
	riastradh-drm2-base3:1.18
	netbsd-5-2-2-RELEASE:1.18
	netbsd-5-1-4-RELEASE:1.18
	netbsd-5-2-1-RELEASE:1.18
	netbsd-5-1-3-RELEASE:1.18
	agc-symver:1.18.0.30
	agc-symver-base:1.18
	tls-maxphys-base:1.18
	yamt-pagecache-base8:1.18
	netbsd-5-2:1.18.0.26
	yamt-pagecache-base7:1.18
	netbsd-5-2-RELEASE:1.18
	netbsd-5-2-RC1:1.18
	yamt-pagecache-base6:1.18
	yamt-pagecache-base5:1.18
	yamt-pagecache-base4:1.18
	netbsd-5-1-2-RELEASE:1.18
	netbsd-5-1-1-RELEASE:1.18
	yamt-pagecache-base3:1.18
	yamt-pagecache-base2:1.18
	yamt-pagecache:1.18.0.24
	yamt-pagecache-base:1.18
	bouyer-quota2-nbase:1.18
	bouyer-quota2:1.18.0.22
	bouyer-quota2-base:1.18
	matt-nb5-pq3:1.18.0.20
	matt-nb5-pq3-base:1.18
	netbsd-5-1:1.18.0.18
	netbsd-5-1-RELEASE:1.18
	netbsd-5-1-RC4:1.18
	netbsd-5-1-RC3:1.18
	netbsd-5-1-RC2:1.18
	netbsd-5-1-RC1:1.18
	netbsd-5-0-2-RELEASE:1.18
	netbsd-5-0-1-RELEASE:1.18
	jym-xensuspend-nbase:1.18
	netbsd-5-0:1.18.0.16
	netbsd-5-0-RELEASE:1.18
	netbsd-5-0-RC4:1.18
	netbsd-5-0-RC3:1.18
	netbsd-5-0-RC2:1.18
	jym-xensuspend:1.18.0.14
	jym-xensuspend-base:1.18
	netbsd-5-0-RC1:1.18
	netbsd-5:1.18.0.12
	netbsd-5-base:1.18
	mjf-devfs2:1.18.0.10
	mjf-devfs2-base:1.18
	yamt-pf42-base4:1.18
	yamt-pf42-base3:1.18
	hpcarm-cleanup-nbase:1.18
	yamt-pf42-base2:1.18
	yamt-pf42:1.18.0.8
	yamt-pf42-base:1.18
	keiichi-mipv6:1.18.0.6
	keiichi-mipv6-base:1.18
	cube-autoconf:1.18.0.4
	cube-autoconf-base:1.18
	hpcarm-cleanup:1.18.0.2
	hpcarm-cleanup-base:1.18
	netbsd-1-3-PATCH003:1.12.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.12.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.12.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.12.2.1
	netbsd-1-3-PATCH002:1.12.2.1
	netbsd-1-3-PATCH001:1.12.2.1
	netbsd-1-3-RELEASE:1.12.2.1
	netbsd-1-3-BETA:1.12.2.1
	netbsd-1-3:1.12.0.2
	netbsd-1-3-base:1.12
	cjs-build-against-obj-dir:1.11.0.2
	GCC_2_7_2_1:1.1.1.2
	FSF:1.1.1
	netbsd-1-2-PATCH001:1.4.4.2
	netbsd-1-2-RELEASE:1.4.4.2
	netbsd-1-2-BETA:1.4.4.2
	netbsd-1-2-base:1.4
	netbsd-1-2:1.4.0.4
	FSF-2-7-2:1.1.1.1;
locks; strict;
comment	@# @;


1.18
date	98.12.12.23.46.01;	author tv;	state dead;
branches;
next	1.17;

1.17
date	98.09.12.19.45.37;	author wrstuden;	state Exp;
branches;
next	1.16;

1.16
date	98.07.27.02.29.25;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	98.05.20.12.34.14;	author pk;	state Exp;
branches;
next	1.14;

1.14
date	98.04.09.00.32.35;	author tv;	state Exp;
branches;
next	1.13;

1.13
date	97.10.25.10.11.01;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	97.05.31.21.21.29;	author cjs;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	97.05.30.13.43.12;	author cjs;	state Exp;
branches;
next	1.10;

1.10
date	97.05.16.21.16.47;	author mycroft;	state Exp;
branches;
next	1.9;

1.9
date	97.05.13.21.01.58;	author phil;	state Exp;
branches;
next	1.8;

1.8
date	97.05.09.07.50.08;	author mycroft;	state Exp;
branches;
next	1.7;

1.7
date	97.05.07.16.20.30;	author mycroft;	state Exp;
branches;
next	1.6;

1.6
date	97.05.07.07.15.39;	author mycroft;	state Exp;
branches;
next	1.5;

1.5
date	96.05.23.04.54.46;	author phil;	state Exp;
branches;
next	1.4;

1.4
date	96.03.06.20.40.06;	author jtc;	state Exp;
branches
	1.4.4.1;
next	1.3;

1.3
date	96.03.05.00.12.50;	author jtc;	state Exp;
branches;
next	1.2;

1.2
date	96.03.01.00.13.51;	author jtc;	state Exp;
branches;
next	1.1;

1.1
date	95.12.01.17.59.42;	author phil;	state Exp;
branches
	1.1.1.1;
next	;

1.12.2.1
date	97.11.08.06.53.12;	author lukem;	state Exp;
branches;
next	;

1.4.4.1
date	96.06.07.07.56.30;	author phil;	state Exp;
branches;
next	1.4.4.2;

1.4.4.2
date	96.06.07.08.08.24;	author phil;	state Exp;
branches;
next	;

1.1.1.1
date	95.12.01.17.59.42;	author phil;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.05.14.05.07.27;	author phil;	state Exp;
branches;
next	;


desc
@@


1.18
log
@GC old gcc 2.7.2.2.
@
text
@#	$NetBSD: Makefile,v 1.17 1998/09/12 19:45:37 wrstuden Exp $

LIB=	cc1

# XXX temporary for mips -> mipsel migration
TARGET_ARCH=${MACHINE_ARCH:C/^mips.*/mips/}

NOMAN=
NOPIC=
NOPROFILE=
NOLINT=nolint
YHEADER=1

COMMON!=cd $(.CURDIR)/../common; \
	 printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-

CPPFLAGS+=-I${.CURDIR} -I${.CURDIR}/../arch \
	-I${.CURDIR}/../arch/$(TARGET_ARCH) -I$(COMMON)

HOST_CFLAGS+=${CPPFLAGS}

MD= ${.CURDIR}/../arch/${TARGET_ARCH}/${TARGET_ARCH}.md

BCDEF= ${.CURDIR}/bytecode.def

.PATH:	${.CURDIR}/../arch/${TARGET_ARCH}

SRCS=	bc-arity.h bc-opcode.h bc-opname.h c-parse.h bc-emit.c \
	bc-optab.c bi-reverse.c c-aux-info.c c-common.c c-convert.c \
	c-decl.c c-iterate.c c-lex.c c-pragma.c c-typeck.c \
	caller-save.c calls.c combine.c convert.c cse.c \
	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c \
	expr.c final.c flow.c fold-const.c function.c \
	getpwd.c global.c integrate.c jump.c local-alloc.c \
	loop.c obstack.c optabs.c print-rtl.c print-tree.c \
	real.c recog.c reg-stack.c regclass.c reload.c \
	reload1.c reorg.c rtl.c rtlanal.c sched.c \
	sdbout.c stmt.c stor-layout.c stupid.c toplev.c \
	tree.c unroll.c varasm.c version.c xcoffout.c \
	$(TARGET_ARCH).c insn-attr.h insn-codes.h insn-config.h insn-flags.h \
	insn-peep.c insn-opinit.c insn-recog.c insn-extract.c insn-output.c \
	insn-emit.c insn-attrtab.c 

insn-attr.h: genattr $(MD)
	./genattr $(MD) > insn-attr.h
CLEANFILES += insn-attr.h genattr genattr.lo

insn-flags.h: genflags $(MD)
	./genflags $(MD) > insn-flags.h
CLEANFILES += insn-flags.h genflags genflags.lo

insn-codes.h: gencodes $(MD)
	./gencodes $(MD) > insn-codes.h
CLEANFILES += insn-codes.h gencodes gencodes.lo

insn-config.h: genconfig $(MD)
	./genconfig $(MD) > insn-config.h
CLEANFILES += insn-config.h genconfig genconfig.lo

bc-opcode.h: bi-opcode $(BCDEF)
	./bi-opcode < $(BCDEF) > bc-opcode.h
CLEANFILES += bc-opcode.h bi-opcode bi-opcode.lo

bc-opname.h: bi-opname $(BCDEF)
	./bi-opname < $(BCDEF) > bc-opname.h
CLEANFILES += bc-opname.h bi-opname bi-opname.lo

bc-arity.h: bi-arity $(BCDEF)
	./bi-arity < $(BCDEF) > bc-arity.h
CLEANFILES += bc-arity.h bi-arity bi-arity.lo

insn-peep.c: genpeep $(MD)
	./genpeep $(MD) > insn-peep.c
CLEANFILES += insn-peep.c genpeep genpeep.lo

insn-opinit.c: genopinit $(MD)
	./genopinit $(MD) > insn-opinit.c
CLEANFILES += insn-opinit.c genopinit genopinit.lo

insn-recog.c: genrecog $(MD)
	./genrecog $(MD) > insn-recog.c
CLEANFILES += insn-recog.c genrecog genrecog.lo

insn-extract.c: genextract $(MD)
	./genextract $(MD) > insn-extract.c
CLEANFILES += insn-extract.c genextract genextract.lo

insn-output.c: genoutput $(MD)
	./genoutput $(MD) > insn-output.c
CLEANFILES += insn-output.c genoutput genoutput.lo

insn-emit.c: genemit $(MD)
	./genemit $(MD) > insn-emit.c
CLEANFILES += insn-emit.c genemit genemit.lo

insn-attrtab.c: genattrtab $(MD)
	./genattrtab $(MD) > insn-attrtab.c
CLEANFILES += insn-attrtab.c genattrtab genattrtab.lo

genattr.lo: genattr.c

genattr: genattr.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genattr ${.ALLSRC}

genflags.lo: genflags.c

genflags: genflags.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genflags ${.ALLSRC}

gencodes.lo: gencodes.c

gencodes: gencodes.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o gencodes ${.ALLSRC}

genconfig.lo: genconfig.c

genconfig: genconfig.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genconfig ${.ALLSRC}

genpeep.lo: genpeep.c

genpeep: genpeep.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genpeep ${.ALLSRC}

genopinit.lo: genopinit.c

genopinit: genopinit.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genopinit ${.ALLSRC}

genrecog.lo: genrecog.c

genrecog: genrecog.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genrecog ${.ALLSRC}

genextract.lo: genextract.c

genextract: genextract.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genextract ${.ALLSRC}

genoutput.lo: genoutput.c

genoutput: genoutput.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genoutput ${.ALLSRC}

genemit.lo: genemit.c

genemit: genemit.lo rtl.lo obstack.lo
	$(HOST_LINK.c) -o genemit ${.ALLSRC}

genattrtab.lo: genattrtab.c

genattrtab: genattrtab.lo rtl.lo obstack.lo print-rtl.lo rtlanal.lo
	$(HOST_LINK.c) -o genattrtab ${.ALLSRC}

bi-opcode.lo: bi-opcode.c

bi-opcode: bi-opcode.lo bi-parser.lo bi-lexer.lo bi-reverse.lo obstack.lo
	$(HOST_LINK.c) -o bi-opcode ${.ALLSRC}

bi-opname.lo: bi-opname.c

bi-opname: bi-opname.lo bi-parser.lo bi-lexer.lo bi-reverse.lo obstack.lo
	$(HOST_LINK.c) -o bi-opname ${.ALLSRC}

bi-arity.lo: bi-arity.c

bi-arity: bi-arity.lo bi-parser.lo bi-lexer.lo bi-reverse.lo obstack.lo
	$(HOST_LINK.c) -o bi-arity ${.ALLSRC}

CLEANFILES += bi-lexer.lo bi-parser.lo bi-parser.c bi-parser.h

bi-lexer.lo: bi-parser.h

bi-parser.h bi-parser.lo: bi-parser.c

CLEANFILES += c-parse.c c-parse.h

c-lex.lo: c-parse.h

c-parse.h c-parse.lo: c-parse.c

CLEANFILES += bi-reverse.lo obstack.lo print-rtl.lo rtl.lo rtlanal.lo

bi-reverse.lo: bi-reverse.c

print-rtl.lo: print-rtl.c

obstack.lo: obstack.c obstack.h

rtl.lo: rtl.c rtl.h

rtlanal.lo: rtlanal.c

# only needed during build
libinstall::

.include <bsd.lib.mk>
@


1.17
log
@Teach gcc how to be cross-compiled before it dies.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1998/07/27 02:29:25 tv Exp $
@


1.16
log
@Cope with "mipsel".  This is not yet useable for "mipseb," but that
_should_ be dealt with as part of the egcs import before 1.4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1998/05/20 12:34:14 pk Exp $
d20 2
d46 1
a46 1
CLEANFILES += insn-attr.h genattr genattr.o
d50 1
a50 1
CLEANFILES += insn-flags.h genflags genflags.o
d54 1
a54 1
CLEANFILES += insn-codes.h gencodes gencodes.o
d58 1
a58 1
CLEANFILES += insn-config.h genconfig genconfig.o
d62 1
a62 1
CLEANFILES += bc-opcode.h bi-opcode bi-opcode.o
d66 1
a66 1
CLEANFILES += bc-opname.h bi-opname bi-opname.o
d70 1
a70 1
CLEANFILES += bc-arity.h bi-arity bi-arity.o
d74 1
a74 1
CLEANFILES += insn-peep.c genpeep genpeep.o
d78 1
a78 1
CLEANFILES += insn-opinit.c genopinit genopinit.o
d82 1
a82 1
CLEANFILES += insn-recog.c genrecog genrecog.o
d86 1
a86 1
CLEANFILES += insn-extract.c genextract genextract.o
d90 1
a90 1
CLEANFILES += insn-output.c genoutput genoutput.o
d94 1
a94 1
CLEANFILES += insn-emit.c genemit genemit.o
d98 1
a98 1
CLEANFILES += insn-attrtab.c genattrtab genattrtab.o
d100 1
a100 1
genattr.o: genattr.c
d102 2
a103 2
genattr: genattr.o rtl.o obstack.o
	$(CC) -o genattr genattr.o rtl.o obstack.o
d105 1
a105 1
genflags.o: genflags.c
d107 2
a108 2
genflags: genflags.o rtl.o obstack.o
	$(CC) -o genflags genflags.o rtl.o obstack.o
d110 1
a110 1
gencodes.o: gencodes.c
d112 2
a113 2
gencodes: gencodes.o rtl.o obstack.o
	$(CC) -o gencodes gencodes.o rtl.o obstack.o
d115 1
a115 1
genconfig.o: genconfig.c
d117 2
a118 2
genconfig: genconfig.o rtl.o obstack.o
	$(CC) -o genconfig genconfig.o rtl.o obstack.o
d120 1
a120 1
genpeep.o: genpeep.c
d122 2
a123 2
genpeep: genpeep.o rtl.o obstack.o
	$(CC) -o genpeep genpeep.o rtl.o obstack.o
d125 1
a125 1
genopinit.o: genopinit.c
d127 2
a128 2
genopinit: genopinit.o rtl.o obstack.o
	$(CC) -o genopinit genopinit.o rtl.o obstack.o
d130 1
a130 1
genrecog.o: genrecog.c
d132 2
a133 2
genrecog: genrecog.o rtl.o obstack.o
	$(CC) -o genrecog genrecog.o rtl.o obstack.o
d135 1
a135 1
genextract.o: genextract.c
d137 2
a138 2
genextract: genextract.o rtl.o obstack.o
	$(CC) -o genextract genextract.o rtl.o obstack.o
d140 1
a140 1
genoutput.o: genoutput.c
d142 2
a143 2
genoutput: genoutput.o rtl.o obstack.o
	$(CC) -o genoutput genoutput.o rtl.o obstack.o
d145 1
a145 1
genemit.o: genemit.c
d147 2
a148 2
genemit: genemit.o rtl.o obstack.o
	$(CC) -o genemit genemit.o rtl.o obstack.o
d150 1
a150 1
genattrtab.o: genattrtab.c
d152 2
a153 2
genattrtab: genattrtab.o rtl.o obstack.o print-rtl.o rtlanal.o
	$(CC) -o genattrtab genattrtab.o rtl.o obstack.o print-rtl.o rtlanal.o
d155 1
a155 1
bi-opcode.o: bi-opcode.c
d157 2
a158 2
bi-opcode: bi-opcode.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
	$(CC) -o bi-opcode bi-opcode.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
d160 1
a160 1
bi-opname.o: bi-opname.c
d162 2
a163 2
bi-opname: bi-opname.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
	$(CC) -o bi-opname bi-opname.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
d165 1
a165 1
bi-arity.o: bi-arity.c
d167 2
a168 2
bi-arity: bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
	$(CC) -o bi-arity bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
d170 1
a170 1
CLEANFILES += bi-lexer.o bi-parser.o bi-parser.c bi-parser.h
d172 1
a172 1
bi-lexer.o: bi-parser.h
d174 1
a174 1
bi-parser.h bi-parser.o: bi-parser.c
d178 13
a190 1
c-lex.o: c-parse.h
d192 1
a192 1
c-parse.h c-parse.o: c-parse.c
@


1.15
log
@Don't build lint library
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1998/04/09 00:32:35 tv Exp $
d5 3
d18 1
a18 1
	-I${.CURDIR}/../arch/$(MACHINE_ARCH) -I$(COMMON)
d20 1
a20 1
MD= ${.CURDIR}/../arch/${MACHINE_ARCH}/${MACHINE_ARCH}.md
d24 1
a24 1
.PATH:	${.CURDIR}/../arch/${MACHINE_ARCH}
d38 1
a38 1
	$(MACHINE_ARCH).c insn-attr.h insn-codes.h insn-config.h insn-flags.h \
@


1.14
log
@.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/10/25 10:11:01 lukem Exp $
d8 1
@


1.13
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/05/31 21:21:29 cjs Exp $
d8 1
d168 1
a168 5
bi-parser.h: bi-parser.c
bi-parser.c: bi-parser.y
	$(YACC) -b bi -d $(.IMPSRC)
	mv -f bi.tab.c bi-parser.c
	mv -f bi.tab.h bi-parser.h
d174 1
a174 5
c-parse.h: c-parse.c
c-parse.c: c-parse.y
	$(YACC) -b c -d $(.IMPSRC)
	mv -f c.tab.c c-parse.c
	mv -f c.tab.h c-parse.h
@


1.12
log
@Back out BUILDDIR and NOINSTALL changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1997/05/16 21:16:47 mycroft Exp $
d12 1
a12 1
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../arch \
@


1.12.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/10/25 10:11:01 lukem Exp $
d12 1
a12 1
CPPFLAGS+=-I${.CURDIR} -I${.CURDIR}/../arch \
@


1.11
log
@Remove empty libinstall target and add NOINSTALL=1.
@
text
@a8 3
# this library is used only for the build
NOINSTALL=1

d182 3
@


1.10
log
@Nuke bogus all: dependency.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1997/05/13 21:01:58 phil Exp $
d9 3
a184 3

# only needed during build
libinstall::
@


1.9
log
@Update gcc2netbsd to generate the current gcc tree when given gcc-2.7.2.
Added a new patch mechanism to gcc2netbsd so changes from the FSF source
are seen in gcc2netbsd.  Sync some Makefiles to output of current gcc2netbsd.
(Cosmetic changes only to the Makefiles.)
@
text
@d1 1
a1 1
#	$NetBSD: $
a35 2

all: lib$(LIB).a
@


1.8
log
@Eliminate bogus redefinitions of standard targets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/05/07 16:20:30 mycroft Exp $
d21 12
a32 9
SRCS=	bc-arity.h bc-emit.c bc-opcode.h bc-opname.h bc-optab.c bi-reverse.c \
	c-aux-info.c c-common.c c-convert.c c-decl.c c-iterate.c c-lex.c \
	c-parse.h c-pragma.c c-typeck.c caller-save.c calls.c combine.c \
	convert.c cse.c dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c \
	expr.c final.c flow.c fold-const.c function.c getpwd.c global.c \
	integrate.c jump.c local-alloc.c loop.c obstack.c optabs.c print-rtl.c \
	print-tree.c real.c recog.c reg-stack.c regclass.c reload.c reload1.c \
	reorg.c rtl.c rtlanal.c sched.c sdbout.c stmt.c stor-layout.c stupid.c \
	toplev.c tree.c unroll.c varasm.c version.c xcoffout.c \
d55 1
a55 1
bc-opcode.h: bi-opcode  $(BCDEF)
d59 1
a59 1
bc-opname.h: bi-opname  $(BCDEF)
d63 1
a63 1
bc-arity.h: bi-arity  $(BCDEF)
@


1.7
log
@Use libinstall::, not install:, to prevent instaling LIB.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1997/05/07 07:15:39 mycroft Exp $
d21 12
a32 11
SRCS=	bc-emit.c bc-optab.c bi-reverse.c c-aux-info.c c-common.c c-convert.c \
c-decl.c c-iterate.c c-lex.c c-pragma.c c-typeck.c caller-save.c \
calls.c combine.c convert.c cse.c dbxout.c dwarfout.c \
emit-rtl.c explow.c expmed.c expr.c final.c flow.c \
fold-const.c function.c getpwd.c global.c integrate.c jump.c \
local-alloc.c loop.c obstack.c optabs.c print-rtl.c print-tree.c \
real.c recog.c reg-stack.c regclass.c reload.c reload1.c \
reorg.c rtl.c rtlanal.c sched.c sdbout.c stmt.c \
stor-layout.c stupid.c toplev.c tree.c unroll.c varasm.c \
version.c xcoffout.c $(MACHINE_ARCH).c insn-peep.c insn-opinit.c insn-recog.c \
insn-extract.c insn-output.c insn-emit.c insn-attrtab.c 
d34 1
a34 3
all: insn-attr.h insn-flags.h insn-codes.h insn-config.h bc-opcode.h bc-opname.h bc-arity.h lib$(LIB).a

beforedepend: insn-attr.h insn-flags.h insn-codes.h insn-config.h bc-opcode.h bc-opname.h bc-arity.h c-parse.h
a37 1

a41 1

a45 1

a49 1

a53 1

a57 1

a61 1

@


1.6
log
@Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1996/05/23 04:54:46 phil Exp $
d190 2
a191 1
install:
@


1.5
log
@Add the missing dependencies on the arch.md file.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 1996/03/06 20:40:06 jtc Exp $
d9 2
a10 2
XXXX != cd $(.CURDIR)/../common; \
	 printf "xxxx:\n\techo -I\$${.OBJDIR}\n" | ${MAKE} -r -s -f - xxxx
d13 1
a13 1
	-I${.CURDIR}/../arch/$(MACHINE_ARCH) $(XXXX)
@


1.4
log
@add c-parse.h to beforedepend target's dependency list
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 1996/03/05 00:12:50 jtc Exp $
d37 1
a37 1
insn-attr.h: genattr
d42 1
a42 1
insn-flags.h: genflags
d47 1
a47 1
insn-codes.h: gencodes
d52 1
a52 1
insn-config.h: genconfig
d57 1
a57 1
bc-opcode.h: bi-opcode
d62 1
a62 1
bc-opname.h: bi-opname
d67 1
a67 1
bc-arity.h: bi-arity
d72 1
a72 1
insn-peep.c: genpeep
d76 1
a76 1
insn-opinit.c: genopinit
d80 1
a80 1
insn-recog.c: genrecog
d84 1
a84 1
insn-extract.c: genextract
d88 1
a88 1
insn-output.c: genoutput
d92 1
a92 1
insn-emit.c: genemit
d96 1
a96 1
insn-attrtab.c: genattrtab
@


1.4.4.1
log
@Update from HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1996/05/23 04:54:46 phil Exp $
d37 1
a37 1
insn-attr.h: genattr $(MD)
d42 1
a42 1
insn-flags.h: genflags $(MD)
d47 1
a47 1
insn-codes.h: gencodes $(MD)
d52 1
a52 1
insn-config.h: genconfig $(MD)
d57 1
a57 1
bc-opcode.h: bi-opcode  $(BCDEF)
d62 1
a62 1
bc-opname.h: bi-opname  $(BCDEF)
d67 1
a67 1
bc-arity.h: bi-arity  $(BCDEF)
d72 1
a72 1
insn-peep.c: genpeep $(MD)
d76 1
a76 1
insn-opinit.c: genopinit $(MD)
d80 1
a80 1
insn-recog.c: genrecog $(MD)
d84 1
a84 1
insn-extract.c: genextract $(MD)
d88 1
a88 1
insn-output.c: genoutput $(MD)
d92 1
a92 1
insn-emit.c: genemit $(MD)
d96 1
a96 1
insn-attrtab.c: genattrtab $(MD)
@


1.4.4.2
log
@Update from HEAD.
@
text
@@


1.3
log
@Build c-parse.c / c-parse.h from c-parse.y.
Comment out %expect in c-parse.y.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 1996/03/01 00:13:51 jtc Exp $
d35 1
a35 1
beforedepend: insn-attr.h insn-flags.h insn-codes.h insn-config.h bc-opcode.h bc-opname.h bc-arity.h 
@


1.2
log
@Build bi-parser.c & bi-parser.h from bi-parser.y
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 1995/12/01 17:59:42 phil Exp $
d176 13
a188 3
	$(YACC) -d $(.IMPSRC)
	mv -f y.tab.c bi-parser.c
	mv -f y.tab.h bi-parser.h
a192 1

@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: $
d170 1
a170 1
CLEANFILES += bi-lexer.o bi-parser.o
d172 7
@


1.1.1.1
log
@Import gcc-2.7.2.  Since it is in the gcc directory instead of the gcc2
directory, this is being done now.  We will live with two trees until
the "formal" switch over by changing src/gnu/usr.bin/Makefile.
@
text
@@


1.1.1.2
log
@Import of gcc-2.7.2.1.
@
text
@d9 2
a10 2
COMMON!=cd $(.CURDIR)/../common; \
	 printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
d13 1
a13 1
	-I${.CURDIR}/../arch/$(MACHINE_ARCH) -I$(COMMON)
d21 11
a31 15
SRCS=	bc-arity.h bc-opcode.h bc-opname.h c-parse.h bc-emit.c \
	bc-optab.c bi-reverse.c c-aux-info.c c-common.c c-convert.c \
	c-decl.c c-iterate.c c-lex.c c-pragma.c c-typeck.c \
	caller-save.c calls.c combine.c convert.c cse.c \
	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c \
	expr.c final.c flow.c fold-const.c function.c \
	getpwd.c global.c integrate.c jump.c local-alloc.c \
	loop.c obstack.c optabs.c print-rtl.c print-tree.c \
	real.c recog.c reg-stack.c regclass.c reload.c \
	reload1.c reorg.c rtl.c rtlanal.c sched.c \
	sdbout.c stmt.c stor-layout.c stupid.c toplev.c \
	tree.c unroll.c varasm.c version.c xcoffout.c \
	$(MACHINE_ARCH).c insn-attr.h insn-codes.h insn-config.h insn-flags.h \
	insn-peep.c insn-opinit.c insn-recog.c insn-extract.c insn-output.c \
	insn-emit.c insn-attrtab.c 
d33 1
a33 1
all: lib$(LIB).a
d35 3
a37 1
insn-attr.h: genattr $(MD)
d39 1
d42 1
a42 1
insn-flags.h: genflags $(MD)
d44 1
d47 1
a47 1
insn-codes.h: gencodes $(MD)
d49 1
d52 1
a52 1
insn-config.h: genconfig $(MD)
d54 1
d57 1
a57 1
bc-opcode.h: bi-opcode $(BCDEF)
d59 1
d62 1
a62 1
bc-opname.h: bi-opname $(BCDEF)
d64 1
d67 1
a67 1
bc-arity.h: bi-arity $(BCDEF)
d69 1
d72 1
a72 1
insn-peep.c: genpeep $(MD)
d76 1
a76 1
insn-opinit.c: genopinit $(MD)
d80 1
a80 1
insn-recog.c: genrecog $(MD)
d84 1
a84 1
insn-extract.c: genextract $(MD)
d88 1
a88 1
insn-output.c: genoutput $(MD)
d92 1
a92 1
insn-emit.c: genemit $(MD)
d96 1
a96 1
insn-attrtab.c: genattrtab $(MD)
d170 1
a170 1
CLEANFILES += bi-lexer.o bi-parser.o bi-parser.c bi-parser.h
a171 1
bi-lexer.o: bi-parser.h
d173 1
a173 5
bi-parser.h: bi-parser.c
bi-parser.c: bi-parser.y
	$(YACC) -b bi -d $(.IMPSRC)
	mv -f bi.tab.c bi-parser.c
	mv -f bi.tab.h bi-parser.h
d175 1
a175 3
CLEANFILES += c-parse.c c-parse.h

c-lex.o: c-parse.h
a176 10
c-parse.h: c-parse.c
c-parse.c: c-parse.y
	$(YACC) -b c -d $(.IMPSRC)
	mv -f c.tab.c c-parse.c
	mv -f c.tab.h c-parse.h

# only needed during build
libinstall::

.include <bsd.lib.mk>
@
