Mercurial > mplayer.hg
annotate TOOLS/netstream/Makefile @ 16162:b5c2254d13f8
set i_bps in demux_audio for WAV and MP3 to avoid division by zero before
decoder sets it.
author | reimar |
---|---|
date | Mon, 01 Aug 2005 18:36:50 +0000 |
parents | 7bae32bc0ed7 |
children | ce1ba8fd57e7 |
rev | line source |
---|---|
9856 | 1 |
2 MPROOT=../.. | |
3 | |
4 include $(MPROOT)/config.mak | |
5 | |
6 INCLUDE = -I$(MPROOT) -I$(MPROOT)/loader $(EXTRA_INC) | |
7 CFLAGS = $(OPTFLAGS) $(INCLUDE) | |
8 | |
9 .SUFFIXES: .c .cpp .o | |
10 | |
11 # .PHONY: all clean | |
12 | |
13 all: netstream | |
14 | |
15 .c.o: | |
16 $(CC) -c $(CFLAGS) -o $@ $< | |
17 | |
18 | |
12739
43a231d89ef0
Bandaid linking fix, somebody should do this properly some day.
diego
parents:
11964
diff
changeset
|
19 # FIXME: linking is a mess that should be fixed properly some day |
43a231d89ef0
Bandaid linking fix, somebody should do this properly some day.
diego
parents:
11964
diff
changeset
|
20 # it does not work with either GUI, live.com or libavformat enabled |
15773
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
21 DEPS = $(MPROOT)/libmpdemux/libmpdemux.a \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
22 $(MPROOT)/libmpdvdkit2/libmpdvdkit.a \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
23 $(MPROOT)/libmpcodecs/native/minilzo.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
24 $(MPROOT)/libvo/aclib.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
25 $(MPROOT)/libmpcodecs/img_format.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
26 $(MPROOT)/liba52/liba52.a \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
27 $(MPROOT)/m_option.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
28 $(MPROOT)/m_struct.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
29 $(MPROOT)/subreader.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
30 $(MPROOT)/mp_msg.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
31 $(MPROOT)/osdep/shmem.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
32 $(MPROOT)/osdep/timer-*.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
33 $(MPROOT)/osdep/strl.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
34 $(VORBIS_LIB) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
35 $(CDPARANOIA_LIB) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
36 $(Z_LIB) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
37 $(GIF_LIB) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
38 $(SMBSUPPORT_LIB) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
39 $(LIVE_LIBS) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
40 $(ARCH_LIB) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
41 $(COMMON_LIBS) \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
42 -lm \ |
9856 | 43 |
15367
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
44 ifeq ($(TARGET_WIN32),yes) |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
45 DEPS += $(MPROOT)/osdep/glob-win.o $(WIN32_LIB) -lwsock32 |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
46 endif |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
47 |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
48 netstream: $(MPROOT)/libmpdemux/libmpdemux.a netstream.o |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
49 |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
50 $(CC) $(CFLAGS) netstream.o -o netstream $(DEPS) |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
51 |
9856 | 52 clean: |
53 rm -f *.o *.a *~ | |
54 | |
55 distclean: | |
56 rm -f test Makefile.bak *.o *.a *~ .depend | |
57 | |
58 dep: depend | |
59 | |
60 depend: | |
61 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend | |
62 | |
63 # | |
64 # include dependency files if they exist | |
65 # | |
66 ifneq ($(wildcard .depend),) | |
67 include .depend | |
68 endif |