Mercurial > mplayer.hg
view TOOLS/Makefile @ 22001:2934974c366a
Remove illegal definition of underscored-prefixed symbol "__MODULE__":
All underscored-prefixed symbols have the right re-defined by the compiler, so it's definitely not safe to use any.
ICC doesn't seem to like it, GCC doesn't seem to care.
Original thread:
date: Jan 25, 2007 2:41 PM
subject: [MPlayer-dev-eng] [PATCH] remove illegal underscored-prefixed symbols
AND
date: 01/25/2007 11:43 AM
subject: Re: [MPlayer-dev-eng] [PATCH] compiling with Intel C
author | gpoirier |
---|---|
date | Fri, 26 Jan 2007 09:21:22 +0000 |
parents | 9725193f1530 |
children | 0334e714d3fa |
line wrap: on
line source
include ../config.mak CFLAGS = -I.. OBJS = alaw-gen$(EXESUF) \ asfinfo$(EXESUF) \ avi-fix$(EXESUF) \ avisubdump$(EXESUF) \ bios2dump$(EXESUF) \ dump_mp4$(EXESUF) \ mem2dump$(EXESUF) \ movinfo$(EXESUF) \ png2raw$(EXESUF) \ subrip$(EXESUF) \ vivodump$(EXESUF) \ 302m_convert$(EXESUF) \ 360m_convert$(EXESUF) \ ifeq ($(TARGET_ARCH_X86),yes) OBJS += cpuinfo$(EXESUF) fastmemcpybench endif all: $(OBJS) png2raw: png2raw.c $(CC) $< -o $@ -lpng subrip: subrip.c $(CC) $(CFLAGS) -g -o $@ $< ../vobsub.o ../spudec.o ../mp_msg.o \ ../unrarlib.o ../libswscale/swscale.o ../libswscale/rgb2rgb.o \ ../libswscale/yuv2rgb.o ../libmpcodecs/img_format.o -lm vivodump: vivodump.c $(CC) $(CFLAGS) -o $@ $< ../mp_msg.o ../libmpdemux/libmpdemux.a ../stream/stream.a fastmemcpybench: fastmemcpybench.c $(CC) $(CFLAGS) -g $< -o fastmem-mmx$(EXESUF) ../libvo/aclib.o -DNAME=\"mmx\" -DHAVE_MMX $(CC) $(CFLAGS) -g $< -o fastmem-k6$(EXESUF) ../libvo/aclib.o -DNAME=\"k6\ \" -DHAVE_MMX -DHAVE_3DNOW $(CC) $(CFLAGS) -g $< -o fastmem-k7$(EXESUF) ../libvo/aclib.o -DNAME=\"k7\ \" -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 $(CC) $(CFLAGS) -g $< -o fastmem-sse$(EXESUF) ../libvo/aclib.o -DNAME=\"sse\" -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 $(CC) $(CFLAGS) -g $< -o fastmem2-mmx$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX $(CC) $(CFLAGS) -g $< -o fastmem2-k6$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW $(CC) $(CFLAGS) -g $< -o fastmem2-k7$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 $(CC) $(CFLAGS) -g $< -o fastmem2-sse$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 clean distclean: rm -f $(OBJS) rm -f fastmem-* fastmem2-* rm -f cpuinfo$(EXESUF) fastmemcpybench