#define USE_PACKAGES cg  // from gobj.

#begin lib_target
  #define TARGET ptloader
  #define BUILDING_DLL BUILDING_PTLOADER
  #define LOCAL_LIBS \
    fltegg flt lwoegg lwo dxfegg dxf vrmlegg pvrml xfileegg xfile \
    converter pandatoolbase $[if $[HAVE_FCOLLADA],daeegg]
  #define OTHER_LIBS \
    egg2pg:c egg:c pandaegg:m \
    pstatclient:c mathutil:c linmath:c putil:c \
    gobj:c chan:c parametrics:c pgraph:c pgraphnodes:c \
    pnmimage:c grutil:c collide:c tform:c text:c \
    char:c dgraph:c display:c device:c cull:c \
    downloader:c pipeline:c \
    event:c gsgbase:c lerp:c movies:c \
    $[if $[HAVE_FREETYPE],pnmtext:c] \
    $[if $[HAVE_NET],net:c] $[if $[WANT_NATIVE_NET],nativenet:c] \
    $[if $[HAVE_AUDIO],audio:c] \
    panda:m \
    pandabase:c express:c pandaexpress:m \
    interrogatedb:c prc:c dconfig:c dtoolconfig:m \
    dtoolutil:c dtoolbase:c dtool:m
  #define UNIX_SYS_LIBS \
    m

  #define SOURCES \
    config_ptloader.cxx config_ptloader.h \
    loaderFileTypePandatool.cxx loaderFileTypePandatool.h

  #define INSTALL_HEADERS \
    config_ptloader.h loaderFileTypePandatool.h

#end lib_target
