Commit dbd0e0c1 authored by Rob Latham's avatar Rob Latham
Browse files

[svn-r4863] Mostly BillG: introduce quiet-make from MPICH2 to ROMIO

parent 8e2cadee
......@@ -5,10 +5,10 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include @CPPFLAGS@
CFLAGS = @CFLAGS@ $(INCLUDE_DIR) -DBGL_OPTIM_STEP1_2=1 -DBGL_OPTIM_STEP1_1=1
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include @CPPFLAGS@
CFLAGS = @CFLAGS@ $(INCLUDES) -DBGL_OPTIM_STEP1_2=1 -DBGL_OPTIM_STEP1_1=1
C_COMPILE_SHL = $(CC_SHL) @CFLAGS@ $(INCLUDE_DIR)
C_COMPILE_SHL = $(CC_SHL) @CFLAGS@ $(INCLUDES)
@VPATH@
......
......@@ -6,8 +6,8 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
......
......@@ -6,8 +6,8 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CFLAGS@ $(INCLUDES)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
......
......@@ -3,8 +3,8 @@ AR = @AR@
LIBNAME = @LIBNAME@
srcdir = @srcdir@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
@VPATH@
......
......@@ -6,12 +6,12 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL) @CFLAGS@ $(INCLUDE_DIR)
C_COMPILE_SHL = $(CC_SHL) @CFLAGS@ $(INCLUDES)
@VPATH@
......
......@@ -6,12 +6,17 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
#DEFS = @DEFS@ -I. -I${srcdir}
CPPFLAGS = @CPPFLAGS@
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
#CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
CFLAGS = @CFLAGS@
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL)
C_COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_COMPILE_SHL = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
#C_COMPILE_SHL = $(CC_SHL)
@VPATH@
......@@ -27,10 +32,24 @@ default: $(LIBNAME)
.SUFFIXES: $(SUFFIXES) .p .lo
# $(CC) $(CFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< ; \
fi
@$(C_COMPILE) -c $<
# $(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
# @mv -f _s$*.o $*.lo
.c.lo:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _s$*.o ; \
echo mv -f _s$*.o $*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _s$*.o
@mv -f _s$*.o $*.lo
$(LIBNAME): $(AD_NFS_OBJECTS)
......
......@@ -6,8 +6,8 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include -I/opt/panfs/include
CFLAGS = @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include -I/opt/panfs/include
CFLAGS = @CFLAGS@ $(INCLUDES)
C_COMPILE_SHL = $(CC_SHL)
......
......@@ -3,8 +3,8 @@ AR = @AR@
LIBNAME = @LIBNAME@
srcdir = @srcdir@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
@VPATH@
......
......@@ -3,8 +3,8 @@ AR = @AR@
LIBNAME = @LIBNAME@
srcdir = @srcdir@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
@VPATH@
......
......@@ -6,12 +6,17 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
#DEFS = @DEFS@ -I. -I${srcdir}
CPPFLAGS = @CPPFLAGS@
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
#CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
CFLAGS = @CFLAGS@
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL)
C_COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_COMPILE_SHL = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
#C_COMPILE_SHL = $(CC_SHL)
@VPATH@
......@@ -28,10 +33,24 @@ default: $(LIBNAME)
.SUFFIXES: $(SUFFIXES) .p .lo
# $(CC) $(CFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< ; \
fi
@$(C_COMPILE) -c $<
# $(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
# @mv -f _s$*.o $*.lo
.c.lo:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _s$*.o ; \
echo mv -f _s$*.o $*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _s$*.o
@mv -f _s$*.o $*.lo
$(LIBNAME): $(AD_PVFS_OBJECTS)
......
......@@ -6,12 +6,13 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL)
C_COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_COMPILE_SHL = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
@VPATH@
......@@ -31,9 +32,20 @@ default: $(LIBNAME)
.SUFFIXES: $(SUFFIXES) .p .lo
.c.o:
$(CC) $(CFLAGS) -c $<
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< ; \
fi
@$(C_COMPILE) -c $<
.c.lo:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _s$*.o ; \
echo mv -f _s$*.o $*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _s$*.o
@mv -f _s$*.o $*.lo
......
......@@ -3,8 +3,8 @@ AR = @AR@
LIBNAME = @LIBNAME@
srcdir = @srcdir@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
@VPATH@
......
......@@ -7,12 +7,17 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
#DEFS = @DEFS@ -I. -I${srcdir}
CPPFLAGS = @CPPFLAGS@
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
#CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
CFLAGS = @CFLAGS@
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL)
C_COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_COMPILE_SHL = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
#C_COMPILE_SHL = $(CC_SHL)
@VPATH@
......@@ -30,10 +35,24 @@ default: $(LIBNAME)
.SUFFIXES: $(SUFFIXES) .p .lo
# $(CC) $(CFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< ; \
fi
@$(C_COMPILE) -c $<
# $(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
# @mv -f _s$*.o $*.lo
.c.lo:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _s$*.o ; \
echo mv -f _s$*.o $*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _s$*.o
@mv -f _s$*.o $*.lo
$(LIBNAME): $(AD_TESTFS_OBJECTS)
......
......@@ -6,12 +6,17 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
#DEFS = @DEFS@ -I. -I${srcdir}
CPPFLAGS = @CPPFLAGS@
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
#CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
CFLAGS = @CFLAGS@
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL)
C_COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_COMPILE_SHL = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
#C_COMPILE_SHL = $(CC_SHL)
@VPATH@
......@@ -25,10 +30,24 @@ default: $(LIBNAME)
.SUFFIXES: $(SUFFIXES) .p .lo
# $(CC) $(CFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< ; \
fi
@$(C_COMPILE) -c $<
# $(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
# @mv -f _s$*.o $*.lo
.c.lo:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _s$*.o ; \
echo mv -f _s$*.o $*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _s$*.o
@mv -f _s$*.o $*.lo
$(LIBNAME): $(AD_UFS_OBJECTS)
......
......@@ -6,8 +6,8 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
......
......@@ -6,8 +6,8 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I${srcdir}/../../../../include -I../../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
......
......@@ -7,14 +7,18 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include \
#DEFS = @DEFS@ -I. -I${srcdir}
CPPFLAGS = @CPPFLAGS@
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include \
-I../../include -I${srcdir}/../../../../../src/include \
-I../../../../../src/include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDE_DIR)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL)
#CFLAGS = @CPPFLAGS@ @CFLAGS@ $(INCLUDES)
CFLAGS = @CFLAGS@
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_COMPILE_SHL = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
#C_COMPILE_SHL = $(CC_SHL)
@VPATH@
......@@ -41,10 +45,24 @@ all: $(LIBNAME)
.SUFFIXES: $(SUFFIXES) .p .lo
# $(CC) $(CFLAGS) $(INC) -c $<
.c.o:
$(CC) $(CFLAGS) $(INC) -c $<
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< ; \
fi
@$(C_COMPILE) -c $<
# $(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
# @mv -f _s$*.o $*.lo
.c.lo:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _s$*.o ; \
echo mv -f _s$*.o $*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _s$*.o
@mv -f _s$*.o $*.lo
$(LIBNAME): $(AD_OBJECTS)
......@@ -56,6 +74,10 @@ AD_LOOBJECTS = $(AD_OBJECTS:.o=.lo)
$(SHLIBNAME).la: $(AD_LOOBJECTS)
$(AR) $(SHLIBNAME).la $(AD_LOOBJECTS)
coverage:
-@for file in ${AD_OBJECTS:.o=.c} ; do \
gcov -b -f $$file ; done
clean:
@rm -f *.o *.lo *.gcno *.gcda *.bb *.bbg
@rm -f ${srcdir}/*.gcno ${srcdir}/*.gcda
......
......@@ -6,12 +6,18 @@ srcdir = @srcdir@
CC_SHL = @CC_SHL@
SHLIBNAME = @SHLIBNAME@
INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir} -I../include -I${srcdir}/../adio/include -I../adio/include -I${srcdir}/../../../include -I../../../include
CFLAGS = @CPPFLAGS@ @CFLAGS@ $(MPIOPROFILE) $(INCLUDE_DIR)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE_SHL = $(CC_SHL)
#DEFS = @DEFS@ -I. -I${srcdir}
CPPFLAGS = @CPPFLAGS@
INCLUDES = -I@MPI_INCLUDE_DIR@ -I${srcdir} -I../include \
-I${srcdir}/../adio/include -I../adio/include \
-I${srcdir}/../../../include -I../../../include
#CFLAGS = $(CPPFLAGS) @CFLAGS@ $(MPIOPROFILE) $(INCLUDES)
CFLAGS = @CFLAGS@ $(MPIOPROFILE)
top_builddir = @master_topbuild_dir@
LIBTOOL = @LIBTOOL@
C_COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
C_COMPILE_SHL = $(CC_SHL) $(DEFS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS)
#C_COMPILE_SHL = $(CC_SHL)
@VPATH@
......@@ -108,21 +114,49 @@ all: $(LIBNAME)
.SUFFIXES: $(SUFFIXES) .p .sp .lo .man .html .latex .txt
# $(CC) $(CFLAGS) -c $<
.c.o:
$(CC) $(CFLAGS) -c $<
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< ; \
fi
@$(C_COMPILE) -c $<
# $(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
# @mv -f _s$*.o $*.lo
.c.lo:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _s$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _s$*.o ; \
echo mv -f _s$*.o $*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _s$*.o
@mv -f _s$*.o $*.lo
# $(CC) $(CFLAGS) -c $< -o _$*.o
.c.p:
$(CC) $(CFLAGS) -c $< -o _$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE) -c $< -o _$*.o ; \
fi
@$(C_COMPILE) -c $< -o _$*.o
# @cp $(srcdir)/$*.c _$*.c
# @rm -f _$*.c
# Send the output to a .o file because some compilers require all object
# files to have an extension of .o
# $(C_COMPILE_SHL) $(CFLAGS) -c $< -o _sp$*.o
# @mv -f _sp$*.o _$*.lo
.c.sp:
$(C_COMPILE_SHL) $(CFLAGS) -c $< -o _sp$*.o
@if [ "x$(VERBOSE)" != "x1" ] ; then \
echo " CC $<" ; \
else \
echo $(C_COMPILE_SHL) -c $< -o _sp$*.o ; \
echo mv -f _sp$*.o _$*.lo ; \
fi
@$(C_COMPILE_SHL) -c $< -o _sp$*.o
@mv -f _sp$*.o _$*.lo
profile: $(MPIO_REAL_POBJECTS) $(MPIO_EXTRA_TMP_POBJECTS)
......@@ -185,110 +219,110 @@ TAGS:${HEADERS} ${SOURCES}
# Rules for the profiling objects
_close.o: close.c
$(CC) $(CFLAGS) -c $(srcdir)/close.c -o _close.o
$(C_COMPILE) -c $(srcdir)/close.c -o _close.o
_read.o: read.c
$(CC) $(CFLAGS) -c $(srcdir)/read.c -o _read.o
$(C_COMPILE) -c $(srcdir)/read.c -o _read.o
_open.o: open.c
$(CC) $(CFLAGS) -c $(srcdir)/open.c -o _open.o
$(C_COMPILE) -c $(srcdir)/open.c -o _open.o
_get_extent.o: get_extent.c
$(CC) $(CFLAGS) -c $(srcdir)/get_extent.c -o _get_extent.o
$(C_COMPILE) -c $(srcdir)/get_extent.c -o _get_extent.o
_write.o: write.c
$(CC) $(CFLAGS) -c $(srcdir)/write.c -o _write.o
$(C_COMPILE) -c $(srcdir)/write.c -o _write.o
_set_view.o: set_view.c
$(CC) $(CFLAGS) -c $(srcdir)/set_view.c -o _set_view.o
$(C_COMPILE) -c $(srcdir)/set_view.c -o _set_view.o
_seek.o: seek.c
$(CC) $(CFLAGS) -c $(srcdir)/seek.c -o _seek.o
$(C_COMPILE) -c $(srcdir)/seek.c -o _seek.o
_read_at.o: read_at.c
$(CC) $(CFLAGS) -c $(srcdir)/read_at.c -o _read_at.o
$(C_COMPILE) -c $(srcdir)/read_at.c -o _read_at.o
_prealloc.o: prealloc.c
$(CC) $(CFLAGS) -c $(srcdir)/prealloc.c -o _prealloc.o
$(C_COMPILE) -c $(srcdir)/prealloc.c -o _prealloc.o
_iread.o: iread.c
$(CC) $(CFLAGS) -c $(srcdir)/iread.c -o _iread.o
$(C_COMPILE) -c $(srcdir)/iread.c -o _iread.o
_iwrite.o: iwrite.c
$(CC) $(CFLAGS) -c $(srcdir)/iwrite.c -o _iwrite.o
$(C_COMPILE) -c $(srcdir)/iwrite.c -o _iwrite.o
_get_posn.o: get_posn.c
$(CC) $(CFLAGS) -c $(srcdir)/get_posn.c -o _get_posn.o
$(C_COMPILE) -c $(srcdir)/get_posn.c -o _get_posn.o
_delete.o: delete.c
$(CC) $(CFLAGS) -c $(srcdir)/delete.c -o _delete.o
$(C_COMPILE) -c $(srcdir)/delete.c -o _delete.o
_read_all.o: read_all.c
$(CC) $(CFLAGS) -c $(srcdir)/read_all.c -o _read_all.o
$(C_COMPILE) -c $(srcdir)/read_all.c -o _read_all.o
_get_bytoff.o: get_bytoff.c
$(CC) $(CFLAGS) -c $(srcdir)/get_bytoff.c -o _get_bytoff.o
$(C_COMPILE) -c $(srcdir)/get_bytoff.c -o _get_bytoff.o
_read_atall.o: read_atall.c
$(CC) $(CFLAGS) -c $(srcdir)/read_atall.c -o _read_atall.o
$(C_COMPILE) -c $(srcdir)/read_atall.c -o _read_atall.o
_iread_at.o: iread_at.c
$(CC) $(CFLAGS) -c $(srcdir)/iread_at.c -o _iread_at.o
$(C_COMPILE) -c $(srcdir)/iread_at.c -o _iread_at.o
_iwrite_at.o: iwrite_at.c
$(CC) $(CFLAGS) -c $(srcdir)/iwrite_at.c -o _iwrite_at.o
$(C_COMPILE) -c $(srcdir)/iwrite_at.c -o _iwrite_at.o
_get_group.o: get_group.c
$(CC) $(CFLAGS) -c $(srcdir)/get_group.c -o _get_group.o
$(C_COMPILE) -c $(srcdir)/get_group.c -o _get_group.o
_get_amode.o: get_amode.c
$(CC) $(CFLAGS) -c $(srcdir)/get_amode.c -o _get_amode.o
$(C_COMPILE) -c $(srcdir)/get_amode.c -o _get_amode.o
_write_all.o: write_all.c
$(CC) $(CFLAGS) -c $(srcdir)/write_all.c -o _write_all.o
$(C_COMPILE) -c $(srcdir)/write_all.c -o _write_all.o
_write_at.o: write_at.c
$(CC) $(CFLAGS) -c $(srcdir)/write_at.c -o _write_at.o
$(C_COMPILE) -c $(srcdir)/write_at.c -o _write_at.o
_write_atall.o: write_atall.c
$(CC) $(CFLAGS) -c $(srcdir)/write_atall.c -o _write_atall.o
$(C_COMPILE) -c $(srcdir)/write_atall.c -o _write_atall.o
_get_view.o: get_view.c
$(CC) $(CFLAGS) -c $(srcdir)/get_view.c -o _get_view.o
$(C_COMPILE) -c $(srcdir)/get_view.c -o _get_view.o
_fsync.o: fsync.c
$(CC) $(CFLAGS) -c $(srcdir)/fsync.c -o _fsync.o
$(C_COMPILE) -c $(srcdir)/fsync.c -o _fsync.o
_get_atom.o: get_atom.c
$(CC) $(CFLAGS) -c $(srcdir)/get_atom.c -o _get_atom.o
$(C_COMPILE) -c $(srcdir)/get_atom.c -o _get_atom.o
_set_atom.o: set_atom.c
$(CC) $(CFLAGS) -c $(srcdir)/set_atom.c -o _set_atom.o
$(C_COMPILE) -c $(srcdir)/set_atom.c -o _set_atom.o
_set_size.o: set_size.c
$(CC) $(CFLAGS) -c $(srcdir)/set_size.c -o _set_size.o
$(C_COMPILE) -c $(srcdir)/set_size.c -o _set_size.o
_get_size.o: get_size.c
$(CC) $(CFLAGS) -c $(srcdir)/get_size.c -o _get_size.o
$(C_COMPILE) -c $(srcdir)/get_size.c -o _get_size.o
_file_f2c.o: file_f2c.c
$(CC) $(CFLAGS) -c $(srcdir)/file_f2c.c -o _file_f2c.o
$(C_COMPILE) -c $(srcdir)/file_f2c.c -o _file_f2c.o
_file_c2f.o: file_c2f.c
$(CC)</