#---------------------------------------------------------------------------- # $Id$ # # Makefile for the iterative logging server example program in # "C++ Network Programming, Vol. 1, Resolving Complexity # Using Patterns and ACE" #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # Local macros #---------------------------------------------------------------------------- BIN = Iterative_Logging_Server FILES = Iterative_Logging_Server Logging_Server Logging_Handler SRC = $(addsuffix .cpp,$(FILES)) OBJ = $(addsuffix .o,$(FILES)) BUILD = $(VBIN) #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU include $(ACE_ROOT)/include/makeinclude/macros.GNU include $(ACE_ROOT)/include/makeinclude/rules.common.GNU include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU include $(ACE_ROOT)/include/makeinclude/rules.local.GNU # To build multiple executables in the same directory on AIX, it works # best to wipe out any previously-created tempinc directory. # The compiler/linker isn't too smart about instantiating templates... ifdef TEMPINCDIR COMPILE.cc := $(RM) -rf tempinc; $(COMPILE.cc) endif