ref: 62d0c55dd226c26994e3d404e571cfaa40b625f9
dir: /src/Makefile.in/
# # Makefile.in # # Processed by configure into a Makefile. We assume the environment in # which we are running is a POSIX'y environment. Thus, all of the standard # POSIX tools are available. # # Paths VPATH = @srcdir@ srcdir = @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 SED = @SED@ TAR = tar RM = rm -f LN_S = @LN_S@ # Build macros. CFLAGS = @CFLAGS@ @DEFS@ -I$(srcdir) LDFLAGS = -L. -Lgsm @LDFLAGS@ LIBS = -lst @LIBS@ # Other macros. NEED_OSS = @NEED_OSS@ NEED_SUNAU = @NEED_SUNAU@ NEED_ALSA = @NEED_ALSA@ GSM_SUPPORT = @GSM_SUPPORT@ PLAY_SUPPORT = @PLAY_SUPPORT@ # Objects. FOBJ = 8svx.o adpcm.o aiff.o au.o auto.o avr.o cdr.o \ cvsd.o dat.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 nulfile.o raw.o sf.o \ smp.o sndrtool.o sphere.o tx16w.o voc.o vorbis.o \ wav.o wve.o EOBJ = avg.o band.o bandpass.o breject.o btrworth.o chorus.o compand.o \ copy.o dcshift.o deemphas.o earwax.o echo.o echos.o \ fade.o filter.o flanger.o highp.o highpass.o lowp.o lowpass.o \ map.o mask.o pan.o phaser.o pick.o pitch.o polyphas.o \ rate.o resample.o reverb.o reverse.o silence.o speed.o split.o \ stat.o stretch.o swap.o synth.o trim.o vibro.o vol.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)) LIBOBJS = $(FOBJ) $(EOBJ) handlers.o misc.o util.o getopt.o $(EXTRAOBJS) GSM_0 = GSM_1 = gsm/libgsm.a PLAY_0 = PLAY_1 = play all: sox soxmix $(PLAY_$(PLAY_SUPPORT)) sox: libst.a $(GSM_$(GSM_SUPPORT)) sox.o $(CC) $(LDFLAGS) -o sox sox.o $(LIBS) soxmix.o: sox.c $(CC) $(CFLAGS) -DSOXMIX -c -o soxmix.o $< soxmix: libst.a $(GSM_$(GSM_SUPPORT)) soxmix.o $(CC) $(LDFLAGS) -o soxmix soxmix.o $(LIBS) play: play.in $(SED) -e 's|@PREFIX@|$(bindir)|g' < $(srcdir)/play.in > play libst.a: $(LIBOBJS) $(AR) libst.a $(LIBOBJS) $(RANLIB) libst.a gsm/libgsm.a: cd gsm && $(MAKE) man: $(srcdir)/sox.1 $(srcdir)/soxexam.1 $(srcdir)/libst.3 nroff -man $(srcdir)/sox.1 | col -b > sox.txt nroff -man $(srcdir)/soxexam.1 | col -b > soxexam.txt nroff -man $(srcdir)/libst.3 | col -b > libst.txt PLAY_INSTALL_0 = PLAY_INSTALL_1 = install-play install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT)) $(srcdir)/mkinstalldirs $(bindir) $(srcdir)/mkinstalldirs $(mandir)/man1 $(INSTALL) -c -m 755 sox $(bindir) $(INSTALL) -c -m 755 soxmix $(bindir) $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(mandir)/man1 if [ -f $(mandir)/man1/soxmix.1 ] ; then $(RM) $(mandir)/man1/soxmix.1; fi $(LN_S) $(mandir)/man1/sox.1 $(mandir)/man1/soxmix.1 $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(mandir)/man1 install-play: play if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi if [ -f $(mandir)/man1/rec.1 ]; then $(RM) $(mandir)/man1/rec.1; fi $(srcdir)/mkinstalldirs $(mandir)/man1 $(srcdir)/mkinstalldirs $(bindir) $(INSTALL) -c -m 755 play $(bindir) $(INSTALL) -c -m 644 $(srcdir)/play.1 $(mandir)/man1 $(LN_S) $(bindir)/play $(bindir)/rec $(LN_S) $(mandir)/man1/play.1 $(mandir)/man1/rec.1 install-lib: libst.a $(srcdir)/mkinstalldirs $(libdir) $(srcdir)/mkinstalldirs $(mandir)/man3 $(srcdir)/mkinstalldirs $(includedir) $(INSTALL) -c -m 644 libst.a $(libdir) $(RANLIB) $(libdir)/libst.a $(INSTALL) -c -m 644 libst.3 $(mandir)/man3 $(INSTALL) -c -m 644 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 $(RM) $(mandir)/man1/sox.1 $(RM) $(mandir)/man1/soxmix.1 $(RM) $(mandir)/man1/soxexam.1 uninstall-play: $(RM) $(bindir)/play $(RM) $(bindir)/rec $(RM) $(mandir)/man1/play.1 $(mandir)/man1/rec.1 uninstall-lib: $(RM) $(libdir)/libst.a $(RM)$(mandir)/man3/libst.3 $(RM) $(includedir)/st.h $(RM) $(includedir)/ststdint.h clean: $(RM) *.o cd gsm && $(RM) *.o distclean: $(RM) *~ *.o *.raw *.sf core sox soxmix libst.a play cd gsm && $(RM) *~ *.o core libgsm.a Makefile $(RM) config.cache config.log config.status config.h Makefile $(RM) stconfig.h ststdint.h tar: cd $(srcdir)/..; $(RM) $(pkgname).tar cd $(srcdir)/.. ; $(TAR) $(pkgname).tar $(srcdir)