Changeset 7546


Ignore:
Timestamp:
08/01/18 23:47:49 (2 weeks ago)
Author:
baker
Message:

use simpler if [] (test) syntax in recipes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/data_sources/Makefile

    r7532 r7546  
    6060        winsdr2ew 
    6161 
    62  
     62# 
     63# List all modules to be compiled into the Unix/Linux distribution 
     64# 
    6365# note that the MAJORITY of the data_source modules do NOT work on Mac OS X 
    6466UNIX_MODULES = \ 
     
    9597# List all modules to be compiled into the NT distribution 
    9698# 
    97  
    98 # turned off adsend because most folks don't have the NI includes. 
    9999 
    100100NT_MODULES = \ 
     
    115115        srusb2ew 
    116116 
     117# turned off adsend because most folks don't have the NI includes. 
     118 
    117119#       if you've got the NI stuff, uncomment adsend and put it back in  
    118120#       the list above 
    119121# 
    120122#       adsend \ 
    121 # 
    122123# 
    123124# DK 082402  Note:  The NT tree compilation will fail at adsend, unless you  
     
    132133unix: unix_modules 
    133134 
    134  
    135 # 
    136 #  Unix directives 
    137 # 
    138  
     135# 
     136#  Unix/Linux directives 
     137# 
    139138LINUX_MODULES=$(UNIX_MODULES) 
    140139LINUX_32_BIT_MODULES=$(UNIX_32_BIT_MODULES) 
     
    146145                make -f makefile.unix); \ 
    147146        done 
    148         @if (( $(EW_BITS) == 32 )) ; then \ 
     147        @if [ "$(EW_BITS)" = "32" ] ; then \ 
    149148                for x in $(LINUX_32_BIT_MODULES); \ 
    150149                do \ 
     
    168167        done 
    169168 
     169# 
     170#  Solaris directives 
     171# 
    170172solaris_modules:: FRC 
    171173        @for x in $(SOLARIS_MODULES); \ 
     
    174176                make -f makefile.unix); \ 
    175177        done 
    176         @if (( $(EW_BITS) == 32 )) ; then \ 
     178        @if [ "$(EW_BITS)" = "32" ] ; then \ 
    177179                for x in $(SOLARIS_32_BIT_MODULES); \ 
    178180                do \ 
     
    196198        done 
    197199 
    198  
    199200# 
    200201#  NT directives 
Note: See TracChangeset for help on using the changeset viewer.