INN commit: trunk (8 files)

INN Commit rra at isc.org
Sat Nov 21 09:41:46 UTC 2020


    Date: Saturday, November 21, 2020 @ 01:41:46
  Author: iulius
Revision: 10415

Build using Libtool, and not gcc directly

A few remaining files were build without calling Libtool

Modified:
  trunk/authprogs/Makefile
  trunk/frontends/Makefile
  trunk/innd/Makefile
  trunk/innfeed/Makefile
  trunk/lib/Makefile
  trunk/nnrpd/Makefile
  trunk/storage/Makefile
  trunk/tests/Makefile

--------------------+
 authprogs/Makefile |    4 ++--
 frontends/Makefile |    8 ++++----
 innd/Makefile      |    4 ++--
 innfeed/Makefile   |    2 +-
 lib/Makefile       |    2 +-
 nnrpd/Makefile     |    6 +++---
 storage/Makefile   |    2 +-
 tests/Makefile     |   36 ++++++++++++++++++------------------
 8 files changed, 32 insertions(+), 32 deletions(-)

Modified: authprogs/Makefile
===================================================================
--- authprogs/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ authprogs/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -59,10 +59,10 @@
 	$(LINK) radius.o $(AUTH_LIBS)
 
 auth_krb5.o: auth_krb5.c
-	$(CC) $(CFLAGS) $(KRB5_CPPFLAGS) -c auth_krb5.c
+	$(LIBCC) $(CFLAGS) $(KRB5_CPPFLAGS) -c auth_krb5.c
 
 ckpasswd.o: ckpasswd.c
-	$(CC) $(CFLAGS) $(DBM_CPPFLAGS) -c ckpasswd.c
+	$(LIBCC) $(CFLAGS) $(DBM_CPPFLAGS) -c ckpasswd.c
 
 $(LIBINN):	; (cd ../lib ; $(MAKE))
 $(LIBSTORAGE):	; (cd ../storage ; $(MAKE))

Modified: frontends/Makefile
===================================================================
--- frontends/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ frontends/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -92,16 +92,16 @@
 sm:		sm.o           $(BOTH)   ; $(LINK) sm.o           $(STORELIBS)
 
 ovdb_init.o: ovdb_init.c
