Changeset 2971 for rat/trunk/Makefile.in

Show
Ignore:
Timestamp:
12/01/99 11:29:30 (15 years ago)
Author:
ucacoxh
Message:

- Moved files generated in configure into Makefile.in. Assuming we move

to autoconf (at some stage) this seems to be the standard thing to do...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/Makefile.in

    r2897 r2971  
    3939ALL_SRCS     = $(ALL_OBJS:%.o=%.c) 
    4040 
    41 all: $(RATVER) $(RATVER)-ui $(RATVER)-media 
     41all: version.h sdr2.plugin.s02.audio.rtp.-.rat-__VERSION__ rat-__VERSION__.spec $(RATVER) $(RATVER)-ui $(RATVER)-media  
    4242 
    4343libuclaudio.a: $(AUDIO_OBJS) 
     
    6464.c.o: 
    6565        $(CC) $(INCLUDE) $(CFLAGS) -c $< 
     66 
     67version.h: VERSION 
     68         sed -e 's/.*/#define RAT_VERSION "v& __OSTYPE__"/' VERSION > version.h 
     69         sed -e 's/.*/#define VERSION_NUM "v&"/' VERSION >> version.h 
     70 
     71sdr2.plugin.s02.audio.rtp.-.rat-__VERSION__: sdr2.plugin.in 
     72        ${ECHO} "# Generated automatically from sdr2.plugin.in" > $@ 
     73        ${ECHO} "# DO NOT EDIT THIS FILE" >> $@ 
     74        sed -e 's/VERSION/__VERSION__/g' sdr2.plugin.in >> $@ 
     75 
     76rat-__VERSION__.spec: rat.spec 
     77        ${ECHO} "Generating RPM spec file" 
     78        ${ECHO} "# Generated automatically from rat.spec"  > $@ 
     79        ${ECHO} "# DO NOT EDIT THIS FILE"                 >> $@ 
     80        cat rat.spec | sed s/VERSION/__VERSION__/g       >> $@ 
    6681 
    6782tcl2c/tcl2c: tcl2c/tcl2c.c