| 1 |
# Copyright (c) 2005 Sandia Corporation. Under the terms of Contract |
| 2 |
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement |
| 3 |
# retains certain rights in this software. |
| 4 |
# |
| 5 |
# Redistribution and use in source and binary forms, with or without |
| 6 |
# modification, are permitted provided that the following conditions are |
| 7 |
# met: |
| 8 |
# |
| 9 |
# * Redistributions of source code must retain the above copyright |
| 10 |
# notice, this list of conditions and the following disclaimer. |
| 11 |
# |
| 12 |
# * Redistributions in binary form must reproduce the above |
| 13 |
# copyright notice, this list of conditions and the following |
| 14 |
# disclaimer in the documentation and/or other materials provided |
| 15 |
# with the distribution. |
| 16 |
# |
| 17 |
# * Neither the name of Sandia Corporation nor the names of its |
| 18 |
# contributors may be used to endorse or promote products derived |
| 19 |
# from this software without specific prior written permission. |
| 20 |
# |
| 21 |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 22 |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 23 |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 24 |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 25 |
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 26 |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 27 |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 28 |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 29 |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 30 |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 31 |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 32 |
# |
| 33 |
|
| 34 |
|
| 35 |
XCOMM Use include files locates in exodusii/cbind/include |
| 36 |
INCLUDES = IncRef-I../include |
| 37 |
REQUIREDLIBS = -L$(SHLIBDIR) $(EXODUS) $(NETCDF) |
| 38 |
|
| 39 |
#ifndef BuildSharedExodusLibrary |
| 40 |
#define BuildSharedExodusLibrary NO |
| 41 |
#endif |
| 42 |
|
| 43 |
#define DoNormalLib YES |
| 44 |
#define DoSharedLib BuildSharedExodusLibrary |
| 45 |
#define LibName exodus_par |
| 46 |
SOREV = 5 |
| 47 |
#define SoRev SOREV |
| 48 |
|
| 49 |
CC = $(CCPAR) |
| 50 |
#define LibraryCcCmd $(CCPAR) |
| 51 |
|
| 52 |
DEFINES = $(PICFLAGS) |
| 53 |
|
| 54 |
SRCS = ex_open_par.c ex_create_par.c |
| 55 |
|
| 56 |
OBJS = ${SRCS:.c=.o} |
| 57 |
|
| 58 |
#include <Library.tmpl> |
| 59 |
|
| 60 |
LibraryTargetSubdirsCopy(libexodus_par.a,$(OBJS),../../) |
| 61 |
|
| 62 |
$(OBJS): ../include/exodusII.h ../include/exodusII_int.h ../include/exodusII_par.h |
| 63 |
|
| 64 |
|
| 65 |
DependTarget() |
| 66 |
LibraryObjectRule() |