<commit_before>###
###   mpg123  Makefile
###

# Where to install binary and manpage on "make install":

PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/man
SECTION=1

###################################################
######                                       ######
######   End of user-configurable settings   ######
######                                       ######
###################################################

nothing-specified:
	@echo ""
	@echo "You must specify the system which you want to compile for:"
	@echo ""
	@echo "make linux-help     Linux, more help"
	@echo "make freebsd-help   FreeBSD more help"
	@echo "make solaris        Solaris 2.x (tested: 2.5 and 2.5.1) using SparcWorks cc"
	@echo "make solaris-gcc    Solaris 2.x using GNU cc (somewhat slower)"
	@echo "make solaris-gcc-esd  Solaris 2.x using gnu cc and Esound as audio output"
	@echo "make solaris-x86-gcc-oss Solaris with (commercial) OSS"
	@echo "make solaris-gcc-nas Solaris with gcc and NAS"
	@echo "make sunos          SunOS 4.x (tested: 4.1.4)"
	@echo "make hpux           HP/UX 9/10, /7xx"
	@echo "make hpux-gcc       HP/UX 9/10, /7xx using GCC cc"
	@echo "make hpux-alib      HP/UX with ALIB audio"
	@echo "make sgi            SGI running IRIX"
	@echo "make sgi-gcc        SGI running IRIX using GCC cc"
	@echo "make dec            DEC Unix (tested: 3.2 and 4.0), OSF/1"
	@echo "make ultrix         DEC Ultrix (tested: 4.4)"
	@echo "make aix-gcc        IBM AIX using gcc (tested: 4.2)"
	@echo "make aix-xlc        IBM AIX using xlc (tested: 4.3)"
	@echo "make aix-tk3play    IBM AIX"
	@echo "make os2            IBM OS/2"
	@echo "make netbsd         NetBSD"
	@echo "make bsdos          BSDI BSD/OS"
	@echo "make bsdos4         BSDI BSD/OS 4.0"
	@echo "make bsdos-nas      BSDI BSD/OS with NAS support"
	@echo "make mint           MiNT on Atari"
	@echo "make generic        try this one if your system isn't listed above"
	@echo ""
	@echo "Please read the file INSTALL for additional information."
	@echo ""

linux-help:
	@echo ""
	@echo "There are several Linux flavours. Choose one:"
	@echo ""
	@echo "make linux          Linux (i386, Pentium or unlisted platform)"
	@echo "make linux-i486     Linux (optimized for i486 ONLY)"
	@echo "make linux-3dnow    Linux, output 3DNow!(TM) optimized code"
	@echo "                    (ie with 'as' from binutils-2.9.1.0.19a or later)"
	@echo "make linux-alpha    make with minor changes for ALPHA-Linux"
	@echo "make linux-ppc      LinuxPPC or MkLinux for the PowerPC"
	@echo "make linux-m68k     Linux/m68k (Amiga, Atari) using OSS"
	@echo "make linux-arm      Linux on the StrongArm"
	@echo "make linux-hppa     Linux/hppa HP-PARISC using OSS"
	@echo "make linux-nas      Linux, output to Network Audio System"
	@echo "make linux-sparc    Linux/Sparc"
	@echo "make linux-sajber   Linux, build binary for Sajber Jukebox frontend"
	@echo "make linux-alsa     Linux with ALSA sound driver"
	@echo "make linux-mips-alsa Linux/MIPS with ALSA sound driver"
	@echo ""
	@echo "make linux-esd      Linux, output to EsounD"
	@echo "make linux-alpha-esd Linux/Alpha, output to EsounD"
	@echo "make linux-ppc-esd  Linux/PPC, output to EsounD"
	@echo "    NOTE: esd flavours require libaudiofile, available from: "
	@echo "          http://www.68k.org/~michael/audiofile/"
	@echo ""
	@echo "Please read the file INSTALL for additional information."
	@echo ""

freebsd-help:
	@echo ""
	@echo "There are several FreeBSD flavours. Choose one:"
	@echo ""
	@echo "make freebsd         FreeBSD"
	@echo "make freebsd-sajber  FreeBSD, build binary for Sajber Jukebox frontend"
	@echo "make freebsd-tk3play FreeBSD, build binary for tk3play frontend"
	@echo "make freebsd-esd     FreeBSD, output to EsounD"
	@echo ""
	@echo "Please read the file INSTALL for additional information."
	@echo ""

