-# $OpenBSD: Makefile,v 1.15 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.16 2017/07/10 21:30:37 espie Exp $
#
# C Shell with process control; VM/UNIX VAX Makefile
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' | \
sort >> $@
-.depend alloc.o: const.h error.h
BUILDFIRST = const.h error.h
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.15 2017/07/01 14:37:25 espie Exp $
+# $OpenBSD: Makefile,v 1.16 2017/07/10 21:30:37 espie Exp $
PROG= hack
CFLAGS+=-I.
-SRCS+= hack.onames.h
SRCS+= alloc.c hack.Decl.c hack.apply.c hack.bones.c hack.c hack.cmd.c \
hack.do.c hack.do_name.c hack.do_wear.c hack.dog.c hack.eat.c \
hack.end.c hack.engrave.c hack.fight.c hack.invent.c hack.ioctl.c \
-# $OpenBSD: Makefile.bsd-wrapper,v 1.17 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.18 2017/07/10 21:30:37 espie Exp $
LIB= iberty
CPPFLAGS+= -DHAVE_CONFIG_H -I$(.CURDIR)/src -I$(.CURDIR)/include -I$(.OBJDIR)
testsuite/Makefile libiberty.info
-depend: needed-list
-
BUILDFIRST = needed-list
needed-list: config.status
# $FreeBSD: src/gnu/usr.bin/cc/cc1plus/Makefile,v 1.39.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.2 2010/05/06 20:58:10 naddy Exp $
+# $OpenBSD: Makefile,v 1.3 2017/07/10 21:30:37 espie Exp $
.include <bsd.own.mk>
.PATH: ${GCCDIR}/cp ${GCCDIR}
PROG= cc1plus
-#SRCS= cfns.h
+
SRCS+= main.c cp-lang.c c-opts.c call.c class.c cvt.c cxx-pretty-print.c \
decl.c decl2.c error.c except.c expr.c dump.c friend.c init.c lex.c \
mangle.c method.c name-lookup.c parser.c pt.c ptree.c repo.c rtti.c \
# $FreeBSD: src/gnu/usr.bin/cc/cc_tools/Makefile,v 1.88.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.16 2017/06/23 11:54:22 jsg Exp $
+# $OpenBSD: Makefile,v 1.17 2017/07/10 21:30:37 espie Exp $
.include <bsd.own.mk>
genoutput genpeep genpreds genrecog
all: ${GNTOOLS} ${GENSRCS} ${GENONLY}
-beforedepend: ${GENONLY}
#-----------------------------------------------------------------------
# Fixups.
# $FreeBSD: src/gnu/lib/libobjc/Makefile,v 1.34.2.1 2009/08/03 08:13:06 kensmith Exp $
-# $OpenBSD: Makefile,v 1.6 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.7 2017/07/10 21:30:37 espie Exp $
OBJCDIR=${.CURDIR}/../../../gcc/libobjc
GCCDIR= ${.CURDIR}/../../../gcc/gcc
${DESTDIR}/usr/include/objc
.endif
-${OBJS}: ${GENHDRS}
BUILDFIRST = ${GENHDRS}
.include <bsd.lib.mk>
-# $OpenBSD: Makefile,v 1.26 2017/01/21 00:46:32 guenther Exp $
+# $OpenBSD: Makefile,v 1.27 2017/07/10 21:30:37 espie Exp $
OBJS= crt0.o gcrt0.o
OBJS+= crtbegin.o crtend.o
${INSTALL} ${INSTALL_COPY} -S -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
${DESTDIR}/usr/lib
-afterdepend: .depend
- @sed -i 's/^\([^\.]*\).o[ ]*:/\1.o g\1.o r\1.o:/' .depend
-
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.19 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.20 2017/07/10 21:30:37 espie Exp $
LIB= crypto
LIBREBUILD=y
SRCS+= wp_block.c
.endif
-all beforedepend: ${GENERATED}
BUILDFIRST = ${GENERATED}
.include <bsd.lib.mk>
-# $OpenBSD: Makefile,v 1.71 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.72 2017/07/10 21:30:37 espie Exp $
# Uncomment this to enable tracing in libcurses
#CURSESTRACE=-DTRACE
CLEANFILES+= ${GENERATED} term.5 terminfo.5 curses.3 \
curs_addch.3 curs_attr.3 curs_getch.3 curs_inch.3 curs_mouse.3
-all: ${GENERATED}
-
-beforedepend: ${GENERATED}
-
BUILDFIRST = ${GENERATED}
includes:
.include <bsd.lib.mk>
-init_keytry.o init_keytry.so init_keytry.po init_keytry.ln: init_keytry.h
-lib_options.o lib_options.so lib_options.po lib_options.ln: init_keytry.h
-
# must be at the end because bsd.lib.mk clears it
.SUFFIXES: .3 .3tbl .5 .5tbl
-# $OpenBSD: Makefile,v 1.28 2017/07/03 18:19:55 bluhm Exp $
+# $OpenBSD: Makefile,v 1.29 2017/07/10 21:30:37 espie Exp $
# $NetBSD: Makefile,v 1.41 2010/02/03 15:34:43 roy Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
HOST_SH= sh
.PHONY: generated
-.depend generated: ${GENERATED}
+generated: ${GENERATED}
BUILDFIRST = ${GENERATED}
vi.h: vi.c makelist
-# $OpenBSD: Makefile,v 1.87 2017/07/03 18:19:55 bluhm Exp $
+# $OpenBSD: Makefile,v 1.88 2017/07/10 21:30:37 espie Exp $
# $EOM: Makefile,v 1.78 2000/10/15 21:33:42 niklas Exp $
#
/bin/sh ${.CURDIR}/genconstants.sh ${.CURDIR}/isakmp_num
.PHONY: generated
-${PROG} beforedepend generated: ${GENERATED}
+generated: ${GENERATED}
BUILDFIRST = ${GENERATED}
-# $OpenBSD: Makefile,v 1.42 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.43 2017/07/10 21:30:37 espie Exp $
.if ${MACHINE} != "octeon"
mouse.c util.c wsconsctl.c
CPPFLAGS+= -I${.CURDIR} -I.
-CLEANFILES+= keysym.h y.tab.h
+CLEANFILES+= keysym.h
-beforedepend: keysym.h
keysym.o: keysym.h
keysym.h: mkkeysym.sh ${DESTDIR}/usr/include/dev/wscons/wsksymdef.h
-# $OpenBSD: Makefile,v 1.15 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.16 2017/07/10 21:30:37 espie Exp $
PROG= awk
SRCS= ytab.c lex.c b.c main.c parse.c proctab.c tran.c lib.c run.c
HOSTCFLAGS+=-I. -I${.CURDIR} -DHAS_ISBLANK -DNDEBUG
ytab.c ytab.h: awkgram.y
- ${YACC} -d ${.CURDIR}/awkgram.y
- mv y.tab.c ytab.c
- mv y.tab.h ytab.h
+ ${YACC} -o ytab.c -d ${.CURDIR}/awkgram.y
BUILDFIRST = ytab.h
-# $OpenBSD: Makefile,v 1.3 2017/07/03 15:17:11 espie Exp $
+# $OpenBSD: Makefile,v 1.4 2017/07/10 21:30:37 espie Exp $
# $NetBSD: Makefile,v 1.11 2003/08/01 17:04:04 lukem Exp $
.include <bsd.own.mk>
CPPFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc -I${.CURDIR}/../../lib/libc/include
YHEADER= 1
-yacc.c yacc.h: yacc.y
- ${YACC} -d ${.ALLSRC} && mv y.tab.c yacc.c && mv y.tab.h yacc.h
-
-lex.o: yacc.h
-
-CLEANFILES+= yacc.c yacc.h
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.6 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.7 2017/07/10 21:30:37 espie Exp $
PROG = rpc.lockd
SRCS = nlm_prot_svc.c lockd.c lockd_lock.c procs.c
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
RPCGEN= rpcgen -L -C
-nlm_prot_svc.c: ${RPCSRC} nlm_prot.h
+nlm_prot_svc.c: ${RPCSRC}
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
nlm_prot.h: ${RPCSRC}
-# $OpenBSD: Makefile,v 1.2 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.3 2017/07/10 21:30:37 espie Exp $
PROG= rpc.statd
SRCS= procs.c sm_inter_svc.c statd.c
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
RPCGEN= rpcgen -L -C
-sm_inter_svc.c: ${RPCSRC} sm_inter.h
+sm_inter_svc.c: ${RPCSRC}
${RPCGEN} -m -o ${.TARGET} ${RPCSRC}
sm_inter.h: ${RPCSRC}
-# $OpenBSD: Makefile,v 1.13 2017/06/16 10:25:54 espie Exp $
+# $OpenBSD: Makefile,v 1.14 2017/07/10 21:30:37 espie Exp $
PROG= ypserv
MAN= ypserv.acl.5 securenet.5 ypserv.8
#CFLAGS=-DDAEMON -I${.CURDIR}/../common -DDEBUG -g
all: ypserv
-beforedepend: ${HDRS}
ypv1.c: ypv1.h
BUILDFIRST = ${HDRS}