0N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 0N/A# U.S. Government Rights - Commercial software. Government users are subject 0N/A# to the Sun Microsystems, Inc. standard license agreement and applicable 0N/A# provisions of the FAR and its supplements. 0N/A# Use is subject to license terms. 0N/A# This distribution may include materials developed by third parties. Sun, 0N/A# Sun Microsystems, the Sun logo and Solaris are trademarks or registered # trademarks of Sun Microsystems, Inc. in the U.S. and other countries. # setenv CC /usr/bin/cc (or correct path) # "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) # shared library flags (assumes cc) # link subagent object, shared library module, and agent libs # and output demo_module_8, the subagent. # compile module source, producing module object file # produce (-G) and load module shared object from module object file, # using dynamic linking (-dy)