linux-devel:
	$(MAKE) OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \
        CC=gcc LDFLAGS= \
        CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -g -mcpu=i486 \
		-DREAD_MMAP -DOSS -funroll-all-loops \
		-finline-functions -ffast-math' \
        mpg123-make

linux-profile:
	$(MAKE) OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \
        CC=gcc LDFLAGS='-pg' \
        CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -pg -mcpu=i486 \
		-DREAD_MMAP -DOSS -funroll-all-loops \
		-finline-functions -ffast-math' \
        mpg123-make

linux:
	$(MAKE) CC=gcc LDFLAGS= \
		OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
			audio_oss.o term.o' \
		CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
			-DOSS -DTERM_CONTROL\
			-Wall -g -O2 -mcpu=i486 \
			-fomit-frame-pointer -funroll-all-loops \
			-finline-functions -ffast-math' \
		mpg123-make

linux-thor:
	$(MAKE) CC=gcc LDFLAGS= \
		OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
			audio_oss.o term.o' \
		CFLAGS='-static -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
			-DREAD_MMAP -DOSS -DTERM_CONTROL\
			-Wall -O2 -march=i486 \
			-fomit-frame-pointer -funroll-all-loops \
			-finline-functions -ffast-math' \
		mpg123-make
		strip --strip-debug mpg123


linux-3dnow:
	$(MAKE) CC=gcc LDFLAGS= \
		OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o \
			dct64_i386.o dct36_3dnow.o getcpuflags.o \
			equalizer_3dnow.o decode_i586.o audio_oss.o term.o' \
		CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
			-DUSE_3DNOW -DOSS -DTERM_CONTROL\
			-Wall -O2 -mcpu=i486 \
			-fomit-frame-pointer -funroll-all-loops \
			-finline-functions -ffast-math' \
		mpg123-make

linux-i486:
	$(MAKE) CC=gcc LDFLAGS= \
		OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
			decode_i486.o dct64_i486.o audio_oss.o term.o' \
		CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX \
			-DOSS -DTERM_CONTROL\
			-Wall -O2 -mcpu=i486 \
			-fomit-frame-pointer -funroll-all-loops \<commit_msg>final -thor4: changed my modified target to "linux-static"<commit_after>###
###   mpg123  Makefile
###

# Where to install binary and manpage on "make install":

PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/man
SECTION=1

###################################################
######                                       ######
######   End of user-configurable settings   ######
######                                       ######
###################################################

nothing-specified:
	@echo ""
	@echo "You must specify the system which you want to compile for:"
	@echo ""
	@echo "make linux-help     Linux, more help"
	@echo "make freebsd-help   FreeBSD more help"
	@echo "make solaris        Solaris 2.x (tested: 2.5 and 2.5.1) using SparcWorks cc"
	@echo "make solaris-gcc    Solaris 2.x using GNU cc (somewhat slower)"
	@echo "make solaris-gcc-esd  Solaris 2.x using gnu cc and Esound as audio output"
	@echo "make solaris-x86-gcc-oss Solaris with (commercial) OSS"
	@echo "make solaris-gcc-nas Solaris with gcc and NAS"
	@echo "make sunos          SunOS 4.x (tested: 4.1.4)"
	@echo "make hpux           HP/UX 9/10, /7xx"
	@echo "make hpux-gcc       HP/UX 9/10, /7xx using GCC cc"
	@echo "make hpux-alib      HP/UX with ALIB audio"
	@echo "make sgi            SGI running IRIX"
	@echo "make sgi-gcc        SGI running IRIX using GCC cc"
	@echo "make dec            DEC Unix (tested: 3.2 and 4.0), OSF/1"
	@echo "make ultrix         DEC Ultrix (tested: 4.4)"
	@echo "make aix-gcc        IBM AIX using gcc (tested: 4.2)"
	@echo "make aix-xlc        IBM AIX using xlc (tested: 4.3)"
	@echo "make aix-tk3play    IBM AIX"
	@echo "make os2            IBM OS/2"
	@echo "make netbsd         NetBSD"
	@echo "make bsdos          BSDI BSD/OS"
	@echo "make bsdos4         BSDI BSD/OS 4.0"
	@echo "make bsdos-nas      BSDI BSD/OS with NAS support"
	@echo "make mint           MiNT on Atari"
	@echo "make generic        try this one if your system isn't listed above"
	@echo ""
	@echo "Please read the file INSTALL for additional information."
	@echo ""

