summaryrefslogtreecommitdiff
path: root/TAO/tao/Makefile
blob: 42439cdc9fc0c54db9ba4e998e07bc52cead1b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#----------------------------------------------------------------------------
#       $Id$
#
#       Makefile for the TAO library
#----------------------------------------------------------------------------

# This default rule is here so invoking make realclean will
# work when recursing through subdirectories
.DEFAULT:
	@$(MAKE) -f Makefile.tao $@
	@$(MAKE) -f Makefile.dirs SUBDIR_MAKEFILE=Makefile $@

# We need this rule, so that if parallel makes (-j) are invoked,
# the tao target will be built before the dirs target (otherwise the
# dirs targets may try to link libTAO before libTAO has been built).
# Recursively invoked makes from this file will still be run in parallel.
.NOTPARALLEL:

# Invoke Makefile.tao first to build libTAO, and then
# invoke Makefile.dirs to recurse through subdirectories
all: tao dirs

tao:
	@$(MAKE) -f Makefile.tao

dirs:
	@$(MAKE) -f Makefile.dirs SUBDIR_MAKEFILE=Makefile

# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.