1
# Time-stamp: <08/12/12 06:44:27 ptr>
2
#
3
# Copyright (c) 2004-2009
4
# Petr Ovtchenkov
5
#
6
# Licensed under the Academic Free License version 3.0
7
#
8
9
SRCROOT := .
10
SUBDIRS := src
11
12
include ${SRCROOT}/Makefiles/gmake/top.mak
13
include ${SRCROOT}/Makefiles/gmake/subdirs.mak
14
15
all uninstall:
16
	+$(call doinsubdirs,${SUBDIRS})
17
18
depend clean distclean mostlyclean maintainer-clean::
19
	+$(call doinsubdirs,${SUBDIRS} test/exam test/misc test/cmp_unit test/unit)
20
21
release-shared install-release-shared dbg-shared install-dbg-shared stldbg-shared install-stldbg-shared:
22
	+$(call doinsubdirs,${SUBDIRS})
23
24
check:	release-shared dbg-shared stldbg-shared
25
	+$(call dotaginsubdirs,all,test/exam test/misc test/cmp_unit test/unit)
26
27
check-release-shared:	release-shared
28
	+$(call dotaginsubdirs,release-shared,test/exam test/misc test/cmp_unit test/unit)
29
	+$(call doinsubdirs,test/cmp_unit test/unit)
30
31
check-dbg-shared:	dbg-shared
32
	+$(call dotaginsubdirs,dbg-shared,test/exam test/misc test/cmp_unit test/unit)
33
	+$(call doinsubdirs,test/cmp_unit test/unit)
34
35
check-stldbg-shared:	stldbg-shared
36
	+$(call dotaginsubdirs,stldbg-shared,test/exam test/misc test/cmp_unit test/unit)
37
	+$(call doinsubdirs,test/cmp_unit test/unit)
38
39
install:	
40
	+$(call doinsubdirs,${SUBDIRS})
41
42
install-headers:
43
	${MAKE} -C src install-headers
44
45
PHONY += all install depend \
46
         install-release-shared install-dbg-shared install-stldbg-shared \
47
         clean distclean mostlyclean maintainer-clean uninstall \
48
         release-shared dbg-shared stldbg-shared \
49
         install-headers \
50
         check check-release-shared check-dbg-shared check-stldbg-shared