1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-02 22:25:48 +01:00

configure: Remove --disable-verbose-compile hack

Instead of using the --disable-verbose-compile hack, let's
use the standard option --enable-silent-rules (or 'make V=0' directly)
available with autoconf 1.11 and higher.

This is enabled in autoconf by using 'silent-rules' in AM_INIT_AUTOMAKE.
The verbosity of compilation is reduced in a similar manner as using
the --disable-verbose-compile option, so we can remove all that ugly
hackery.
This commit is contained in:
Carlos R. Mafra
2010-08-24 17:06:27 +02:00
parent 48044feb29
commit 5c8eb580b3
12 changed files with 16 additions and 139 deletions

View File

@@ -10,8 +10,6 @@ lib_LTLIBRARIES = libwraster.la
libwraster_la_LDFLAGS = -version-info 4:0:1
LIBTOOL = $(SHELL) $(top_builddir)/libtool $(LIBTOOL_ARG)
bin_SCRIPTS = get-wraster-flags
include_HEADERS = wraster.h
@@ -42,26 +40,15 @@ libwraster_la_SOURCES = \
gif.c
.c:
$(QUIET)$(COMPILE) -c $<
.c.obj:
$(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
# This is the same as LTCOMPILE but without LIBTOOL
LTCOMPILE1= --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE2=`echo $(LTCOMPILE1) | sed -e s/-fomit-frame-pointer//`
LTCOMPILE2=`echo $(LTCOMPILE) | sed -e s/-fomit-frame-pointer//`
COMPILE2=`echo $(COMPILE) | sed -e s/-fomit-frame-pointer//`
# cant compile asm stuff with optimizations
x86_specific.lo: x86_specific.c
$(LIBTOOL) $(LTCOMPILE2) -O0 -c $<
$(LTCOMPILE2) -O0 -c $<
x86_specific.o: x86_specific.c
$(QUIET)$(COMPILE2) -O0 -c $<
$(COMPILE2) -O0 -c $<
INCLUDES = $(DFLAGS) @HEADER_SEARCH_PATH@

View File

@@ -10,8 +10,6 @@ INCLUDES = -I$(srcdir)/.. $(DFLAGS) @HEADER_SEARCH_PATH@
LIBLIST = $(top_builddir)/wrlib/libwraster.la
LIBTOOL = $(QUIET)$(top_srcdir)/libtool --silent
testdraw_SOURCES = testdraw.c
testdraw_LDADD = $(LIBLIST)
@@ -23,12 +21,3 @@ testrot_LDADD = $(LIBLIST)
view_SOURCES= view.c
view_LDADD = $(LIBLIST)
.c.o:
$(QUIET)$(COMPILE) -c $<
.c.obj:
$(QUIET)$(COMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo:
$(QUIET)$(LTCOMPILE) -c -o $@ $<