Просмотр исходного кода

Add the testevs and evsbench targets.

(Logical change 1.62)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@215 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 лет назад
Родитель
Сommit
d3c3c3172a
1 измененных файлов с 10 добавлено и 4 удалено
  1. 10 4
      test/Makefile

+ 10 - 4
test/Makefile

@@ -36,7 +36,7 @@
 # Debug mode flags
 # Debug mode flags
 CFLAGS = -c -g -Wall -DDEBUG -I../include
 CFLAGS = -c -g -Wall -DDEBUG -I../include
 LDFLAGS = -g -L../lib
 LDFLAGS = -g -L../lib
-LIBS = ../lib/libais.a -lpthread
+LIBS = ../lib/libais.a ../lib/libevs.a -lpthread
 
 
 # Profile mode flags
 # Profile mode flags
 #CFLAGS = -c -O3 -pg -DDEBUG -I../include
 #CFLAGS = -c -O3 -pg -DDEBUG -I../include
@@ -47,9 +47,9 @@ EXTRA_CFLAGS = -I../include
 TEST_SRC =  testclm.c testamf.c testamf1.c testamf2.c testamf3.c \
 TEST_SRC =  testclm.c testamf.c testamf1.c testamf2.c testamf3.c \
 		testamf4.c testamf5.c testamf6.c testamfth.c  \
 		testamf4.c testamf5.c testamf6.c testamfth.c  \
 		testckpt.c ckptstress.c testparse.c ckptbench.c  \
 		testckpt.c ckptstress.c testparse.c ckptbench.c  \
-		ckptbenchth.c testevt.c
+		ckptbenchth.c testevt.c testevs.c evsbench.c
 
 
-all: testclm testamf testamf1 testamf2 testamf3 testamf4 testamf5 testamf6 testamfth testckpt ckptstress testparse ckptbench ckptbenchth testevt
+all: testclm testamf testamf1 testamf2 testamf3 testamf4 testamf5 testamf6 testamfth testckpt ckptstress testparse ckptbench ckptbenchth testevt testevs evsbench
 
 
 testparse: testparse.o
 testparse: testparse.o
 	$(CC) $(LDFLAGS) -o testparse testparse.o ../exec/parse.o ../exec/print.o ../exec/mempool.o
 	$(CC) $(LDFLAGS) -o testparse testparse.o ../exec/parse.o ../exec/print.o ../exec/mempool.o
@@ -84,6 +84,12 @@ testamfth: testamfth.o
 testevt: testevt.o
 testevt: testevt.o
 	$(CC) $(LDFLAGS) -o testevt testevt.o $(LIBS)
 	$(CC) $(LDFLAGS) -o testevt testevt.o $(LIBS)
 
 
+testevs: testevs.o
+	$(CC) $(LDFLAGS) -o testevs testevs.o $(LIBS)
+
+evsbench: evsbench.o
+	$(CC) $(LDFLAGS) -o evsbench evsbench.o $(LIBS)
+
 testclm: testclm.o
 testclm: testclm.o
 	$(CC) $(LDFLAGS) -o testclm testclm.o $(LIBS)
 	$(CC) $(LDFLAGS) -o testclm testclm.o $(LIBS)
 
 
@@ -100,7 +106,7 @@ ckptstress: ckptstress.o
 	$(CC) $(LDFLAGS) -o ckptstress ckptstress.o $(LIBS)
 	$(CC) $(LDFLAGS) -o ckptstress ckptstress.o $(LIBS)
 
 
 clean:
 clean:
-	rm -f *.o testclm testamf testamf1 testamf2 testamf3 testamf4 testamf5 testamf6 testamfth testckpt ckptstress testparse testtimer ckptbench ckptbenchth testevt
+	rm -f *.o testclm testamf testamf1 testamf2 testamf3 testamf4 testamf5 testamf6 testamfth testckpt ckptstress testparse testtimer ckptbench ckptbenchth testevt testevs
 
 
 %.o: %.c
 %.o: %.c
 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<