Hi Tweak the plugin Makefile.in's to follow the usual convention (ldflags are for linking, not for building the .o files).
Without this, and with ldflags set to something useful to the linker, the build would show warnings "linker option passed, but linking not done". Harmless, but still I'd rather have them removed. - Lauri
>From f25a3234f29f65127a16cc2e47ba20d6818eab3b Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Fri, 8 Jun 2012 14:30:42 +0300 Subject: [PATCH] plugins: LDFLAGS only belongs in the linker command Signed-off-by: Lauri Kasanen <[email protected]> --- plugins/auth/Makefile.in | 4 ++-- plugins/cheetah/Makefile.in | 4 ++-- plugins/dirlisting/Makefile.in | 4 ++-- plugins/liana/Makefile.in | 4 ++-- plugins/liana_ssl/Makefile.in | 4 ++-- plugins/logger/Makefile.in | 4 ++-- plugins/mandril/Makefile.in | 4 ++-- plugins/palm/Makefile.in | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/plugins/auth/Makefile.in b/plugins/auth/Makefile.in index 59d9685..2c1d1bc 100644 --- a/plugins/auth/Makefile.in +++ b/plugins/auth/Makefile.in @@ -15,8 +15,8 @@ monkey-auth.so: $(OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lc .c.o: $(SOURCES) - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] *.*~ *.*so* diff --git a/plugins/cheetah/Makefile.in b/plugins/cheetah/Makefile.in index f3d9813..ebb0c69 100644 --- a/plugins/cheetah/Makefile.in +++ b/plugins/cheetah/Makefile.in @@ -15,7 +15,7 @@ monkey-cheetah.so: $(CHEETAH_OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lc .c.o: - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] *~ *.*so* diff --git a/plugins/dirlisting/Makefile.in b/plugins/dirlisting/Makefile.in index c1017d1..3e10724 100644 --- a/plugins/dirlisting/Makefile.in +++ b/plugins/dirlisting/Makefile.in @@ -15,8 +15,8 @@ monkey-dirlisting.so: $(DIRLISTING_OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lc .c.o: - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] *~ *.*so* diff --git a/plugins/liana/Makefile.in b/plugins/liana/Makefile.in index c7922d4..d572a35 100644 --- a/plugins/liana/Makefile.in +++ b/plugins/liana/Makefile.in @@ -15,8 +15,8 @@ monkey-liana.so: $(LIANA_OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lc .c.o: - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] *~ *.*so* diff --git a/plugins/liana_ssl/Makefile.in b/plugins/liana_ssl/Makefile.in index f00df23..21fd38d 100644 --- a/plugins/liana_ssl/Makefile.in +++ b/plugins/liana_ssl/Makefile.in @@ -16,8 +16,8 @@ monkey-liana_ssl.so: $(OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lmatrixssl .c.o: - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCDIR) -I$(MATRIX_HEADERS) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) $(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) $(INCDIR) -I$(MATRIX_HEADERS) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] *.*~ *.*so* diff --git a/plugins/logger/Makefile.in b/plugins/logger/Makefile.in index 2e99fea..b07fe6a 100644 --- a/plugins/logger/Makefile.in +++ b/plugins/logger/Makefile.in @@ -15,8 +15,8 @@ monkey-logger.so: $(LOGGER_OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lc .c.o: - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] *~ rm -rf *.*so* diff --git a/plugins/mandril/Makefile.in b/plugins/mandril/Makefile.in index 2f9f749..cd39247 100644 --- a/plugins/mandril/Makefile.in +++ b/plugins/mandril/Makefile.in @@ -15,8 +15,8 @@ monkey-mandril.so: $(MANDRIL_OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lc .c.o: - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] diff --git a/plugins/palm/Makefile.in b/plugins/palm/Makefile.in index ed57080..789a436 100644 --- a/plugins/palm/Makefile.in +++ b/plugins/palm/Makefile.in @@ -16,8 +16,8 @@ monkey-palm.so: $(OBJECTS) $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -shared -o $@ $^ -lc .c.o: $(SOURCES) - $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< - $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) $(LDFLAGS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 + $(CC) $(CFLAGS) $(DEFS) -I$(INCDIR) -fPIC -c $< + $(CC_QUIET) -MM -MP $(CFLAGS) $(DEFS) -I$(INCDIR) $*.c -o $*.d > /dev/null &2>&1 clean: rm -rf *.[od] *.*~ *.*so* -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
