Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

Build the Plug-In

Build the plug-in as a shared object, or, or dynamic link library, testplugin.dll, depending on your platform. On SolarisTM SPARC systems, you do the following.

$ gmake -f Makefile

On Solaris x64 systems where you boot a 64–bit kernel, you do the following.

$ gmake -f Makefile64

Use the Makefile or Makefile64 in install-path/examples/ to compile and to link the code. This file builds and links all plug-in examples into the same library. Refer to Searching Plug-In Libraries for details when building a plug-in for use with a 64-bit Directory Server instance.