
BUILD = ../../build

include $(BUILD)/Makefile.pre

TARGET_LIBRARY=libpdp

# set RSVP to 1 if RSVP library is present
ifeq ($(USE_RSVPLIB),1)
    HAS_RSVPLIB=1
    PACKAGES += COPS COPSCOMMON OSP OSPSDK HEARTBEAT PSUTILIB PSLIB UTIL RSVPLIB LIBXML 
else
    HAS_RSVPLIB=
    PACKAGES += COPS COPSCOMMON OSP HEARTBEAT PSUTILIB PSLIB UTIL LIBXML 
endif

ifdef HAS_RSVPLIB
DEFINES += HAS_RSVPLIB
endif
ifeq ($(USE_OSP),1)
    PACKAGES += OSP OSPSDK 
    HAS_OSP=1
else
    HAS_OSP=
endif

# name of all files to be compiled (don't include header files)
SRC = \
	PdpAgent.cxx \
    COPSProcessor.cxx \
    AgentFactory.cxx \
    COPSAgent.cxx \
    QoSData.cxx


include $(BUILD)/Makefile.post
