Changeset 06b61aa in rtems-graphics-toolkit


Ignore:
Timestamp:
Jan 11, 2010, 4:10:30 AM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
6d7efb8
Parents:
ce3c789
Message:

2010-01-10 Joel Sherrill <joel.sherrill@…>

  • TODO, VERSIONS, do_it: Add initial FLTK configure support.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rce3c789 r06b61aa  
     12010-01-10      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * TODO, VERSIONS, do_it: Add initial FLTK configure support.
     4
    152010-01-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • TODO

    rce3c789 r06b61aa  
    3030  more generic -- like weak symbols or something with default implementations
    3131  on non-x86 architectures.
     32
     33FLTK
     34====
     35+ We will probably have to have a subset of X11R6 header files installed as well
     36  as nxlib before this will work.
  • VERSIONS

    rce3c789 r06b61aa  
    99TIFFLIB=tiff-3.9.2
    1010NANOX=microwin
     11FLTK=fltk-1.1.10
  • do_it

    rce3c789 r06b61aa  
    3737# Do we build Microwindows/Nano-X support?
    3838do_nanox="no"
     39
     40# Do we build FLTK support?
     41do_fltk="yes"
     42
    3943# Are we noisy when running?
    4044verbose="no"
     
    5256  -T - build Truetype font support (default=no)
    5357  -n - build Microwindows/Nano-X support (default=no)
     58  -f - build FLTK support (default=no)
    5459  -c - clean after building (default=no)
    5560  -v - verbose
     
    8792}
    8893
    89 while getopts Ajpt1Tncv OPT
     94while getopts Ajpt1Tnfcv OPT
    9095do
    9196    case "$OPT" in
     
    103108      T) do_ttf=`toggle ${do_ttf}` ;;
    104109      n) do_nanox=`toggle ${do_nanox}` ;;
     110      f) do_fltk=`toggle ${do_fltk}` ;;
    105111      c) do_clean=`toggle ${do_clean}` ;;
    106112      v) verbose=`toggle ${verbose}` ;;
     
    127133  echo "Build Microwindows/Nano-X       : " ${do_nanox}
    128134  echo "Microwindows/Nano-X Source      : " ${NANOX}
    129 
     135  echo ""
     136  echo "Build FLTK                      : " ${do_fltk}
     137  echo "FLTK Source                     : " ${FLTK}
     138  echo ""
    130139  echo "Clean after install             : " ${do_clean}
     140  echo ""
    131141fi
    132142
     
    196206
    197207  make install
    198   check_status $? Could not make isntall ${LIBJPEG}
     208  check_status $? Could not make install ${LIBJPEG}
    199209
    200210  if [ ${do_clean} = yes ] ; then
     
    225235
    226236  make install
    227   check_status $? Could not make isntall ${LIBPNG}
     237  check_status $? Could not make install ${LIBPNG}
    228238
    229239  if [ ${do_clean} = yes ] ; then
     
    254264
    255265  make install
    256   check_status $? Could not make isntall ${TIFFLIB}
     266  check_status $? Could not make install ${TIFFLIB}
    257267
    258268  if [ ${do_clean} = yes ] ; then
     
    285295
    286296  make install
    287   check_status $? Could not make isntall ${T1LIB}
     297  check_status $? Could not make install ${T1LIB}
    288298
    289299  if [ ${do_clean} = yes ] ; then
     
    314324
    315325  make install
    316   check_status $? Could not make isntall ${FREETYPE}
     326  check_status $? Could not make install ${FREETYPE}
    317327
    318328  if [ ${do_clean} = yes ] ; then
     
    341351
    342352  make -f Makefile.rtems CONFIG=`pwd`/Configs/config.rtems install
    343   check_status $? Could not make isntall ${NANOX}
     353  check_status $? Could not make install ${NANOX}
    344354
    345355  if [ ${do_clean} = yes ] ; then
     
    356366fi
    357367
     368######### Build and install FLTK support
     369j_fltk()
     370{
     371  cd ${FLTK}
     372  CFLAGS="${BSP_CFLAGS} ${CPU_CFLAGS}" \
     373     ./configure --host=${TARGET} --prefix=${PREFIX} \
     374     --disable-shared
     375  check_status $? Could not configure ${FLTK}
     376
     377  make
     378  check_status $? Could not make ${FLTK}
     379
     380  make install
     381  check_status $? Could not make install ${FLTK}
     382
     383  if [ ${do_clean} = yes ] ; then
     384    make distclean
     385    check_status $? Could not make distclean ${FLTK}
     386  fi
     387
     388  cd ..
     389}
     390
     391if [ ${do_fltk} = yes ] ; then
     392  echo "Building ${FLTK} ..."
     393  echo "SKIPPING ${FLTK} ..."
     394  # j_fltk >${LOGDIR}/${TARGET}-${FLTK}.log 2>&1
     395fi
     396
    358397exit 0
Note: See TracChangeset for help on using the changeset viewer.