

GENERALROOT=../../../../
MAKEROOT=../

-include $(GENERALROOT)/general/makefile.all

ifeq "$(MAKELEVEL)" "0"

SRCS = metadataPreprocessor.c screenRelatedProcessing.c  sceneDisplacementProcessing.c

SRCDIRS = ../src
INCL    = -I../include
INCL   += -I../../../decoderInterfaces/elementInteractionInterface/elementInteractionInterfaceLib/include
INCL   += -I../../../decoderInterfaces/sceneDisplacementInterface/sceneDisplacementInterfaceLib/include
INCL   += -I../../../ascParser/ascParserLib/include
INCL   += -I../../../../tools/cicp2geometry/cicp2geometryLib/include
INCL   += -I../../../../tools/wavIO/include
INCL   += -I../../../oamCoder/oamEncoder/oamEncoderLib/include
INCL   += -I../../../ascParser/ascParserLib/src
INCL   += -I../../../decoderInterfaces/localSetupInformationInterface/localSetupInformationInterfaceLib/include
INCL   += -I../../../binaural/interface/binauralInterfaceLib/include
INCL   += -I../../../../tools/readonlybitbuf/include
INCL   += -I../../../../tools/writeonlybitbuf/include
INCL   += -I../../../oamCoder/oamCommon
INCL   += -I../../../../tools/qmflib/include

OPTIONS = SRCDIRS="$(SRCDIRS)" INCL="$(INCL)" INCLDEP=1 DEFFLAGS="$(DEFFLAGS)"

all: $(GENERALROOT)/general/makefile.all libmetadataPreprocessor$(LIB_SUFFIX)

libmetadataPreprocessor$(LIB_SUFFIX):
	@$(MAKE) TARGET=$@ $(OPTIONS) SRCS="$(SRCS)" COMLIBS="$(LIB_COMLIBS)" library

clean:
	@$(MAKE) TARGET=libmetadataPreprocessor$(LIB_SUFFIX) SRCS="$(SRCS)" clean


endif

