LVM2/test/api Makefile.in
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-12-12 20:49:38
Modified files:
test/api : Makefile.in
Log message:
Do not build vgtest (superseded by vgtest.t). Fix the build line for .t files.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/api/Makefile.in.diff?cvsroot=lvm2&r1=1.15&r2=1.16
test/api/Makefile.in +3 -5
@@ -19,9 +19,8 @@ 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 @@ 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 @@ $(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)