From 47050ec4fd2da6be74aff2aad744dc5470b831d8 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 31 Aug 2004 17:40:41 +0000 Subject: Don't use .PHONY, which isn't understood by every make. Split out the "all" target as the first one so that a bare "make" will build the "all" target by default. This should fix problems seen on AIX 5.1. --- pkgtools/pkg_install/files/Makefile.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgtools/pkg_install/files/Makefile.in b/pkgtools/pkg_install/files/Makefile.in index deaa389e946..76d65266f0c 100644 --- a/pkgtools/pkg_install/files/Makefile.in +++ b/pkgtools/pkg_install/files/Makefile.in @@ -1,10 +1,13 @@ -# $NetBSD: Makefile.in,v 1.5 2003/09/23 06:05:13 grant Exp $ +# $NetBSD: Makefile.in,v 1.6 2004/08/31 17:40:41 jlam Exp $ SUBDIRS= lib add admin create delete info view -.PHONY: all install clean distclean +all: + @for dir in $(SUBDIRS); do \ + ( cd $$dir && $(MAKE) $@ ) || exit 1; \ + done -all install clean: +install clean: @for dir in $(SUBDIRS); do \ ( cd $$dir && $(MAKE) $@ ) || exit 1; \ done -- cgit v1.2.3