summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 01:51:18 +0000
committerbde <bde@FreeBSD.org>1998-07-07 01:51:18 +0000
commit6983ae16446bc93f74b6055377f2a4f936ca9c07 (patch)
tree6d1872374d62bd2b460e4f25d81ceb0ff83d79ff
parent8e1f3205b79c3a2837eb7289ebfac2d6f4ae6093 (diff)
downloadFreeBSD-src-6983ae16446bc93f74b6055377f2a4f936ca9c07.zip
FreeBSD-src-6983ae16446bc93f74b6055377f2a4f936ca9c07.tar.gz
Added a `build-tools' target for internal tools.
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile8
-rw-r--r--lib/libmytinfo/Makefile4
2 files changed, 10 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index fd50ecf..550208f 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -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}
diff --git a/lib/libmytinfo/Makefile b/lib/libmytinfo/Makefile
index f5aa031..4c52c4b 100644
--- a/lib/libmytinfo/Makefile
+++ b/lib/libmytinfo/Makefile
@@ -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
OpenPOWER on IntegriCloud