Mercurial > mplayer.hg
comparison TOOLS/Makefile @ 26336:49b0e7c3437b
List libraries to link to in dependency list.
author | diego |
---|---|
date | Wed, 09 Apr 2008 16:54:49 +0000 |
parents | cd660a9aefc5 |
children | 4740486251cb |
comparison
equal
deleted
inserted
replaced
26335:cd660a9aefc5 | 26336:49b0e7c3437b |
---|---|
16 COMMON_LIBS = ../mp_msg.o ../mp_fifo.o ../osdep/$(TIMER) ../osdep/$(GETCH) \ | 16 COMMON_LIBS = ../mp_msg.o ../mp_fifo.o ../osdep/$(TIMER) ../osdep/$(GETCH) \ |
17 -ltermcap -lm | 17 -ltermcap -lm |
18 | 18 |
19 all: $(OBJS) | 19 all: $(OBJS) |
20 | 20 |
21 subrip$(EXESUF): subrip.c | 21 subrip$(EXESUF): subrip.c ../vobsub.o ../spudec.o ../unrar_exec.o \ |
22 $(CC) $(CFLAGS) -o $@ $< ../vobsub.o ../spudec.o \ | 22 ../libswscale/libswscale.a ../libavutil/libavutil.a $(COMMON_LIBS) |
23 ../unrar_exec.o ../libswscale/libswscale.a ../libavutil/libavutil.a \ | 23 $(CC) $(CFLAGS) -o $@ $^ |
24 $(COMMON_LIBS) | |
25 | 24 |
26 #FIXME: Linking is broken, help welcome. | 25 #FIXME: Linking is broken, help welcome. |
27 vivodump$(EXESUF): vivodump.c | 26 vivodump$(EXESUF): vivodump.c ../libmpdemux/libmpdemux.a $(COMMON_LIBS) |
28 $(CC) $(CFLAGS) -o $@ $< ../libmpdemux/libmpdemux.a $(COMMON_LIBS) | 27 $(CC) $(CFLAGS) -o $@ $^ |
29 | 28 |
30 fastmemcpybench: fastmemcpybench.c | 29 fastmemcpybench: fastmemcpybench.c |
31 $(CC) $(CFLAGS) $< -o fastmem-mmx$(EXESUF) -DNAME=\"mmx\" -DHAVE_MMX | 30 $(CC) $(CFLAGS) $< -o fastmem-mmx$(EXESUF) -DNAME=\"mmx\" -DHAVE_MMX |
32 $(CC) $(CFLAGS) $< -o fastmem-k6$(EXESUF) -DNAME=\"k6\ \" -DHAVE_MMX -DHAVE_3DNOW | 31 $(CC) $(CFLAGS) $< -o fastmem-k6$(EXESUF) -DNAME=\"k6\ \" -DHAVE_MMX -DHAVE_3DNOW |
33 $(CC) $(CFLAGS) $< -o fastmem-k7$(EXESUF) -DNAME=\"k7\ \" -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 | 32 $(CC) $(CFLAGS) $< -o fastmem-k7$(EXESUF) -DNAME=\"k7\ \" -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 |
35 $(CC) $(CFLAGS) $< -o fastmem2-mmx$(EXESUF) -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX | 34 $(CC) $(CFLAGS) $< -o fastmem2-mmx$(EXESUF) -DNAME=\"mga-mmx\" -DHAVE_MGA -DHAVE_MMX |
36 $(CC) $(CFLAGS) $< -o fastmem2-k6$(EXESUF) -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW | 35 $(CC) $(CFLAGS) $< -o fastmem2-k6$(EXESUF) -DNAME=\"mga-k6\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW |
37 $(CC) $(CFLAGS) $< -o fastmem2-k7$(EXESUF) -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 | 36 $(CC) $(CFLAGS) $< -o fastmem2-k7$(EXESUF) -DNAME=\"mga-k7\ \" -DHAVE_MGA -DHAVE_MMX -DHAVE_3DNOW -DHAVE_MMX2 |
38 $(CC) $(CFLAGS) $< -o fastmem2-sse$(EXESUF) -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 | 37 $(CC) $(CFLAGS) $< -o fastmem2-sse$(EXESUF) -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 |
39 | 38 |
40 bmovl-test$(EXESUF): bmovl-test.c | 39 bmovl-test$(EXESUF): bmovl-test.c -lSDL_image |
41 $(CC) $(CFLAGS) -o $@ $< -lSDL_image | 40 $(CC) $(CFLAGS) -o $@ $^ |
42 | 41 |
43 vfw2menc$(EXESUF): vfw2menc.c | 42 vfw2menc$(EXESUF): vfw2menc.c -lwinmm -lole32 |
44 $(CC) $(CFLAGS) -o $@ $< -lwinmm -lole32 | 43 $(CC) $(CFLAGS) -o $@ $^ |
45 | 44 |
46 REAL_SRCS = $(wildcard realcodecs/*.c) | 45 REAL_SRCS = $(wildcard realcodecs/*.c) |
47 REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0) | 46 REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0) |
48 | 47 |
49 realcodecs: $(REAL_TARGETS) | 48 realcodecs: $(REAL_TARGETS) |