-	$(CC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
+	$(LIBCC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
 
 ovdb_monitor.o: ovdb_monitor.c
-	$(CC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
+	$(LIBCC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
 
 ovdb_server.o: ovdb_server.c
-	$(CC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
+	$(LIBCC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
 
 ovdb_stat.o: ovdb_stat.c
-	$(CC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
+	$(LIBCC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
 
 cnfsheadconf:	cnfsheadconf.in  $(FIX)	; $(FIX) cnfsheadconf.in
 cnfsstat:	cnfsstat.in      $(FIX)	; $(FIX) cnfsstat.in

Modified: innd/Makefile
===================================================================
--- innd/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ innd/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -36,8 +36,8 @@
 INNDLIBS 	= $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) \
 		  $(PERL_LIBS) $(PYTHON_LIBS) $(REGEX_LIBS) $(LIBS)
 
-perl.o:		perl.c   ; $(CC) $(CFLAGS) $(PERL_CPPFLAGS) -c perl.c
-python.o:	python.c ; $(CC) $(CFLAGS) $(PYTHON_CPPFLAGS) -c python.c
+perl.o:		perl.c   ; $(LIBCC) $(CFLAGS) $(PERL_CPPFLAGS) -c perl.c
+python.o:	python.c ; $(LIBCC) $(CFLAGS) $(PYTHON_CPPFLAGS) -c python.c
 
 innd: $(OBJECTS) $(LIBSTORAGE) $(LIBHIST) $(LIBINN)
 	$(LIBLD) $(LDFLAGS) -o $@ $(OBJECTS) $(INNDLIBS)

Modified: innfeed/Makefile
===================================================================
--- innfeed/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ innfeed/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -64,7 +64,7 @@
 	mv lex.yy.c config_l.c
 
 imap_connection.o: imap_connection.c
-	$(CC) $(CFLAGS) $(SASL_CPPFLAGS) -c $<
+	$(LIBCC) $(CFLAGS) $(SASL_CPPFLAGS) -c $<
 
 innfeed: $(OBJECTS) connection.o $(LIBSTORAGE) $(LIBINN)
 	$(LIBLD) $(LDFLAGS) -o $@ $(OBJECTS) connection.o $(INNFEEDLIBS)

Modified: lib/Makefile
===================================================================
--- lib/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ lib/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -67,7 +67,7 @@
 	$(LIBCC) $(CFLAGS) -c $*.c
 
 perl.o: perl.c
-	$(CC) $(CFLAGS) $(PERL_CPPFLAGS) $(LDFLAGS) -c perl.c
+	$(LIBCC) $(CFLAGS) $(PERL_CPPFLAGS) $(LDFLAGS) -c perl.c
 
 ../include/inn/system.h:
 	(cd ../include && $(MAKE))

Modified: nnrpd/Makefile
===================================================================
--- nnrpd/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ nnrpd/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -38,10 +38,10 @@
 		  $(ZLIB_LDFLAGS) $(ZLIB_LIBS) $(LIBS)
 
 .c.o:
-	$(CC) $(CFLAGS) -c $<
+	$(LIBCC) $(CFLAGS) -c $<
 
-perl.o:		perl.c   ; $(CC) $(CFLAGS) $(PERL_CPPFLAGS) -c perl.c
-python.o:	python.c ; $(CC) $(CFLAGS) $(PYTHON_CPPFLAGS) -c python.c
+perl.o:		perl.c   ; $(LIBCC) $(CFLAGS) $(PERL_CPPFLAGS) -c perl.c
+python.o:	python.c ; $(LIBCC) $(CFLAGS) $(PYTHON_CPPFLAGS) -c python.c
 
 nnrpd: $(OBJECTS) $(LIBHIST) $(LIBSTORAGE) $(LIBINN)
 	$(LIBLD) $(LDFLAGS) -o $@ $(OBJECTS) $(NNRPDLIBS)

Modified: storage/Makefile
===================================================================
--- storage/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ storage/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -79,7 +79,7 @@
 	$(LIBCC) $(CFLAGS) $(CCOUTPUT)
 
 ovtest:	ov.c libstorage.$(EXTLIB) $(LIBINN)
-	$(CC) $(CFLAGS) -D_TEST_ -o ovtest ov.c \
+	$(LIBCC) $(CFLAGS) -D_TEST_ -o ovtest ov.c \
 	    libstorage.$(EXTLIB) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
 
 $(LIBINN):      ; (cd ../lib ; $(MAKE))

Modified: tests/Makefile
===================================================================
--- tests/Makefile	2020-11-21 09:21:46 UTC (rev 10414)
+++ tests/Makefile	2020-11-21 09:41:46 UTC (rev 10415)
@@ -52,7 +52,7 @@
 	@exit 1
 
 .c.o:
-	$(CC) $(CFLAGS) -c -o $@ $*.c
+	$(LIBCC) $(CFLAGS) -c -o $@ $*.c
 
 LINK		= $(LIBTOOLLD) $(CC) $(LDFLAGS) $(BDB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@
 LINKDEPS	= $(LIBTOOLLDDEPS) $(CC) $(LDFLAGS) $(BDB_LDFLAGS) $(SSL_LDFLAGS) $(SASL_LDFLAGS) $(KRB5_LDFLAGS) -o $@
@@ -90,7 +90,7 @@
 	$(LINK) innd/chan-t.o innd/fakeinnd.o tap/basic.o $(INNOBJS) $(INNDLIBS)
 
 lib/asprintf.o: ../lib/asprintf.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/asprintf.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/asprintf.c
 
 lib/asprintf.t: lib/asprintf.o lib/asprintf-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/asprintf.o lib/asprintf-t.o tap/basic.o $(LIBINN) $(LIBS)
@@ -118,7 +118,7 @@
 	$(LINK) lib/fdflag-t.o tap/basic.o $(LIBINN) $(LIBS)
 
 lib/getaddrinfo.o: ../lib/getaddrinfo.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/getaddrinfo.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/getaddrinfo.c
 
 lib/getaddrinfo.t: lib/getaddrinfo.o lib/getaddrinfo-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/getaddrinfo.o lib/getaddrinfo-t.o tap/basic.o \
@@ -125,7 +125,7 @@
 	    $(LIBINN) $(LIBS)
 
 lib/getnameinfo.o: ../lib/getnameinfo.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/getnameinfo.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/getnameinfo.c
 
 lib/getnameinfo.t: lib/getnameinfo.o lib/getnameinfo-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/getnameinfo.o lib/getnameinfo-t.o tap/basic.o \
@@ -144,19 +144,19 @@
 	$(LINK) lib/hex-t.o tap/basic.o $(LIBINN) $(LIBS)
 
 lib/inet_aton.o: ../lib/inet_aton.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/inet_aton.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/inet_aton.c
 
 lib/inet_aton.t: lib/inet_aton.o lib/inet_aton-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/inet_aton.o lib/inet_aton-t.o tap/basic.o $(LIBINN)
 
 lib/inet_ntoa.o: ../lib/inet_ntoa.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/inet_ntoa.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/inet_ntoa.c
 
 lib/inet_ntoa.t: lib/inet_ntoa.o lib/inet_ntoa-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/inet_ntoa.o lib/inet_ntoa-t.o tap/basic.o $(LIBINN)
 
 lib/inet_ntop.o: ../lib/inet_ntop.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/inet_ntop.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/inet_ntop.c
 
 lib/inet_ntop.t: lib/inet_ntop.o lib/inet_ntop-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/inet_ntop.o lib/inet_ntop-t.o tap/basic.o $(LIBINN)
@@ -179,7 +179,7 @@
 	    $(LIBINN)
 
 lib/mkstemp.o: ../lib/mkstemp.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/mkstemp.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/mkstemp.c
 
 lib/mkstemp.t: lib/mkstemp.o lib/mkstemp-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/mkstemp.o lib/mkstemp-t.o tap/basic.o $(LIBINN)
@@ -199,13 +199,13 @@
 	    tap/string.o $(LIBINN) $(LIBS)
 
 lib/pread.o: ../lib/pread.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/pread.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/pread.c
 
 lib/pread.t: lib/pread.o lib/pread-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/pread.o lib/pread-t.o tap/basic.o $(LIBINN)
 
 lib/pwrite.o: ../lib/pwrite.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/pwrite.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/pwrite.c
 
 lib/pwrite.t: lib/pwrite.o lib/pwrite-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/pwrite.o lib/pwrite-t.o tap/basic.o $(LIBINN)
@@ -214,31 +214,31 @@
 	$(LINK) lib/qio-t.o tap/basic.o $(LIBINN)
 
 lib/reallocarray.o: ../lib/reallocarray.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/reallocarray.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/reallocarray.c
 
 lib/reallocarray.t: lib/reallocarray.o lib/reallocarray-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/reallocarray.o lib/reallocarray-t.o tap/basic.o $(LIBINN)
 
 lib/setenv.o: ../lib/setenv.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/setenv.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/setenv.c
 
 lib/setenv.t: lib/setenv.o lib/setenv-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/setenv.o lib/setenv-t.o tap/basic.o $(LIBINN)
 
 lib/snprintf.o: ../lib/snprintf.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/snprintf.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/snprintf.c
 
 lib/snprintf.t: lib/snprintf.o lib/snprintf-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/snprintf.o lib/snprintf-t.o tap/basic.o $(LIBINN)
 
 lib/strlcat.o: ../lib/strlcat.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/strlcat.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/strlcat.c
 
 lib/strlcat.t: lib/strlcat.o lib/strlcat-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/strlcat.o lib/strlcat-t.o tap/basic.o $(LIBINN)
 
 lib/strlcpy.o: ../lib/strlcpy.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/strlcpy.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/strlcpy.c
 
 lib/strlcpy.t: lib/strlcpy.o lib/strlcpy-t.o tap/basic.o $(LIBINN)
 	$(LINK) lib/strlcpy.o lib/strlcpy-t.o tap/basic.o $(LIBINN)
@@ -259,7 +259,7 @@
 	$(LINK) lib/xmalloc.o $(LIBINN)
 
 lib/xwrite.o: ../lib/xwrite.c
-	$(CC) $(CFLAGS) -DTESTING -c -o $@ ../lib/xwrite.c
+	$(LIBCC) $(CFLAGS) -DTESTING -c -o $@ ../lib/xwrite.c
 
 lib/xwrite.t: lib/xwrite-t.o lib/xwrite.o lib/fakewrite.o tap/basic.o $(LIBINN)
 	$(LINK) lib/xwrite-t.o lib/xwrite.o lib/fakewrite.o tap/basic.o \
@@ -273,13 +273,13 @@
 	$(LINKDEPS) overview/api-t.o tap/basic.o $(STORAGELIBS) $(LIBS)
 
 overview/buffindexed-t.o: overview/overview-t.c
-	$(CC) $(CFLAGS) -DOVTYPE=buffindexed -c -o $@ overview/overview-t.c
+	$(LIBCC) $(CFLAGS) -DOVTYPE=buffindexed -c -o $@ overview/overview-t.c
 
 overview/buffindexed.t: overview/buffindexed-t.o tap/basic.o $(STORAGEDEPS)
 	$(LINKDEPS) overview/buffindexed-t.o tap/basic.o $(STORAGELIBS) $(LIBS)
 
 overview/tradindexed-t.o: overview/overview-t.c
-	$(CC) $(CFLAGS) -DOVTYPE=tradindexed -c -o $@ overview/overview-t.c
+	$(LIBCC) $(CFLAGS) -DOVTYPE=tradindexed -c -o $@ overview/overview-t.c
 
 overview/tradindexed.t: overview/tradindexed-t.o tap/basic.o $(STORAGEDEPS)
 	$(LINKDEPS) overview/tradindexed-t.o tap/basic.o $(STORAGELIBS) $(LIBS)



More information about the inn-committers mailing list