1. 27 Sep, 2014 1 commit
    • Robert Sprowson's avatar
      Change less useful resources_messages for resources_sprites · cb1c7449
      Robert Sprowson authored
      GNU/AAsmModule:
       Swap round ${RESOURCEEXTRA} to come later, since otherwise the ${RESDIR} hasn't been created
      AAsmModule & CModule:
       Recemtly added resources_messages was a bit pointless as resources_common did the same thing, instead add resources_sprites.
      ModuleLibs:
       Debug library for internal Toolbox objects added.
      Retagged as BuildSys-6_50.
      cb1c7449
  2. 24 Sep, 2014 2 commits
    • Robert Sprowson's avatar
      Make debug builds a bit simpler · a4135210
      Robert Sprowson authored
      AAsmModule:
       Remove SA_DEBUG override, instead use ASDFLAGS like CModule does.
      CModule:
       If the target is 'debug' allow CMHGDFLAGS to pass extra defines into CMHG, this avoids the common problem of having to have 2 CMHG files and select between them.
      
      Other - sync the messages token check/copying, use ${NOP} and ${FAPPEND} and ${DO}, and od.${RES_OBJ} isn't dependent on ${DIRS} since it already has that when creating o.${RES_OBJ}.
      
      Version 6.50. Tagged as 'BuildSys-6_50'
      a4135210
    • Ben Avison's avatar
      Improvements to AAsmModule shared makefile · 71f9f9e9
      Ben Avison authored
      Detail:
        * Corrected and added documentation at head of file
        * Now defines an "all" target
        * DIRS now has a default value (i.e. behaviour now matches the other shared
          makefiles) freeing the master makefile from needing to specify platform-
          specific paths
        * Added cross-compilation version
      Admin:
        Tested by cross-compiling the BASIC module
      
      
      Version 6.49. Tagged as 'BuildSys-6_49'
      71f9f9e9
  3. 19 Jul, 2014 1 commit
    • Robert Sprowson's avatar
      Drop 2 tools tlink - a long since abandoned special tool used to link the... · 172657f9
      Robert Sprowson authored
      Drop 2 tools tlink - a long since abandoned special tool used to link the toolbox modules against TinyStubs around RISC OS 3.50 era, no 32 bit version has ever been made, so by implication it's not being used aasm - the sources were lost some time in the 1990's, and hasn't been supplied as part of the DDE for over a decade
      
      Documentation updated to reflect current tools.
      
      Version 6.46. Tagged as 'BuildSys-6_46'
      172657f9
  4. 11 Nov, 2013 1 commit
    • Ben Avison's avatar
      Changes to keep GNUmakefiles and Makefiles compatible · 3542e171
      Ben Avison authored
      Detail:
        Makefiles/CApp:
        * Naming of object file variables rationalised in line with CModule
        * Noted that INSTAPP_VERSION files must also be present in INSTAPP_FILES for
          compatibility with GNUmakefiles - requires changes to individual top-level
          makefiles, but not BuildSys
        Makefiles/CLibrary:
        * Naming of object file variables rationalised in line with CModule
        Makefiles/CModule:
        * Removed unused variable OBJS_
        Makefiles/StdTools:
        * Retired TIDYDESC
        GNUmakefiles/AppLibs:
        * Add CONLIB, RMVSN, SYNCLIB
        GNUmakefiles/CApp:
        * Default definition of INSTAPP
        * Naming of object file variables rationalised in line with CModule
        * CLEAN_DEPEND removed, clean made a double-colon rule (it's worth noting
          that such additional clean rules are now only executed from the component's
          top-level directory: this was not true for the old extra_clean rules that
          this replaces, in the GNUmakefiles case)
        * Rename of INSTALLAPPFILES to INSTAPP_FILES
        * Rename of INSTALLAPP_DEPEND to INSTAPP_DEPENDS
        * Insertion of component version into Desc files now done using AwkVers
          script rather than the C preprocessor (note, will require editing of Desc
          files to comply). Also supports versions in Messages and !Run files,
          controlled by new variable INSTAPP_VERSION
        GNUmakefiles/CLibrary:
        * Naming of object file variables rationalised in line with CModule
        * clean rules now only executed from the component's top-level directory, as
          with CApp
        GNUmakefiles/StdTools:
        * Added INSERTVERSION (AwkVers), retired TIDYDESC
        * Perl scripts now explicitly passed to perl - no need to chmod +x the
          scripts in RiscOS/Library
        * asasm/objasm include paths and APCS/Machine/UserIF predefines set to match
          Makefiles
      Admin:
        Tested in a CTools build
      
      Version 6.32. Tagged as 'BuildSys-6_32'
      3542e171
  5. 05 Feb, 2012 1 commit
  6. 12 Sep, 2011 1 commit
    • Ben Avison's avatar
      Fixes to shared makefiles · 70323f40
      Ben Avison authored
      Detail:
        The change which permitted top-level makefiles to include only CApp,
        CModule etc accidentally broke makefiles which included HostTools (StdTools
        got included instead and overwrote the HostTools settings). Amazingly, we
        seem to have got away with this so far - but fixed now. Also, brought the
        GNUmakefiles versions in line with updates to the amu Makefiles in this
        and other respects.
      Admin:
        Tested in a RISC OS ROM build, and for building cross-compiling versions
        of the tools.
      
      Version 5.21. Tagged as 'BuildSys-5_21'
      70323f40
  7. 20 Oct, 2010 1 commit
    • Ben Avison's avatar
      Makefile bugfixes, and support for latest CTools build · e15324c6
      Ben Avison authored
      Detail:
        * Fixed dependencies for debug builds in GNUmakefiles/CApp
        * Added -f switch to rm in GNUmakefiles/StdTools to make it fail silently
          if the file doesn't exist, like the RISC OS version
        * Fix for amu complaining if INSTTYPE is undefined in Makefiles/CApp
        * Reflected makefile changes in resgen, squeeze and xpand in CTools
          component file
        * Added a8time to ModuleDB and CTools component file
      Admin:
        Tested in  a C Tools build
      
      Version 5.03. Tagged as 'BuildSys-5_03'
      e15324c6
  8. 19 May, 2010 1 commit
    • Ben Avison's avatar
      Changes to facilitate platform independence. · 4477e695
      Ben Avison authored
      Detail:
       CApp:
        * New variable CLEAN_DEPEND is now the preferred way to specify additional
          clean actions because GNU make doesn't have an equivalent to amu's :: rules
        * Can now indicate preference to use C++ linker options using LINK_TYPE
        * Gains install phase support:
          + INSTALLAPPFILES lists the files to be copied, effectively specified
            relative to LocalRes$Path
          + Adopted INSTTYPE concept from DDE makefiles for cases where executable
            and support files need to be installed to different locations
          + Unusual cases can override this implementation using CUSTOMINSTALLAPP
            and/or CUSTOMINSTALLTOOL
      
        CLibrary:
        * New variable CLEAN_DEPEND is now the preferred way to specify additional
          clean actions because GNU make doesn't have an equivalent to amu's :: rules
        * -o is no longer a mandatory argument to libfile - now in ARFLAGS rather
          than used explicitly
      
        DbgRules / StdRules:
        * Macroised some Norcroft-specific features
      
        HostTools:
        * Clean phase support was incomplete
      
        StdTools:
        * A few additional tool definitions
        * Added macro definitions for common C options
        * C's enable-warnings and suppress-function-name-embedding options now on by
          default because they're usually (maybe even universally?) used - it won't
          hurt if they're specified again by existing makefiles
        * C++ now has equivalent INCLUDES and DEFINES variables, and the standard C++
          headers are on the default include path
        * SEP is defined as the directory separator character and can be used from
          top-level makefiles in a platform-independent way
      
        Functionally equivalent versions of the following makefile fragments
        have been developed so far for executing on a Posix build host:
          AppLibs, CApp, CLibrary, DbgRules, HostTools, StdRules, StdTools
        These suport native compilers (when APCS=Host) and cross-compilers,
        and GCC (when TOOLCHAIN=GNU) and Norcroft toolchains - typically these
        environment variables would be selected by running an Env file.
      
      Admin:
        Tested by building as many as possible of the DDE components on RISC OS
        and on Linux, using native and cross compilers, and using Norcroft and
        GNU toolchains.
      
      Version 5.01. Tagged as 'BuildSys-5_01'
      4477e695