Sophie

Sophie

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

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

# -*- Makefile -*-

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

MAKEFILE = Makefile.AC_CLD

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

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

SHLIB   = libAC_CLD.$(SOEXT)
FILES   = AC_Client_Logging_Daemon \
          Logging_Handler
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