title: How to include libxml2 library on GNUMakefile
body: <p>I recently try to include libxml2 on my OpenDDS c++ project.</p>
  
  <p>But, I don't know the way how to include this library on GNUMakefile.</p>
  
  <p>How can I include libxml2 on this GNUmake file?</p>
  
  <p>Also, I have tried to add command on GNUMakefile like this.</p>
  
  <pre><code>LIB = /usr/local/xml/lib
  </code></pre>
  
  <p>But, still doesn't work.</p>
  
  <p>My GNUMakefile is Here:</p>
  
  <pre><code>    MAKEFILE         = GNUmakefile.DDS_Messenger_Publisher
      DEPENDENCY_FILE  = .depend.DDS_Messenger_Publisher
      BIN_UNCHECKED    = publisher
  
      LIB_PREFIX      ?= lib
  
      TAO_ROOT  ?= $(ACE_ROOT)/TAO
  
      FILES = \
        publisher.cpp \
        Writer.cpp
  
  
      LIBPATHS := . "$(ACE_ROOT)/lib" "../../../lib"
  
      #----------------------------------------------------------------------------
      #       Include macros and targets
      #----------------------------------------------------------------------------
      LDLIBS = -lDDS_Messenger_Idl -lOpenDDS_Shmem -lOpenDDS_Rtps_Udp -lOpenDDS_Rtps -lOpenDDS_Multicast -lOpenDDS_Udp -lOpenDDS_Tcp -lOpenDDS_InfoRepoDiscovery -lOpenDDS_Dcps -lTAO_BiDirGIOP -lTAO_PI -lTAO_CodecFactory -lTAO_PortableServer -lTAO_AnyTypeCode -lTAO -lACE
      TAO_IDL = $(ACE_ROOT)/bin/tao_idl
      TAO_IDL_DEP = $(ACE_ROOT)/bin/tao_idl$(EXEEXT)
      TAO_IDLFLAGS = -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT)$(if $(ARCH), -g $(call ADD_QUOTE,$(call ADD_ARCH,$(ACE_ROOT)/bin/ace_gperf)))
  
      PRJ_TYPE = rtp
  
      ifeq ($(INSBIN),.)
        ifeq ($(CURDIR),)
          ifeq ($(PWD),)
            PWD=$(shell pwd)
          endif
        else
          PWD=$(CURDIR)
        endif
        INSBIN = $(PWD)
      endif
      OUTPUT_DIRECTORY = $(if $(ARCH),./$(ARCH))
  
      include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
  
      include $(DDS_ROOT)/rules.dds.GNU
  
      include $(TAO_ROOT)/rules.tao.GNU
  ...
  ...
  </code></pre>