Changeset 5859:c5643ec2b919 in roaraudio


Ignore:
Timestamp:
01/10/13 13:45:58 (7 years ago)
Author:
phi
Branch:
default
Message:

export $(TARGET) to makefiles so they can check the target

Location:
build-system
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • build-system/configure.lib

    r5855 r5859  
    343343 TARGET_CYGWIN=`echo "$SYSNAME" | if grep CYGWIN  > /dev/null; then echo true; else echo false; fi` 
    344344 TARGET_WIN32=`echo  "$SYSNAME" | if grep MINGW32 > /dev/null; then echo true; else echo $TARGET_WIN32; fi` 
     345 
     346 if $TARGET_WIN32 
     347 then 
     348  TARGET='win32' 
     349 elif $TARGET_MICROCONTROLLER 
     350 then 
     351  TARGET='microcontroller' 
     352 elif $TARGET_CYGWIN 
     353 then 
     354  TARGET='cygwin' 
     355 else 
     356  TARGET='generic' 
     357 fi 
    345358 
    346359 if [ "$SYSNAME" = 'Darwin' ] 
     
    428441  echo "DISTRIBUTION_VERSION_STRING=$DISTRIBUTION_VERSION_STRING" 
    429442  echo 
     443  echo "TARGET=$TARGET" 
    430444  echo "SHARED=$SHARED" 
    431445  echo "SHARED_CF=$SHARED_CF" 
     
    504518  for i in PATH SHELL CC RANLIB PKG_CONFIG SYSNAME \ 
    505519           TARGET_CYGWIN TARGET_WIN32 TARGET_MICROCONTROLLER CROSS_COMPILE \ 
    506            MINIMAL EXEC_HELPER \ 
     520           MINIMAL EXEC_HELPER TARGET \ 
    507521           "$@" 
    508522  do 
  • build-system/configure.vars

    r5855 r5859  
    9090TARGET_MICROCONTROLLER=false 
    9191TARGET_CYGWIN=false 
     92TARGET='generic' 
    9293 
    9394EXEC_HELPER='' 
Note: See TracChangeset for help on using the changeset viewer.