open_toontown_panda3d/direct/src/plugin_npapi/Sources.pp

48 lines
1.1 KiB
ObjectPascal

// This directory is still experimental. Define HAVE_P3D_PLUGIN in
// your Config.pp to build it.
#define BUILD_DIRECTORY $[and $[HAVE_P3D_PLUGIN],$[HAVE_NPAPI]]
#define USE_PACKAGES npapi
#begin lib_target
// By Mozilla convention, on Windows at least, the generated DLL
// filename must begin with "np", not "libnp".
#define TARGET nppanda3d
#define LIB_PREFIX
#define LOCAL_LIBS plugin_common
#define COMBINED_SOURCES \
$[TARGET]_composite1.cxx
#define SOURCES \
nppanda3d_common.h \
ppBrowserObject.h ppBrowserObject.I \
ppDownloadRequest.h ppDownloadRequest.I \
ppInstance.h ppInstance.I \
ppPandaObject.h ppPandaObject.I \
startup.h
#define INCLUDED_SOURCES \
ppBrowserObject.cxx \
ppDownloadRequest.cxx \
ppInstance.cxx \
ppPandaObject.cxx \
startup.cxx
// Windows-specific options.
#if $[WINDOWS_PLATFORM]
#define WIN_RESOURCE_FILE nppanda3d.rc
#define LINKER_DEF_FILE nppanda3d.def
#define WIN_SYS_LIBS user32.lib shell32.lib
#endif
// Mac-specific options.
#if $[OSX_PLATFORM]
#define LINK_AS_BUNDLE 1
#endif
#define INSTALL_HEADERS
#end lib_target