From 46ac061fb3b22414539448e2fb7e028c3dfe52ea Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Sun, 12 Dec 2010 20:49:38 +0000 Subject: [PATCH] Do not build vgtest (superseded by vgtest.t). Fix the build line for .t files. --- test/api/Makefile.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/api/Makefile.in b/test/api/Makefile.in index 82695e949..90e116d44 100644 --- a/test/api/Makefile.in +++ b/test/api/Makefile.in @@ -19,9 +19,8 @@ ifeq ("@DEBUG@", "yes") DEFS += -DDEBUG endif -TARGETS = vgtest +TARGETS = test_SOURCES = test.c -vgtest_SOURCES = vgtest.c wrapper_SOURCES = test.c INCLUDES += -I../../include @@ -42,9 +41,8 @@ ifeq ("@DMEVENTD@", "yes") endif test_OBJECTS = $(test_SOURCES:.c=.o) -vgtest_OBJECTS = $(vgtest_SOURCES:.c=.o) wrapper_OBJECTS = $(wrapper_SOURCES:.c=.o) -OBJECTS = $(test_OBJECTS) $(vgtest_OBJECTS) +OBJECTS = $(test_OBJECTS) all: $(UNIT) test @@ -52,7 +50,7 @@ test: $(test_OBJECTS) $(DEPLIBS) $(CC) -o test $(test_OBJECTS) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(READLINE_LIBS) %.o: $(srcdir)/%.c - $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(READLINE_LIBS) + $(CC) -o $@ $(CFLAGS) $(INCLUDES) %.t: %.o $(DEPLIBS) $(CC) -o $@ $(<) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) -- 2.43.5