1494N/A#
1494N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
1494N/A#
1494N/A# U.S. Government Rights - Commercial software. Government users are subject
1494N/A# to the Sun Microsystems, Inc. standard license agreement and applicable
1494N/A# provisions of the FAR and its supplements.
1494N/A#
1494N/A# Use is subject to license terms.
1494N/A#
1494N/A# This distribution may include materials developed by third parties. Sun,
1494N/A# Sun Microsystems, the Sun logo and Solaris are trademarks or registered
1494N/A# trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
1494N/A#
1494N/A#
1494N/A
1494N/A#
1494N/A#
1494N/A# Makefile to generate demo_module_4.so
1494N/A#
1494N/A# usage:
1494N/A# To point to a particular compiler, set CC.
1494N/A# Example: setenv CC /usr/dist/share/forte_dev/bin/cc
1494N/A# "make" : generate library for 64bit
1494N/A# "make ARCH=32" : generate library for 32bit
1494N/A# "make clean" : remove *.o , *.so
1494N/A#
1494N/A
1494N/AARCH=64
1494N/ACFLAGS_64=-g -m64 -I.
1494N/ACFLAGS_32=-g -I.
1494N/ACFLAGS=$(CFLAGS_$(ARCH))
1494N/A
1494N/ALDLIBS=
1494N/A
1494N/APROG= demo_module_4.so
1494N/ASRCS= me4LoadGroup.c
1494N/AOBJS = $(SRCS:.c=.o)
1494N/A
1494N/Aall:$(PROG)
1494N/A$(PROG): $(OBJS)
1494N/A $(CC) $(CFLAGS) $(LDLIBS) -G -o $@ $(OBJS)
1494N/A.c.o:
1494N/A $(CC) $(CFLAGS) -g -o $@ -c $<
1494N/A
1494N/Aclean:
1494N/A rm -f me4LoadGroup.o demo_module_4.so
1494N/A
1494N/A
1494N/A