Makefile 735 Bytes
#!smake
#
# This makefile generates libimage.so from libimage.a, which we
# need in order to work around a Global Offset Table problem with large
# vcs derived executables.

PRDEPTH = ../..

include $(PRDEPTH)/PRdefs
include $(ROOT)/usr/include/make/ismcommondefs
#
#  SGI Common Rules
#
include $(PRDEPTH)/PRrules
COMMONPREF=TOOLS

TARGETS	= libimage.so
LDIRT = so_locations

default exports: $(TARGETS)

#
# Nothing to install; we'll leave libimage.so in place for now.  Eventually
# it might need to be installed if we run into an inst boot-phase problem
# when creating images.
#
install : default
	
libimage.so: $(TOOLROOT)/usr/lib/libimage.a
	$(LD) -soname libimage.so -elf -shared -all /usr/lib/libimage.a \
	-lc -o libimage.so