Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-mumps
mumps-libdir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mumps-libdir.patch of Package mingw32-mumps
diff --git a/Makefile b/Makefile index fc1cb67..e74773f 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ zexamples: z (cd examples ; $(MAKE) z) -requiredobj: Makefile.inc $(LIBSEQNEEDED) $(libdir)/libpord$(PLAT)$(LIBEXT) +requiredobj: Makefile.inc $(LIBSEQNEEDED) $(topdir)/lib/libpord$(PLAT)$(LIBEXT) # dummy MPI library (sequential version) @@ -59,7 +59,7 @@ libseqneeded: (cd libseq; $(MAKE)) # Build the libpord.a library and copy it into $(topdir)/lib -$(libdir)/libpord$(PLAT)$(LIBEXT): +$(topdir)/lib/libpord$(PLAT)$(LIBEXT): if [ "$(LPORDDIR)" != "" ] ; then \ cd $(LPORDDIR); \ $(MAKE) CC="$(CC)" CFLAGS="$(OPTC)" AR="$(AR)" RANLIB="$(RANLIB)" OUTC=$(OUTC) LIBEXT=$(LIBEXT); \ @@ -71,7 +71,7 @@ $(libdir)/libpord$(PLAT)$(LIBEXT): clean: (cd src; $(MAKE) clean) (cd examples; $(MAKE) clean) - (cd $(libdir); $(RM) *$(PLAT)$(LIBEXT)) + (cd $(topdir)/lib; $(RM) *$(PLAT)$(LIBEXT)) (cd libseq; $(MAKE) clean) if [ $(LPORDDIR) != "" ] ; then \ cd $(LPORDDIR); $(MAKE) realclean; \ diff --git a/src/Makefile b/src/Makefile index d42a915..641bca1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,8 +19,8 @@ z: include $(topdir)/Makefile.inc -mumps_lib: $(libdir)/libmumps_common$(PLAT)$(LIBEXT) \ - $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT) +mumps_lib: $(topdir)/lib/libmumps_common$(PLAT)$(LIBEXT) \ + $(topdir)/lib/lib$(ARITH)mumps$(PLAT)$(LIBEXT) OBJS_COMMON = \ mumps_part9.o\ @@ -52,11 +52,11 @@ OBJS = $(ARITH)mumps_part1.o\ $(ARITH)mumps_struc_def.o -$(libdir)/libmumps_common$(PLAT)$(LIBEXT): $(OBJS_COMMON) +$(topdir)/lib/libmumps_common$(PLAT)$(LIBEXT): $(OBJS_COMMON) $(AR)$@ $? $(RANLIB) $@ -$(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS) +$(topdir)/lib/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS) $(AR)$@ $? $(RANLIB) $@
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor