Static libraries
The example Makefiles have example entries for using static libraries for your XBSA application. These entries include the path to the static archive library, libxbsa.a, along with the system libraries that are also required to be included.
For the UNIX platforms, (from Makefile.unix) see the following example:
#LIBS = $(XBSA_SDK_DIR)/lib/Linux/Debian4.18.0/libxbsa64.a -lc -ldl #LIBS = $(XBSA_SDK_DIR)/lib/Linux/RedHat4.18.0/libxbsa64.a -lc -ldl #LIBS = $(XBSA_SDK_DIR)/lib/Linux/SuSE5.3.18/libxbsa64.a -lc -ldl #LIBS = $(XBSA_SDK_DIR)/lib/Linux-ppc64le/IBMpSeriesRedHat4.18.0/libxbsa.a -lc -ldl #LIBS = $(XBSA_SDK_DIR)/lib/Linux-ppc64le/IBMpSeriesSuSE5.3.18/libxbsa.a -lc -ldl #LIBS = $(XBSA_SDK_DIR)/lib/Linux-s390x/IBMzSeriesRedHat4.18.0/libxbsa.a -lc -ldl #LIBS = $(XBSA_SDK_DIR)/lib/Linux-s390x/IBMzSeriesSuSE5.3.18/libxbsa.a -lc -ldl #LIBS = $(XBSA_SDK_DIR)/lib/RS6000/AIX7.1/libxbsa64.a -ldl -lc #LIBS = $(XBSA_SDK_DIR)/lib/Solaris/Solaris10/libxbsa64.a -lintl -lsocket -lnsl -ldl -ladm #LIBS = $(XBSA_SDK_DIR)/lib/Solaris/Solaris_x86_10_64/libxbsa.a -lintl -lsocket -lnsl -ldl -ladm
For the Windows platforms, see the following example:
#LIBS = $(XBSA_SDK_DIR)\lib\Windows-x64\Windows\xbsas.lib