| 1 |
# Time-stamp: <10/06/02 15:17:35 ptr> |
| 2 |
# |
| 3 |
# Copyright (c) 2004-2009 |
| 4 |
# Petr Ovtchenkov |
| 5 |
# |
| 6 |
# This material is provided "as is", with absolutely no warranty expressed |
| 7 |
# or implied. Any use is at your own risk. |
| 8 |
# |
| 9 |
# Permission to use or copy this software for any purpose is hereby granted |
| 10 |
# without fee, provided the above notices are retained on all copies. |
| 11 |
# Permission to modify the code and to distribute modified code is granted, |
| 12 |
# provided the above notices are retained, and a notice that the code was |
| 13 |
# modified is included with the above copyright notice. |
| 14 |
# |
| 15 |
|
| 16 |
SRCROOT := . |
| 17 |
SUBDIRS := src |
| 18 |
|
| 19 |
include ${SRCROOT}/Makefiles/gmake/top.mak |
| 20 |
include ${SRCROOT}/Makefiles/gmake/subdirs.mak |
| 21 |
|
| 22 |
all uninstall: |
| 23 |
+$(call doinsubdirs,${SUBDIRS}) |
| 24 |
|
| 25 |
depend clean distclean mostlyclean maintainer-clean:: |
| 26 |
+$(call doinsubdirs,${SUBDIRS} test/exam test/misc test/cmp_unit test/unit) |
| 27 |
|
| 28 |
release-shared install-release-shared dbg-shared install-dbg-shared stldbg-shared install-stldbg-shared: |
| 29 |
+$(call doinsubdirs,${SUBDIRS}) |
| 30 |
|
| 31 |
check: release-shared dbg-shared stldbg-shared |
| 32 |
+$(call dotaginsubdirs,all,test/exam test/misc test/cmp_unit test/unit) |
| 33 |
|
| 34 |
check-release-shared: release-shared |
| 35 |
+$(call dotaginsubdirs,release-shared,test/exam test/misc test/cmp_unit test/unit) |
| 36 |
+$(call doinsubdirs,test/cmp_unit test/unit) |
| 37 |
|
| 38 |
check-dbg-shared: dbg-shared |
| 39 |
+$(call dotaginsubdirs,dbg-shared,test/exam test/misc test/cmp_unit test/unit) |
| 40 |
+$(call doinsubdirs,test/cmp_unit test/unit) |
| 41 |
|
| 42 |
check-stldbg-shared: stldbg-shared |
| 43 |
+$(call dotaginsubdirs,stldbg-shared,test/exam test/misc test/cmp_unit test/unit) |
| 44 |
+$(call doinsubdirs,test/cmp_unit test/unit) |
| 45 |
|
| 46 |
install: |
| 47 |
+$(call doinsubdirs,${SUBDIRS}) |
| 48 |
|
| 49 |
install-headers: |
| 50 |
${MAKE} -C src install-headers |
| 51 |
|
| 52 |
PHONY += all install depend \ |
| 53 |
install-release-shared install-dbg-shared install-stldbg-shared \ |
| 54 |
clean distclean mostlyclean maintainer-clean uninstall \ |
| 55 |
release-shared dbg-shared stldbg-shared \ |
| 56 |
install-headers \ |
| 57 |
check check-release-shared check-dbg-shared check-stldbg-shared |