In order to build/compile the gpgAuth NPAPI plugin, the FireBreath project needs to first be built by performing the following -
Go into the source directory or git repository via the command line, and issue the following command:
firebreath/prepmac.sh . build
NOTE: to limit the build architecture to a specific value, or values, use the following - replacing "i386" with your desired target(s):
firebreath/prepmac.sh . build -DCMAKE_OSX_ARCHITECTURES=i386 -DCMAKE_BUILD_TYPE=MinSizeRel
NOTE: Do not change the files in the build directory. The build directory is a temporary staging area - all changes to the plugin source should be made in the ./gpgAuthPlugin folder.
In the build directory you will find the gpgAuthPlugin.xproj file; open this file with Xcode and use as a normal Xcode project.
To compile the Xcode project without a GUI or using the Xcode IDE - navigate to the build directory in the CLI and issue the following command:
xcodebuild -target gpgAuthPlugin