ref: 2463a11f03e843b8244cebeb558bc34cff47b29b
dir: /src/Makefile.in/
# # @configure_input@ # # Paths VPATH = @srcdir@ builddir= @builddir@ srcdir = @srcdir@ top_srcdir =@top_srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ libdir = @libdir@ mandir = @mandir@ includedir = @includedir@ # Shell commands. CC = @CC@ RANLIB = @RANLIB@ INSTALL = @INSTALL@ AR = ar r RM = rm -f LN_S = @LN_S@ RM = /bin/rm -f # Build macros. CFLAGS = @CFLAGS@ @SAMPLERATE_CFLAGS@ -I$(srcdir) -I$(builddir) CPPFLAGS = @CPPFLAGS@ LDFLAGS = -L. @LDFLAGS@ LIBS = -lst @LIBS@ @SAMPLERATE_LIBS@ # Other macros. NEED_OSS = @NEED_OSS@ NEED_SUNAU = @NEED_SUNAU@ NEED_ALSA = @NEED_ALSA@ PLAY_SUPPORT = @PLAY_SUPPORT@ GSM_SUPPORT = @GSM_SUPPORT@ # Objects. FOBJ = 8svx.o adpcm.o aiff.o au.o auto.o avr.o cdr.o \ cvsd.o dat.o flac.o g711.o g721.o g723_16.o g723_24.o g723_40.o \ g72x.o gsm.o hcom.o ima_rw.o maud.o mp3.o nulfile.o prc.o \ raw.o sf.o smp.o sndrtool.o sphere.o tx16w.o voc.o vorbis.o \ vox.o wav.o wve.o xa.o EOBJ = avg.o band.o bandpass.o biquad.o breject.o btrworth.o chorus.o \ compand.o copy.o dcshift.o deemphas.o earwax.o echo.o echos.o \ equalizer.o fade.o FFT.o filter.o flanger.o highp.o highpass.o lowp.o \ lowpass.o mask.o mcompand.o noiseprof.o noisered.o pan.o \ phaser.o pitch.o polyphas.o rabbit.o rate.o repeat.o resample.o \ reverb.o reverse.o silence.o speed.o stat.o \ stretch.o swap.o synth.o tone.o trim.o vibro.o vol.o GSMOBJ_0 = GSMOBJ_1 = libgsm/add.o libgsm/code.o libgsm/decode.o libgsm/long_term.o \ libgsm/lpc.o libgsm/preprocess.o libgsm/rpe.o \ libgsm/gsm_destroy.o libgsm/gsm_decode.o libgsm/gsm_encode.o \ libgsm/gsm_create.o libgsm/gsm_option.o libgsm/short_term.o \ libgsm/table.o OSSOBJ_0 = OSSOBJ_1 = oss.o SUNAUOBJ_0 = SUNAUOBJ_1 = sunaudio.o ALSAOBJ_0 = ALSAOBJ_1 = alsa.o EXTRAOBJS = $(OSSOBJ_$(NEED_OSS)) $(SUNAUOBJ_$(NEED_SUNAU)) $(ALSAOBJ_$(NEED_ALSA)) $(GSMOBJ_$(GSM_SUPPORT)) LIBOBJS = $(FOBJ) $(EOBJ) getopt.o getopt1.o handlers.o misc.o stio.o \ util.o $(EXTRAOBJS) # Building libgsm.a is kinda a hack. It switches to a different # makefile with hardcoded options. We really want the object files # only so that they can be included inside libst. This semi-fake # target is just an easy way to make sure that makefile builds # the objects instead of this makefile. GSM_0 = GSM_1 = libgsm/libgsm.a GSM_ext = PLAY_0 = PLAY_1 = play all: sox soxmix $(PLAY_$(PLAY_SUPPORT)) sox: $(GSM_$(GSM_SUPPORT)) libst.a sox.o $(CC) $(LDFLAGS) -o sox sox.o $(LIBS) soxmix.o: sox.c $(CC) $(CFLAGS) -DSOXMIX -c $(srcdir)/sox.c -o soxmix.o soxmix: $(GSM_$(GSM_SUPPORT)) libst.a soxmix.o $(CC) $(LDFLAGS) -o soxmix soxmix.o $(LIBS) libst.a: $(LIBOBJS) $(AR) libst.a $(LIBOBJS) $(RANLIB) libst.a libgsm/libgsm.a: cd libgsm && $(MAKE) PLAY_INSTALL_0 = PLAY_INSTALL_1 = install-play install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT)) $(top_srcdir)/mkinstalldirs $(bindir) $(INSTALL) -c -m 755 sox $(bindir) $(INSTALL) -c -m 755 soxmix $(bindir) install-play: if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi $(top_srcdir)/mkinstalldirs $(bindir) $(INSTALL) -c -m 755 play $(bindir) cd $(bindir) && $(LN_S) play rec install-lib: libst.a $(top_srcdir)/mkinstalldirs $(libdir) $(top_srcdir)/mkinstalldirs $(includedir) $(INSTALL) -c -m 755 libst-config $(bindir) $(INSTALL) -c -m 644 libst.a $(libdir) $(RANLIB) $(libdir)/libst.a $(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir) $(INSTALL) -c -m 644 ststdint.h $(includedir) PLAY_UNINSTALL_0 = PLAY_UNINSTALL_1 = uninstall-play uninstall: $(PLAY_UNINSTALL_$(PLAY_SUPPORT)) $(RM) $(bindir)/sox $(RM) $(bindir)/soxmix uninstall-play: $(RM) $(bindir)/play $(RM) $(bindir)/rec uninstall-lib: $(RM) $(libdir)/libst.a $(RM) $(includedir)/st.h $(RM) $(includedir)/ststdint.h clean: $(RM) *.o libst.a cd libgsm && $(RM) *.o libgsm.a distclean: $(RM) *~ *.o *.raw *.sf core sox soxmix libst.a play libst-config cd libgsm && $(RM) *~ *.o core libgsm.a Makefile $(RM) stconfig.h ststdint.h Makefile # Not all platforms use CPPFLAGS concept by default so define custom # rule for .c.o to make sure its used. .c.o: ${CC} ${CFLAGS} ${CPPFLAGS} -c $<