$OpenBSD: patch-Makefile_in,v 1.6 2020/02/05 00:12:44 sthen Exp $

remove gmake-isms - this port needs to have no dependencies (for USE_CCACHE)

get rid of warning spam during build,
:  $(if $(quiet),@echo "...")' expands to ''


Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -105,19 +105,15 @@ files_to_distclean = Makefile config.h config.log conf
 all: ccache$(EXEEXT)
 
 ccache$(EXEEXT): $(ccache_objs) $(extra_libs)
-	$(if $(quiet),@echo "  LD       $@")
 	$(Q)$(CC) -o $@ $(ccache_objs) $(LDFLAGS) $(extra_libs) $(LIBS)
 
 ccache.1: doc/ccache.1
-	$(if $(quiet),@echo "  CP       $@")
-	$(Q)cp $< $@
+	$(Q)cp $> $@
 
 .PHONY: install
 install: ccache$(EXEEXT) @disable_man@ccache.1
-	$(if $(quiet),@echo "  INSTALL  ccache$(EXEEXT)")
 	$(Q)$(installcmd) -d $(DESTDIR)$(bindir)
 	$(Q)$(installcmd) -m 755 ccache$(EXEEXT) $(DESTDIR)$(bindir)
-@disable_man@	$(if $(quiet),@echo "  INSTALL  ccache.1")
 @disable_man@	$(Q)$(installcmd) -d $(DESTDIR)$(mandir)/man1
 @disable_man@	$(Q)-$(installcmd) -m 644 ccache.1 $(DESTDIR)$(mandir)/man1/
 
@@ -125,9 +121,6 @@ install: ccache$(EXEEXT) @disable_man@ccache.1
 clean:
 	rm -rf $(files_to_clean)
 
-$(non_3pp_objs) $(test_objs): CFLAGS += @more_warnings@
-
-src/snprintf.o: CFLAGS += @no_implicit_fallthrough_warning@
 $(zlib_objs): CPPFLAGS += -include config.h
 $(zlib_objs): CFLAGS += @no_implicit_fallthrough_warning@
 
@@ -176,7 +169,6 @@ installcheck: ccache$(EXEEXT) unittest/run$(EXEEXT)
 	CCACHE=$(bindir)/ccache CC='$(CC)' $(BASH) $(srcdir)/test/run
 
 .c.o:
-	$(if $(quiet),@echo "  CC       $@")
 	$(Q)$(CC) $(all_cppflags) $(all_cflags) -c -o $@ $<
 
 @include_dev_mk@
