[Pvfs2-cvs] commit by vilayann in pvfs2-1/test: Makefile.in
CVS commit program
cvs at parl.clemson.edu
Wed Aug 9 16:17:58 EDT 2006
Update of /projects/cvsroot/pvfs2-1/test
In directory parlweb1:/tmp/cvs-serv7687/test
Modified Files:
Tag: posix-extensions-branch
Makefile.in
Log Message:
Reverse merge changes from HEAD to posix-extensions-branch.
Index: Makefile.in
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/test/Makefile.in,v
diff -p -u -r1.11.6.3 -r1.11.6.4
--- Makefile.in 7 Jun 2006 03:21:09 -0000 1.11.6.3
+++ Makefile.in 9 Aug 2006 20:17:58 -0000 1.11.6.4
@@ -236,9 +236,10 @@ modcflags = $(MODCFLAGS_$(call canonname
$(MODCFLAGS_$(patsubst $(srcdir)/%,%,$(1))) \
-I$(call dirname,$(1))
-# Grab any LDFLAGS defined by the make stub
modldflags = $(MODLDFLAGS_$(call canonname,$(1))) \
- $(MODLDFLAGS_$(patsubst $(srcdir)/%,%,$(1)))
+ $(MODLDFLAGS_$(patsubst $(srcdir)/%,%,$(1))) \
+ -L$(call dirname,$(1))
+
# target for building the test program executables
tests: $(TESTS)
@@ -286,18 +287,18 @@ endif
# rule for building MPI executables from object files
$(MPITESTS): %: %.o $(MPIMISCOBJS) $(LIBRARIES)
$(Q) " MPILD $@"
- $(E)$(MPICC) $^ $(LDFLAGS) $(LIBS) -lm -o $@ $(call modldflags,$<)
+ $(E)$(MPICC) $^ $(LDFLAGS) $(call modldflags,$<) $(LIBS) -lm -o $@
# rule for building MPI-IO executables from object files
# note: add a $(MPIMISCOBJS) prereq if we build multi-object tests someday
$(MPIIOTESTS): %: %.o $(LIBRARIES)
$(Q) " MPILD $@"
- $(E)$(MPICC) $^ $(LDFLAGS) $(LIBS) -lm -o $@ $(call modldflags,$<)
+ $(E)$(MPICC) $^ $(LDFLAGS) $(call modldflags,$<) $(LIBS) -lm -o $@
# default rule for building executables from object files
%: %.o $(LIBRARIES) $(MISCOBJS)
$(Q) " LD $@"
- $(E)$(LD) $(LDFLAGS) $< $(MISCOBJS) $(LIBS) -o $@ $(call modldflags,$<)
+ $(E)$(LD) $(LDFLAGS) $(call modldflags,$<) $< $(MISCOBJS) $(LIBS) -o $@
# default rule for building objects
%.o: %.c
More information about the Pvfs2-cvs
mailing list