Mercurial > libavformat.hg
comparison Makefile @ 171:fe5fc579b4de libavformat
BeOS fix: NOT every ld likes undefined syms, include C++ objs, and link to libs needed for audio in.
author | mmu_man |
---|---|
date | Tue, 15 Jul 2003 13:35:20 +0000 |
parents | e284cddf0509 |
children | dbe87175dd99 |
comparison
equal
deleted
inserted
replaced
170:0543d27721c1 | 171:fe5fc579b4de |
---|---|
46 OBJS+= audio.o | 46 OBJS+= audio.o |
47 endif | 47 endif |
48 | 48 |
49 ifeq ($(CONFIG_AUDIO_BEOS),yes) | 49 ifeq ($(CONFIG_AUDIO_BEOS),yes) |
50 PPOBJS+= beosaudio.o | 50 PPOBJS+= beosaudio.o |
51 EXTRALIBS+=-lbe -lmedia | |
52 # this should be the default ! | |
53 EXTRALIBS+=-lavcodec -L../libavcodec | |
51 endif | 54 endif |
52 | 55 |
53 ifeq ($(CONFIG_NETWORK),yes) | 56 ifeq ($(CONFIG_NETWORK),yes) |
54 OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o | 57 OBJS+= udp.o tcp.o http.o rtsp.o rtp.o rtpproto.o |
55 # BeOS and Darwin network stuff | 58 # BeOS and Darwin network stuff |
75 rm -f $@ | 78 rm -f $@ |
76 $(AR) rc $@ $(OBJS) $(PPOBJS) | 79 $(AR) rc $@ $(OBJS) $(PPOBJS) |
77 $(RANLIB) $@ | 80 $(RANLIB) $@ |
78 | 81 |
79 $(SLIB): $(OBJS) | 82 $(SLIB): $(OBJS) |
80 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) | 83 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) |
81 | 84 |
82 depend: $(SRCS) | 85 depend: $(SRCS) |
83 $(CC) -MM $(CFLAGS) $^ 1>.depend | 86 $(CC) -MM $(CFLAGS) $^ 1>.depend |
84 | 87 |
85 install: all | 88 install: all |