Show
Ignore:
Timestamp:
03/21/07 23:01:31 (5 years ago)
Author:
tg
Message:

if a build system has a non-GNU make, or a too old gmake, just
build our own

tested on MirBSD odem.66h.42h.de 10 Kv#10n11-20070318 GENERIC#1014 i386
without gmake installed

if this is not working for you for the one or other reason,
please drop me a private mail with a detailled error description.

this procedure was explicitly ok'd by wbx@

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/tools/gmake/Makefile.in

    r2223 r2225  
    133133ETAGS = etags 
    134134CTAGS = ctags 
    135 DIST_SUBDIRS = glob config po doc w32 
     135DIST_SUBDIRS = glob #config po doc w32 
    136136DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 
    137137distdir = $(PACKAGE)-$(VERSION) 
     
    262262@WINDOWSENV_TRUE@W32INC = -I $(top_srcdir)/w32/include 
    263263@WINDOWSENV_TRUE@W32LIB = -Lw32 -lw32 
    264 SUBDIRS = glob config po doc $(MAYBE_W32) 
     264SUBDIRS = glob #config po doc $(MAYBE_W32) 
    265265@USE_CUSTOMS_FALSE@remote = remote-stub.c 
    266266@USE_CUSTOMS_TRUE@remote = remote-cstms.c 
     
    276276make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLIB) @GETLOADAVG_LIBS@ @LIBINTL@ \ 
    277277        $(am__append_1) 
    278 man_MANS = make.1 
     278man_MANS = #make.1 
    279279AM_CPPFLAGS = $(GLOBINC) $(am__append_2) 
    280280 
     
    330330am--refresh: 
    331331        @: 
    332 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps) 
    333         @for dep in $?; do \ 
    334           case '$(am__configure_deps)' in \ 
    335             *$$dep*) \ 
    336               echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ 
    337               cd $(srcdir) && $(AUTOMAKE) --gnu  \ 
    338                 && exit 0; \ 
    339               exit 1;; \ 
    340           esac; \ 
    341         done; \ 
    342         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \ 
    343         cd $(top_srcdir) && \ 
    344           $(AUTOMAKE) --gnu  Makefile 
    345332.PRECIOUS: Makefile 
    346333Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 
     
    357344        $(SHELL) ./config.status --recheck 
    358345 
    359 $(top_srcdir)/configure:  $(am__configure_deps) 
    360         cd $(srcdir) && $(AUTOCONF) 
    361 $(ACLOCAL_M4):  $(am__aclocal_m4_deps) 
    362         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 
    363  
    364346config.h: stamp-h1 
    365347        @if test ! -f $@; then \ 
     
    371353        @rm -f stamp-h1 
    372354        cd $(top_builddir) && $(SHELL) ./config.status config.h 
    373 $(srcdir)/config.h.in:  $(am__configure_deps)  
    374         cd $(top_srcdir) && $(AUTOHEADER) 
    375         rm -f stamp-h1 
    376         touch $@ 
    377355 
    378356distclean-hdr: 
  • trunk/freewrt/tools/gmake/configure

    r2223 r2225  
    1378713787 
    1378813788# Specify what files are to be created. 
    13789                                                             ac_config_files="$ac_config_files Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile w32/Makefile
     13789                                                            ac_config_files="$ac_config_files Makefile glob/Makefile
    1379013790 
    1379113791 
     
    1437814378  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 
    1437914379  "glob/Makefile" ) CONFIG_FILES="$CONFIG_FILES glob/Makefile" ;; 
    14380   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 
    14381   "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 
    14382   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 
    14383   "w32/Makefile" ) CONFIG_FILES="$CONFIG_FILES w32/Makefile" ;; 
    1438414380  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 
    1438514381  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 
  • trunk/freewrt/tools/gmake/glob/Makefile.in

    r2223 r2225  
    210210.SUFFIXES: 
    211211.SUFFIXES: .c .o .obj 
    212 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps) 
    213         @for dep in $?; do \ 
    214           case '$(am__configure_deps)' in \ 
    215             *$$dep*) \ 
    216               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ 
    217                 && exit 0; \ 
    218               exit 1;; \ 
    219           esac; \ 
    220         done; \ 
    221         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  glob/Makefile'; \ 
    222         cd $(top_srcdir) && \ 
    223           $(AUTOMAKE) --foreign  glob/Makefile 
    224212.PRECIOUS: Makefile 
    225213Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 
     
    233221 
    234222$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 
    235         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
    236  
    237 $(top_srcdir)/configure:  $(am__configure_deps) 
    238         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
    239 $(ACLOCAL_M4):  $(am__aclocal_m4_deps) 
    240223        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 
    241224