#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
                   dtoolutil:c dtoolbase:c dtool:m prc:c
#define YACC_PREFIX eggyy
#define LFLAGS -i
#define USE_PACKAGES zlib

#begin lib_target
  #define TARGET egg
  #define LOCAL_LIBS \
    mathutil linmath putil
    
  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx 

  #define SOURCES \
     config_egg.h eggAnimData.I eggAnimData.h eggAttributes.I  \
     eggAttributes.h eggBin.h eggBinMaker.h eggComment.I  \
     eggComment.h \
     eggCompositePrimitive.I eggCompositePrimitive.h \
     eggCoordinateSystem.I eggCoordinateSystem.h  \
     eggCurve.I eggCurve.h eggData.I eggData.h  \
     eggExternalReference.I eggExternalReference.h  \
     eggFilenameNode.I eggFilenameNode.h eggGroup.I eggGroup.h  \
     eggGroupNode.I eggGroupNode.h eggGroupUniquifier.h  \
     eggLine.I eggLine.h \
     eggMaterial.I eggMaterial.h eggMaterialCollection.I  \
     eggMaterialCollection.h \
     eggMesher.h eggMesher.I \
     eggMesherEdge.h eggMesherEdge.I \
     eggMesherFanMaker.h eggMesherFanMaker.I \
     eggMesherStrip.h eggMesherStrip.I \
     eggMiscFuncs.I eggMiscFuncs.h  \
     eggMorph.I eggMorph.h eggMorphList.I eggMorphList.h  \
     eggNamedObject.I eggNamedObject.h eggNameUniquifier.h  \
     eggNode.I eggNode.h eggNurbsCurve.I eggNurbsCurve.h  \
     eggNurbsSurface.I eggNurbsSurface.h eggObject.I eggObject.h  \
     eggParameters.h eggPoint.I eggPoint.h eggPolygon.I  \
     eggPolygon.h eggPolysetMaker.h eggPoolUniquifier.h \
     eggPrimitive.I eggPrimitive.h \
     eggRenderMode.I eggRenderMode.h  \
     eggSAnimData.I eggSAnimData.h eggSurface.I eggSurface.h  \
     eggSwitchCondition.h eggTable.I eggTable.h eggTexture.I  \
     eggTexture.h eggTextureCollection.I eggTextureCollection.h  \
     eggTriangleFan.I eggTriangleFan.h \
     eggTriangleStrip.I eggTriangleStrip.h \
     eggTransform.I eggTransform.h \
     eggUserData.I eggUserData.h \
     eggUtilities.I eggUtilities.h \
     eggVertex.I eggVertex.h eggVertexPool.I eggVertexPool.h \
     eggVertexUV.I eggVertexUV.h \
     eggXfmAnimData.I  \
     eggXfmAnimData.h eggXfmSAnim.I eggXfmSAnim.h parserDefs.h  \
     parser.yxx lexerDefs.h lexer.lxx pt_EggMaterial.h  \
     vector_PT_EggMaterial.h pt_EggTexture.h  \
     vector_PT_EggTexture.h pt_EggVertex.h vector_PT_EggVertex.h

  #define INCLUDED_SOURCES \
     config_egg.cxx eggAnimData.cxx eggAttributes.cxx eggBin.cxx  \
     eggBinMaker.cxx eggComment.cxx \
     eggCompositePrimitive.cxx \
     eggCoordinateSystem.cxx  \
     eggCurve.cxx eggData.cxx eggExternalReference.cxx  \
     eggFilenameNode.cxx eggGroup.cxx eggGroupNode.cxx  \
     eggGroupUniquifier.cxx eggLine.cxx eggMaterial.cxx  \
     eggMaterialCollection.cxx \
     eggMesher.cxx \
     eggMesherEdge.cxx \
     eggMesherFanMaker.cxx \
     eggMesherStrip.cxx \
     eggMiscFuncs.cxx eggMorphList.cxx  \
     eggNamedObject.cxx eggNameUniquifier.cxx eggNode.cxx  \
     eggNurbsCurve.cxx eggNurbsSurface.cxx eggObject.cxx  \
     eggParameters.cxx eggPoint.cxx eggPolygon.cxx eggPolysetMaker.cxx  \
     eggPoolUniquifier.cxx eggPrimitive.cxx eggRenderMode.cxx  \
     eggSAnimData.cxx eggSurface.cxx eggSwitchCondition.cxx  \
     eggTable.cxx eggTexture.cxx eggTextureCollection.cxx  \
     eggTransform.cxx \
     eggTriangleFan.cxx \
     eggTriangleStrip.cxx \
     eggUserData.cxx \
     eggUtilities.cxx eggVertex.cxx eggVertexPool.cxx eggVertexUV.cxx \
     eggXfmAnimData.cxx eggXfmSAnim.cxx pt_EggMaterial.cxx  \
     vector_PT_EggMaterial.cxx pt_EggTexture.cxx  \
     vector_PT_EggTexture.cxx pt_EggVertex.cxx  \
     vector_PT_EggVertex.cxx 

  #define INSTALL_HEADERS \
    eggAnimData.I eggAnimData.h \
    eggAttributes.I eggAttributes.h eggBin.h eggBinMaker.h eggComment.I \
    eggComment.h \
    eggCompositePrimitive.I eggCompositePrimitive.h \
    eggCoordinateSystem.I eggCoordinateSystem.h eggCurve.I \
    eggCurve.h eggData.I eggData.h eggExternalReference.I \
    eggExternalReference.h eggFilenameNode.I eggFilenameNode.h \
    eggGroup.I eggGroup.h eggGroupNode.I eggGroupNode.h \
    eggGroupUniquifier.h \
    eggLine.I eggLine.h \
    eggMaterial.I \
    eggMaterial.h eggMaterialCollection.I eggMaterialCollection.h \
    eggMorph.I eggMorph.h eggMorphList.I eggMorphList.h \
    eggNamedObject.I eggNamedObject.h eggNameUniquifier.h eggNode.I eggNode.h \
    eggNurbsCurve.I eggNurbsCurve.h eggNurbsSurface.I eggNurbsSurface.h \
    eggObject.I eggObject.h eggParameters.h eggPoint.I eggPoint.h \
    eggPolygon.I eggPolygon.h eggPolysetMaker.h eggPoolUniquifier.h \
    eggPrimitive.I eggPrimitive.h eggRenderMode.I eggRenderMode.h \
    eggSAnimData.I eggSAnimData.h eggSurface.I eggSurface.h \
    eggSwitchCondition.h eggTable.I eggTable.h eggTexture.I \
    eggTexture.h eggTextureCollection.I eggTextureCollection.h \
    eggTransform.I eggTransform.h \
    eggTriangleFan.I eggTriangleFan.h \
    eggTriangleStrip.I eggTriangleStrip.h \
    eggUserData.I eggUserData.h \
    eggUtilities.I eggUtilities.h eggVertex.I eggVertex.h \
    eggVertexPool.I eggVertexPool.h \
    eggVertexUV.I eggVertexUV.h \
    eggXfmAnimData.I eggXfmAnimData.h \
    eggXfmSAnim.I eggXfmSAnim.h \
    pt_EggMaterial.h vector_PT_EggMaterial.h \
    pt_EggTexture.h vector_PT_EggTexture.h \
    pt_EggVertex.h vector_PT_EggVertex.h

  #define IGATESCAN all

#end lib_target

#begin test_bin_target
  #define TARGET test_egg
  #define LOCAL_LIBS \
    egg putil mathutil

  #define SOURCES \
    test_egg.cxx

#end test_bin_target

