Rename MIQ_COMPILE to COMPILE-lt (for libtool)

This is part of the ongoing effort to clarify the variable names.
These variables could be modifed by the environment.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
Christophe de Dinechin 2020-09-03 21:51:43 +02:00
parent dce5f235b7
commit c1b26009db
1 changed files with 7 additions and 7 deletions

View File

@ -148,12 +148,12 @@ MAKE_OBJDIR= $(MAKE_DIR) && touch $@
LDFLAGS_RPATH= -Wl,-rpath,$(PREFIX_DLL)
ifdef LIBTOOL
MIQ_COMPILE= $(LIBTOOL) --silent --mode=compile
MIQ_LINK= $(LIBTOOL) --silent --mode=link
COMPILE.c= $(MIQ_COMPILE) $(CC) $(MIQ_CFLAGS) -c $< -o $@
COMPILE.cpp= $(MIQ_COMPILE) $(CXX) $(MIQ_CXXFLAGS) -c $< -o $@
COMPILE.s= $(MIQ_COMPILE) $(CC) $(MIQ_CFLAGS) -c $< -o $@
LINK.lib= $(MIQ_LINK) $(LD) $(MIQ_LDFLAGS) $(MIQ_LINKARGS) \
COMPILE-lt= $(LIBTOOL) --silent --mode=compile
LINK-lt= $(LIBTOOL) --silent --mode=link
COMPILE.c= $(COMPILE-lt) $(CC) $(MIQ_CFLAGS) -c $< -o $@
COMPILE.cpp= $(COMPILE-lt) $(CXX) $(MIQ_CXXFLAGS) -c $< -o $@
COMPILE.s= $(COMPILE-lt) $(CC) $(MIQ_CFLAGS) -c $< -o $@
LINK.lib= $(LINK-lt) $(LD) $(MIQ_LDFLAGS) $(MIQ_LINKARGS) \
-o $@ \
$(MIQ_LT_VERS_OPT)
LINK.dll= $(LINK.lib)
@ -166,7 +166,7 @@ CFLAGS_PIC= -fPIC
COMPILE.c= $(CC) $(MIQ_CFLAGS) -c $< -o $@
COMPILE.cpp= $(CXX) $(MIQ_CXXFLAGS) -c $< -o $@
COMPILE.s= $(CC) $(MIQ_CFLAGS) -c $< -o $@
LINK.lib= $(AR) $@ $(MIQ_TOLINK) && $(RANLIB) $@
LINK.lib= $(AR) $@ $^ && $(RANLIB) $@
LINK.dll= $(LD) -shared $(MIQ_LINKARGS) $(MIQ_LDFLAGS) \
-o $(MIQ_DLLNAME) \
$(MIQ_SONAME_OPT) \