Some minor changes before integrating ib...
authorPeter Somogyi <psomogyi@gamax.hu>
Mon, 12 Feb 2007 15:47:12 +0000 (16:47 +0100)
committerPeter Somogyi <psomogyi@gamax.hu>
Mon, 12 Feb 2007 15:47:12 +0000 (16:47 +0100)
Makefile.in
ib/README.txt [new file with mode: 0644]
ib/ibwrapper_test.c [moved from tests/ibwrapper_test.c with 100% similarity]

index 1db76a8a812efb5e3fac3c9775a171f9792a08ee..764e78a2502c23a98b4e64cea7aa5cfee9a47b03 100644 (file)
@@ -57,9 +57,9 @@ bin/ctdb_bench: $(OBJS) ctdb_bench.o
        @echo Linking $@
        @$(CC) $(CFLAGS) -o $@ ctdb_bench.o $(OBJS) $(LIB_FLAGS)
 
-bin/ibwrapper_test: $(OBJS) tests/ibwrapper_test.o
+bin/ibwrapper_test: $(OBJS) ib/ibwrapper_test.o
        @echo Linking $@
-       @$(CC) $(CFLAGS) -o $@ tests/ibwrapper_test.o $(OBJS) $(LIB_FLAGS)
+       @$(CC) $(CFLAGS) -o $@ ib/ibwrapper_test.o $(OBJS) $(LIB_FLAGS)
 
 clean:
        rm -f *.o */*.o */*/*.o
diff --git a/ib/README.txt b/ib/README.txt
new file mode 100644 (file)
index 0000000..3e6150a
--- /dev/null
@@ -0,0 +1,11 @@
+Compilation
+===========
+
+For the configure script, please set the OFED include & library path by e.g.:
+
+export CFLAGS="-I/usr/local/ofed/include -L/usr/local/ofed/lib"
+
+After then:
+
+./configure --enable-infiniband
+
similarity index 100%
rename from tests/ibwrapper_test.c
rename to ib/ibwrapper_test.c