SimDist
diff -u -r1.11 -r1.12
--- Makefile.in 15 Sep 2006 23:02:28 -0000 1.11
+++ Makefile.in 28 Feb 2007 22:58:04 -0000 1.12
@@ -1,4 +1,4 @@
-# $Header: /cvs/lcd/SimDist/Makefile.in,v 1.11 2006/09/15 23:02:28 jeremy Exp $
+# $Header: /cvs/lcd/SimDist/Makefile.in,v 1.12 2007/02/28 22:58:04 jeremy Exp $
# include the common build vars
include $(CURDIR)/build/common.gmk
@@ -9,6 +9,15 @@
# default to building all the packages, testing, and installing
.DEFAULT: build
+# Target to build a single package. Additional arguments should be valid generic
+# targets from package.gmk or a custom target defined in that package's Makefile.
+ifdef PACKAGE
+.DEFAULT: single_package
+single_package:
+ @echo $(filter-out $(firstword $@),$@);
+ cd packages/$(PACKAGE) && $(MAKE) $(filter-out $(firstword $@),$@);
+endif
+
# build the packages and test slic
build: build_packages test
@@ -59,31 +68,6 @@
@echo "Uploading current distribution tarball $(dist_tarball_current) to $(dist_dir) ... " ; \
$(SCP) ../$(dist_tarball_current) $(dist_dir);:
-# Make a versioned tarball with binary and runtime deps.
-#dist_tgz_bin:
-# @echo "Making versioned binary tarball $(bin_tarball) ... " ; \
-# echo "binary files: $(bindist_files)" ; \
-# cd ..; rm -rf $(bin_tarball) ; \
-# tar zcf $(bin_tarball) $(bindist_files) ;
-
-# Local copy the verioned binary tarball to one labelled as "current".
-#dist_tgz_bin_current: dist_tgz_bin
-# @echo "Making current binary tarball $(bin_tarball_current)" ; \
-# cp ../$(bin_tarball) ../$(bin_tarball_current) ;:
-
-# Upload versioned bin tarball to the distribution directory.
-#dist_scp_bin: dist_tgz_bin
-# @echo "Uploading versioned binary tarball $(bin_tarball) to $(dist_dir) ... " ; \
-# $(SCP) ../$(bin_tarball) $(dist_dir);:
-
-# Upload current bin tarball to the distribution directory.
-#dist_scp_bin_current: dist_tgz_bin_current
-# @echo "Uploading current binary tarball $(bin_tarball_current) to $(dist_dir) ... " ; \
-# $(SCP) ../$(bin_tarball_current) $(dist_dir);:
-
-# Execute the distribution targets to make a release on this platform.
-#dist: dist_tgz_simdist_current dist_tgz_bin_current dist_scp_simdist dist_scp_simdist_current dist_scp_bin dist_scp_bin_current
-
# test for and run slic binary
test:
@echo "checking for $(slic_bin) ..." ; \