// -*- MPC -*-
// $Id: nddslib.mpb 2206 2014-05-28 09:41:39Z johnnyw $

project {
  requires += ndds
  libs     += nddscpp nddsc nddscore
  libpaths += $(NDDSHOME)/lib/$(NDDSARCHITECTURE)
  includes += $(NDDSHOME)/include $(NDDSHOME)/include/ndds

  specific(prop:windows) {
    macros += RTI_WIN32 NDDS_DLL_VARIABLE
  }

  verbatim(gnuace, circuit) {
    ifeq ($(buildbits),64)
    FLAGS_C_CC += -DRTI_64BIT
    endif
    ifeq ($(ACE_PLATFORM_CONFIG),config-linux.h)
    FLAGS_C_CC += -DRTI_LINUX
    endif
    ifeq ($(ACE_PLATFORM_CONFIG),config-win32.h)
    FLAGS_C_CC += -DRTI_WIN32
    else
    FLAGS_C_CC += -DRTI_UNIX
    endif
  }
}
