Compiling the switch-load file on Sun Solaris 2.x (SPARC)

Compile sybasexa.c using the makefile sybasexa_sol.mk which is located in $SYBASE/$SYBASE_OCS/sample_dtm/cics/switch.

This is a listing of sybasexa_sol.mk. Edit it to reflect your configuration.

#Makefile to compile the LoadSwitchTable
#This makefile should be run with the command "make -f sybasexa_sol.mk"

SYB_LIBDIR = $(SYBASE)/lib
SYBLIBS = lxadtm -lct_r -lcs_r.so -ltcl_r -lcomn_r.so
-lintl_r -lxdsxom -lm

all: sybasexa.c
/bin/xlc_r -v -D_THREAD_SAFE \
-I /usr/lpp/encina/include sybasexa.c \
-o sybasexa \
-esybasexa \
-L/usr/lpp/cics/lib \
-L$(SYBLIBS) \
-lcicsrt \
/usr/lpp/cics/lib/regxa_swxa.o -ldce