Patch for errors in openais/test/Makile. Added build targets for
testmsg and testmsg2 (used fr testing the message service). Also added
../lib/libSaMsg.a to libraries.

Ryan


Index: trunk/openais/test/Makefile
===================================================================
--- trunk/openais/test/Makefile (revision 1616)
+++ trunk/openais/test/Makefile (working copy)
@@ -37,9 +37,9 @@
        override LDFLAGS += -lnsl -lsocket -lrt
 endif
 
-LIBRARIES= ../lib/libSaCkpt.a sa_error.o
+LIBRARIES= ../lib/libSaCkpt.a ../lib/libSaMsg.a sa_error.o
 LIBS = $(LIBRARIES) 
-BINARIES= testckpt
+BINARIES= testckpt testmsg testmsg2
 
 override CFLAGS += -I../include
 override LDFLAGS += -L../lib
@@ -52,6 +52,12 @@
 testckpt: testckpt.o $(LIBRARIES)
        $(CC) $(LDFLAGS) -o testckpt testckpt.o $(LIBS)
 
+testmsg: testmsg.o $(LIBRARIES)
+       $(CC) $(LDFLAGS) -o testmsg testmsg.o $(LIBS)
+
+testmsg2: testmsg2.o $(LIBRARIES)
+       $(CC) $(LDFLAGS) -o testmsg2 testmsg2.o $(LIBS)
+
 clean:
        rm -f *.o $(LIBRARIES) $(BINARIES)
 
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to