Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 88110 | Differences between
and this patch

Collapse All | Expand All

(-)lam-7.1.1.orig/romio/mpi-io/Makefile.in (-1 / +10 lines)
Lines 1-6 Link Here
1
CC          = @CC@
1
CC          = @CC@
2
AR          = @AR@
2
AR          = @AR@
3
LIBNAME     = @LIBNAME@
3
LIBNAME     = @LIBNAME@
4
PICFLAGS    = -fPIC -DPIC
5
SOFLAGS     = -shared
6
SONAME      = $(basename @LIBNAME@).so
4
RANLIB      = @RANLIB@
7
RANLIB      = @RANLIB@
5
srcdir      = @srcdir@
8
srcdir      = @srcdir@
6
9
Lines 55-64 Link Here
55
58
56
all: $(LIBNAME)
59
all: $(LIBNAME)
57
60
61
dir:
62
	mkdir -p shared/
63
58
.SUFFIXES: $(SUFFIXES) .p
64
.SUFFIXES: $(SUFFIXES) .p
59
65
60
.c.o:
66
.c.o:
61
	$(CC) $(CFLAGS) -c $<
67
	$(CC) $(CFLAGS) -c $<
68
	$(CC) $(CFLAGS) $(PICFLAGS) -c -o shared/$@ $<
62
69
63
.c.p:
70
.c.p:
64
	@cp $(srcdir)/$*.c _$*.c
71
	@cp $(srcdir)/$*.c _$*.c
Lines 69-76 Link Here
69
	$(AR) $(LIBNAME) $(MPIO_REAL_POBJECTS)
76
	$(AR) $(LIBNAME) $(MPIO_REAL_POBJECTS)
70
	@rm -f _*.o
77
	@rm -f _*.o
71
78
72
$(LIBNAME): $(MPIO_OBJECTS)
79
$(LIBNAME): dir $(MPIO_OBJECTS)
73
	$(AR) $(LIBNAME) $(MPIO_OBJECTS)
80
	$(AR) $(LIBNAME) $(MPIO_OBJECTS)
81
	$(CC) $(SOFLAGS) -o $(SONAME) $(addprefix shared/, $(MPIO_OBJECTS))
74
82
75
clean:
83
clean:
76
	@rm -f *.o
84
	@rm -f *.o
85
	@rm -f shared/*.o
(-)lam-7.1.1.orig/romio/util/romioinstall.in (+1 lines)
Lines 128-133 Link Here
128
# Library files
128
# Library files
129
dir="$libdir"
129
dir="$libdir"
130
append "$ROMIO_TOP_BUILDDIR/lib/liblammpio.a:$dir/liblammpio.a"
130
append "$ROMIO_TOP_BUILDDIR/lib/liblammpio.a:$dir/liblammpio.a"
131
append "$ROMIO_TOP_BUILDDIR/lib/liblammpio.so:$dir/liblammpio.so"
131
132
132
# Man pages
133
# Man pages
133
dir="$mandir/man3"
134
dir="$mandir/man3"

Return to bug 88110