From 7a59ba9d24354a4f11fa59f3c7170bdbfb9a7e07 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 4 Aug 2008 05:21:52 +0000 Subject: [PATCH] Allow msg service test applications to build properly. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1620 fd59a12c-fef9-0310-b244-a6a79926bd2f --- openais/test/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/openais/test/Makefile b/openais/test/Makefile index be4f737b..b7bd1c6d 100644 --- a/openais/test/Makefile +++ b/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)