From 5ea8405b123f556d271562980eba9cb37746f8ba Mon Sep 17 00:00:00 2001
From: Norm Jacobs <Norm.Jacobs@Sun.COM>
Date: Fri, 11 Jun 2010 19:39:17 +0200
Subject: [PATCH] autogenerate components to build

---
 components/Makefile |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/components/Makefile b/components/Makefile
index 336422f..05d8bd4 100644
--- a/components/Makefile
+++ b/components/Makefile
@@ -23,11 +23,12 @@
 
 include ../make-rules/shared-macros.mk
 
-COMPONENT_DIRS +=	lcms
-COMPONENT_DIRS +=	file
-COMPONENT_DIRS +=	pycups
-COMPONENT_DIRS +=	bind
-COMPONENT_DIRS +=	rsync
+# for now, the assumption is we build any directory with a Makefile.  This may
+# not always be the case. If we build a new make-like tool to drive the upper
+# level build, it may make different decisions and will need to include
+# appropriate dependency information.
+
+COMPONENT_DIRS =	$(shell echo */Makefile | sed -e 's;/Makefile;;g')
 
 download:	TARGET = download
 prep:		TARGET = prep

--
Gitblit v1.9.3