Przeglądaj źródła

Allow msg service test applications to build properly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1620 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 17 lat temu
rodzic
commit
7a59ba9d24
1 zmienionych plików z 8 dodań i 2 usunięć
  1. 8 2
      openais/test/Makefile

+ 8 - 2
openais/test/Makefile

@@ -37,9 +37,9 @@ ifeq (${OPENAIS_COMPAT}, SOLARIS)
 	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 @@ all: $(BINARIES)
 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)