#
#
# U.S. Government Rights - Commercial software. Government users are subject
# to the Sun Microsystems, Inc. standard license agreement and applicable
# provisions of the FAR and its supplements.
#
# Use is subject to license terms.
#
# This distribution may include materials developed by third parties. Sun,
# Sun Microsystems, the Sun logo and Solaris are trademarks or registered
# trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
#
#
#
#
#
# Makefile to generate demo_module_8.so
#
# usage:
# "make" : generate library for 64bit
# "make ARCH=32" : generate library for 32bit
# "make clean" : remove *.o , *.so
#
#LDFLAGS_64=-g -m64 -I$(INSTALL_PATH)/include -I.
#LDFLAGS_32=-g -I$(INSTALL_PATH)/include -I.
#LDFLAGS=$(LDFLAGS_$(ARCH))
# shared library flags (assumes gcc)
#DLFLAGS=-fPIC -shared
# shared library flags (assumes cc)
# compile subagent
# link subagent object, shared library module, and agent libs
# and output demo_module_8, the subagent.
demo_module_8: $(OBJS1)
# compile module source, producing module object file
# produce (-G) and load module shared object from module object file,
# using dynamic linking (-dy)