linux-help:
	@echo ""
	@echo "There are several Linux flavours. Choose one:"
	@echo ""
	@echo "make linux          Linux (i386, Pentium or unlisted platform)"
	@echo "make linux-i486     Linux (optimized for i486 ONLY)"
	@echo "make linux-3dnow    Linux, output 3DNow!(TM) optimized code"
	@echo "                    (ie with 'as' from binutils-2.9.1.0.19a or later)"
	@echo "make linux-alpha    make with minor changes for ALPHA-Linux"
	@echo "make linux-ppc      LinuxPPC or MkLinux for the PowerPC"
	@echo "make linux-m68k     Linux/m68k (Amiga, Atari) using OSS"
	@echo "make linux-arm      Linux on the StrongArm"
	@echo "make linux-hppa     Linux/hppa HP-PARISC using OSS"
	@echo "make linux-nas      Linux, output to Network Audio System"
	@echo "make linux-sparc    Linux/Sparc"
	@echo "make linux-sajber   Linux, build binary for Sajber Jukebox frontend"
	@echo "make linux-alsa     Linux with ALSA sound driver"
	@echo "make linux-mips-alsa Linux/MIPS with ALSA sound driver"
	@echo ""
	@echo "make linux-esd      Linux, output to EsounD"
	@echo "make linux-alpha-esd Linux/Alpha, output to EsounD"
	@echo "make linux-ppc-esd  Linux/PPC, output to EsounD"
	@echo "    NOTE: esd flavours require libaudiofile, available from: "
	@echo "          http://www.68k.org/~michael/audiofile/"
	@echo ""
	@echo "Please read the file INSTALL for additional information."
	@echo ""

freebsd-help:
	@echo ""
	@echo "There are several FreeBSD flavours. Choose one:"
	@echo ""
	@echo "make freebsd         FreeBSD"
	@echo "make freebsd-sajber  FreeBSD, build binary for Sajber Jukebox frontend"
	@echo "make freebsd-tk3play FreeBSD, build binary for tk3play frontend"
	@echo "make freebsd-esd     FreeBSD, output to EsounD"
	@echo ""
	@echo "Please read the file INSTALL for additional information."
	@echo ""

linux-devel:
	$(MAKE) OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \
        CC=gcc LDFLAGS= \
        CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -g -mcpu=i486 \
		-DREAD_MMAP -DOSS -funroll-all-loops \
		-finline-functions -ffast-math' \
        mpg123-make

linux-profile:
	$(MAKE) OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \
        CC=gcc LDFLAGS='-pg' \
        CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -pg -mcpu=i486 \
		-DREAD_MMAP -DOSS -funroll-all-loops \
		-finline-functions -ffast-math' \
        mpg123-make

linux:
	$(MAKE) CC=gcc LDFLAGS= \
		OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
			audio_oss.o term.o' \
		CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
			-DOSS -DTERM_CONTROL\
			-Wall -g -O2 -mcpu=i486 \
			-fomit-frame-pointer -funroll-all-loops \
			-finline-functions -ffast-math' \
		mpg123-make

linux-static:
	$(MAKE) CC=gcc LDFLAGS=-static \
		OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
			audio_oss.o term.o' \
		CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
			-DREAD_MMAP -DOSS -DTERM_CONTROL\
			-Wall -O2 -march=i486 \
			-fomit-frame-pointer -funroll-all-loops \
			-finline-functions -ffast-math' \
		mpg123-make
		strip --strip-debug mpg123


linux-3dnow:
	$(MAKE) CC=gcc LDFLAGS= \
		OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o \
			dct64_i386.o dct36_3dnow.o getcpuflags.o \
			equalizer_3dnow.o decode_i586.o audio_oss.o term.o' \
		CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
			-DUSE_3DNOW -DOSS -DTERM_CONTROL\
			-Wall -O2 -mcpu=i486 \
			-fomit-frame-pointer -funroll-all-loops \
			-finline-functions -ffast-math' \
		mpg123-make

linux-i486:
	$(MAKE) CC=gcc LDFLAGS= \
		OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
			decode_i486.o dct64_i486.o audio_oss.o term.o' \
		CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX \
			-DOSS -DTERM_CONTROL\
			-Wall -O2 -mcpu=i486 \
			-fomit-frame-pointer -funroll-all-loops \
{'fraction_non_alphanumeric': 0.13753655599518322, 'fraction_numerical': 0.03517976948219508, 'mean_word_length': 2.8133814365365692, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5535328', 'n_tokens_mistral': 4922, 'n_tokens_neox': 4388, 'n_words': 1196}