Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 21280410b6ea906d791d7a12afae2579 > files > 865

libace5-doc-5.4-2mdk.i586.rpm

# -*- Makefile -*-

#----------------------------------------------------------------------------
# Makefile.AIO_CLD,v 1.3 2003/12/24 17:17:14 dhinton Exp
#
# Makefile for the AIO_CLD library in the C++NPv2, Chapter 8 example.
#----------------------------------------------------------------------------

MAKEFILE = Makefile.AIO_CLD

#----------------------------------------------------------------------------
#       Local macros
#----------------------------------------------------------------------------

# This example uses SSL.
ifeq ($(ssl),)
default:
	@echo 'This example requires SSL; build with make ssl=1'
endif #ssl

SHLIB   = libAIO_CLD.$(SOEXT)
FILES   = AIO_Client_Logging_Daemon
LSRC    = $(addsuffix .cpp,$(FILES))

LIBS   += $(ACELIB)

BUILD   = $(VSHLIB)

#----------------------------------------------------------------------------
#       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.lib.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU

# To remake the DLL_Test source with xlC 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

ifneq ($(ssl),)
  CPPFLAGS += $(PLATFORM_SSL_CPPFLAGS)
  LIBS += $(PLATFORM_SSL_LIBS)
  LDFLAGS += $(PLATFORM_SSL_LDFLAGS)
endif # ssl