mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: update makefiles
This commit is contained in:
parent
3232b210ab
commit
19bd65207e
@ -256,14 +256,14 @@ lib/fail: lib/not
|
||||
$(LN_S) -f not lib/fail
|
||||
|
||||
lib/runner: lib/runner.o .lib-dir-stamp
|
||||
$(CXX) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) -o $@ $<
|
||||
$(CXX) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -o $@ $<
|
||||
|
||||
lib/runner.o: $(wildcard $(srcdir)/lib/*.h)
|
||||
|
||||
CFLAGS_runner.o += $(EXTRA_EXEC_CFLAGS)
|
||||
|
||||
lib/%: lib/%.o .lib-dir-stamp
|
||||
$(CC) $(LDFLAGS) -o $@ $<
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) -o $@ $<
|
||||
|
||||
lib/%: $(srcdir)/lib/%.sh .lib-dir-stamp
|
||||
cp $< $@
|
||||
|
@ -46,10 +46,10 @@ LDFLAGS += -L$(top_builddir)/liblvm -L$(top_builddir)/daemons/dmeventd
|
||||
LIBS += @LVM2APP_LIB@ $(DMEVENT_LIBS) -ldevmapper
|
||||
|
||||
%.t: %.o $(DEPLIBS)
|
||||
$(CC) -o $@ $(<) $(LDFLAGS) $(LIBS)
|
||||
$(CC) -o $@ $(<) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS)
|
||||
|
||||
test: $(OBJECTS) $(DEPLIBS)
|
||||
$(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) $(READLINE_LIBS)
|
||||
$(CC) -o $@ $(OBJECTS) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) $(LIBS) $(READLINE_LIBS)
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status test/api/Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user