Changeset 2485

Show
Ignore:
Timestamp:
05/10/99 23:25:19 (15 years ago)
Author:
ucaccsp
Message:

The name of the binary now includes the version number. Right now this is
probably just annoying, but it will allow us to distribute an sdr plugin
with rat in future (the plugins have to refer to a tool by executable name,
and hence it's hard to have plugins for multiple versions of a tool. Also
sdr makes this difficult for us, since we cannot replace the built-in rat
plugin at runtime - we must call our new tool something different).

Location:
rat/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/Makefile.in

    r2429 r2485  
    3333TCL_SRCS := $(TCL_OBJS:%.o=%.c) 
    3434 
    35 rat: $(OBJS) $(TCL_OBJS) ../common/libcommon.a  
    36         $(CC) $(OBJS) $(TCL_OBJS) $(CFLAGS) __LDLIBS__ __PROFILE__ __OPTIMIZE__ __CHECK_LIB__ -o rat 
     35rat-__VERSION__: $(OBJS) $(TCL_OBJS) ../common/libcommon.a  
     36        $(CC) $(OBJS) $(TCL_OBJS) $(CFLAGS) __LDLIBS__ __PROFILE__ __OPTIMIZE__ __CHECK_LIB__ -o rat-__VERSION__ 
    3737 
    3838.c.o: 
     
    5151 
    5252clean: 
    53         -rm -f $(OBJS) tcl_libs.c ui_audiotool.c ui_transcoder.c version.h Makefile Makefile.sed tcl2c/tcl2c rat  
     53        -rm -f $(OBJS) tcl_libs.c ui_audiotool.c ui_transcoder.c version.h Makefile Makefile.sed tcl2c/tcl2c rat-__VERSION__ 
    5454 
    5555etags: 
     
    6262        cvs tag release-`cat VERSION | sed "s/\./-/g"` 
    6363 
    64 tgz: rat 
    65         tar cvf rat-`cat VERSION`-__OSTYPE__.tar README.* MODS COPYRIGHT rat 
    66         gzip -9v rat-`cat VERSION`-__OSTYPE__.tar 
     64tgz: rat-__VERSION__ 
     65        tar cvf rat-__VERSION__-__OSTYPE__.tar README.* MODS COPYRIGHT rat-__VERSION__ 
     66        gzip -9v rat-__VERSION__-__OSTYPE__.tar 
    6767 
    6868depend: $(SRCS) 
  • rat/trunk/configure

    r2342 r2485  
    206206s@__CHECK_FLAG__@$CHECK_FLAG@ 
    207207s@__CHECK_LIB__@$CHECK_LIB@ 
     208s@__VERSION__@$VERSION@ 
    208209EOF 
    209210