1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-04 09:18:36 +03:00

Do not build vgtest (superseded by vgtest.t). Fix the build line for .t files.

This commit is contained in:
Petr Rockai 2010-12-12 20:49:38 +00:00
parent 5f4dc7f957
commit 6ba68e2a84

View File

@ -19,9 +19,8 @@ ifeq ("@DEBUG@", "yes")
DEFS += -DDEBUG DEFS += -DDEBUG
endif endif
TARGETS = vgtest TARGETS =
test_SOURCES = test.c test_SOURCES = test.c
vgtest_SOURCES = vgtest.c
wrapper_SOURCES = test.c wrapper_SOURCES = test.c
INCLUDES += -I../../include INCLUDES += -I../../include
@ -42,9 +41,8 @@ ifeq ("@DMEVENTD@", "yes")
endif endif
test_OBJECTS = $(test_SOURCES:.c=.o) test_OBJECTS = $(test_SOURCES:.c=.o)
vgtest_OBJECTS = $(vgtest_SOURCES:.c=.o)
wrapper_OBJECTS = $(wrapper_SOURCES:.c=.o) wrapper_OBJECTS = $(wrapper_SOURCES:.c=.o)
OBJECTS = $(test_OBJECTS) $(vgtest_OBJECTS) OBJECTS = $(test_OBJECTS)
all: $(UNIT) test all: $(UNIT) test
@ -52,7 +50,7 @@ test: $(test_OBJECTS) $(DEPLIBS)
$(CC) -o test $(test_OBJECTS) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(READLINE_LIBS) $(CC) -o test $(test_OBJECTS) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(READLINE_LIBS)
%.o: $(srcdir)/%.c %.o: $(srcdir)/%.c
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(READLINE_LIBS) $(CC) -o $@ $(CFLAGS) $(INCLUDES)
%.t: %.o $(DEPLIBS) %.t: %.o $(DEPLIBS)
$(CC) -o $@ $(<) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(CC) -o $@ $(<) $(CFLAGS) $(LDFLAGS) $(LVMLIBS) $(LIBS)