Fresco Makefile.in,1.38,1.39
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco
In directory purcel:/tmp/cvs-serv10349
Modified Files:
Makefile.in
Log Message:
add gen-test and build-test targets. Still need to be filled in a meaningful way.
Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/Fresco/Makefile.in,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- Makefile.in 10 Dec 2002 19:03:16 -0000 1.38
+++ Makefile.in 20 Feb 2003 15:30:32 -0000 1.39
@@ -33,6 +33,7 @@
Fresco-C++-demos Fresco-Python-demos \
contrib/daVinci
+testbase_dir := $(shell test -d Fresco-Test && echo 'Fresco-Test')
mandatory_dirs := $(foreach package, $(mandatory), $(shell test -d $(package) && echo '$(package)'))
optional_dirs := $(foreach package, $(optional), $(shell test -d $(package) && echo '$(package)'))
subdirs := $(mandatory_dirs) $(optional_dirs)
@@ -90,6 +91,17 @@
--exclude '*~' \
$(distdir)
-rm -rf $(distdir)
+
+gen-test:
+ $(MAKE) action="gen-test"
+
+build-test:
+ifdef testbase_dir
+ $(MAKE) -C $(testbase_dir)
+ $(MAKE) action="build-test"
+else
+ @echo "you need 'Fresco-Test' in order to build the tests"
+endif
uninstall:
$(MAKE) action="uninstall"