Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 4 and Version 5 of Packages


Ignore:
Timestamp:
06/15/12 22:24:30 (12 years ago)
Author:
C Rempel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Packages

    v4 v5  
    3333Make the AVL library
    3434   $ make -f ../RTEMS_Makefiles/Makefile.avl
    35 Writing Your Own Makefile.<<library>>  =
     35Exploring Makefile.<<library>>  =
    3636
    3737Makefile.<<library>> is a shell script to configure a package.
     
    4848The next line sets some environmental variables:
    4949   TERMINALS=xterm,vt100,linux,ansi
     50
     51Tell Makefile.ncurses to include the common RTEMS make rules...
     52   include ../RTEMS_Makefiles/Makefile.common
    5053
    5154The next paragraph explains the dependencies:
     
    6467   cf_cv_type_of_bool=char
    6568
    66 Set the C++ compiler to the C compiler.
    67 CXX="$(CC)"
     69Makefile.ncurses set the C++ compiler to the C compiler.
     70   CXX="$(CC)"
    6871
    69 Select the TERM environmental variable to xterm
    70 TERM=xterm
     72Makefile.ncurses selected the TERM environmental variable to xterm
     73   TERM=xterm
     74
     75Makefile.ncurses invokes configure with the desired options.  Notice that each line ends with the " \" which "escapes out the newline"
     76''Puts the cached variables on the same line as the configure invokation.''
     77
     78Select some complicated make options:
     79   make "TERM=xterm" "HOSTCC=gcc" "HOSTCCFLAGS=-I. -I../include" HOSTLDFLAGS=""
     80
     81Finally, install the library:
     82   make install
    7183
    7284make -f ../RTEMS_Makefiles/Makefile.avl