blob: c31b53667d71036898075602d8fa7f7387db13cc (
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
31
32
33
34
35
36
|
# $Id$
#
# Copyright 2003 Addison-Wesley Inc. All Rights Reserved.
MAKEFILE=Makefile
MKLIST = Makefile.singles \
Makefile.timers \
Makefile.upcall
## Ensure that Makefiles in MKLIST are executed in sequence during a
## parallel build because we share some files between multiple libraries.
.NOTPARALLEL:
## Makefile.Reactive_Logging_Server.mkfile is a dummy target which will cause
## $(MAKE) -f Makefile.Reactive_Logging_Server to be invoked, then it cleans
## up tempinc when needed for AIX Visual Age C++.
%.mkfile: %
@echo $(MAKE) -f $< $(MKFILE_TARGET)
-@$(RM) -rf tempinc
@$(MAKE) -f $< $(MKFILE_TARGET)
# This rule invokes make again with the list of .mkfile targets as a
# parameter. For example, if the all target is being made, make is invoked
# as follows:
#
# make -f Makefile MKFILE_TARGET=all Makefile.singles
all clean depend realclean html:
ifneq ($(MKLIST),)
@echo $(MAKE) -f $(MAKEFILE) MKFILE_TARGET=$@ $(addsuffix .mkfile, $(MKLIST))
@$(MAKE) -f $(MAKEFILE) MKFILE_TARGET=$@ $(addsuffix .mkfile, $(MKLIST))
endif
# DO NOT DELETE THIS LINE -- g++dep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
|