1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Added a `build-tools' target for internal tools.

This commit is contained in:
Bruce Evans 1998-07-07 01:51:18 +00:00
parent da1a06c3c3
commit 6d31e616a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37460
2 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.10 1998/03/23 11:50:38 bde Exp $
# $Id: Makefile,v 1.11 1998/04/23 16:30:51 bde Exp $
#
#
@ -21,6 +21,8 @@ CFLAGS+= -I.
# Bytecode components
.for i in arity opcode opname
build-tools: bi-$i
bc-$i.h: bi-$i bytecode.def
./bi-$i < ${GCCDIR}/bytecode.def > bc-$i.h
@ -54,6 +56,8 @@ GENSRCS+= insn-$i.c
.endfor
.for i in attr codes config emit extract flags opinit output peep recog
build-tools: gen$i
gen$i: gen$i.o rtl.o obstack.o
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
@ -62,6 +66,8 @@ CLEANFILES+= gen$i
.endfor
.for i in attrtab
build-tools: gen$i
gen$i: gen$i.o rtl.o rtlanal.o print-rtl.o obstack.o
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}

View File

@ -1,7 +1,7 @@
# Makefile for libmytinfo
# Use 'make update_term_h' manually after changing internal
# mytinfo structures
# $Id$
# $Id: Makefile,v 1.12 1997/02/22 15:07:29 peter Exp $
LIB= mytinfo
SRCS= addstr.c binorder.c buildpath.c caplist.c capsort.c compar.c\
@ -24,6 +24,8 @@ beforeinstall:
${DESTDIR}/usr/include
ln -sf term.h ${DESTDIR}/usr/include/nterm.h
build-tools: mkbinorder mkcaplist mkcapsort mkversion
capsort.c: mkcapsort
./mkcapsort > capsort.c