summaryrefslogtreecommitdiffstats
path: root/fortran/src/Makefile.in
blob: cc7b9516f9e612e3ed1cfcaf12ea791295a6b8c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
##
## HDF5 Forgran Library Makefile(.in)
##
## Copyright (C) 2000 National Center for Supercomputing Applications.
##		      All rights reserved.
##
top_srcdir=@top_srcdir@
top_builddir=../..
srcdir=@srcdir@
@COMMENCE@

hdf5_builddir=$(top_builddir)/../src
hdf5_builddir=$(top_srcdir)/../src

TRACE=perl $(top_srcdir)/bin/trace

## Add `-I.' to the C preprocessor flags.
CPPFLAGS=-I. -I$(hdf5_builddir) -I$(hdf5_srcdir) @CPPFLAGS@

## This is our main target
LIB=libhdf5_fortran.la
CLEAN=H5fortran_types.f90

## Source and object files for the library
CPARALLEL=${PARALLEL:yes="H5Pf_parallel.c"}
CLIB_SRC=H5f90kit.c H5f90misc.c H5Git.c H5Rf.c H5Ff.c  H5Sf.c H5Df.c H5Gf.c	\
	 H5Af.c H5Tf.c H5Pf.c H5If.c H5Ef.c ${CPARALLEL:no=}

FPARALLEL=${PARALLEL:yes="H5Pff_parallel.f90 HDF5_parallel.f90"}
FLIB_SRC=H5fortran_types.f90 H5fortran_flags.f90 H5f90global.f90 H5f90miscf.f90	\
         H5Rff.f90 H5Fff.f90 H5Sff.f90 H5Dff.f90 H5Gff.f90 H5Aff.f90 H5Tff.f90 	\
	 H5Pff.f90 H5Iff.f90 H5Eff.f90 HDF5.f90 ${FPARALLEL:no=}

LIB_SRC=$(CLIB_SRC) $(FLIB_SRC)
LIB_OBJ=$(CLIB_SRC:.c=.lo) $(FLIB_SRC:.f90=.lo)

ARFLAGS=rc

@CONCLUDE@