Mercurial > mplayer.hg
annotate TOOLS/netstream/Makefile @ 22639:8dd976be3f25
Bring netstream somewhat closer to linking, still won't work.
author | diego |
---|---|
date | Sat, 17 Mar 2007 00:26:40 +0000 |
parents | 8421df47e611 |
children | d90e39c776b0 |
rev | line source |
---|---|
9856 | 1 |
2 MPROOT=../.. | |
3 | |
4 include $(MPROOT)/config.mak | |
5 | |
22638 | 6 CFLAGS = $(OPTFLAGS) -I$(MPROOT) |
9856 | 7 |
8 all: netstream | |
9 | |
12739
43a231d89ef0
Bandaid linking fix, somebody should do this properly some day.
diego
parents:
11964
diff
changeset
|
10 # FIXME: linking is a mess that should be fixed properly some day |
22639
8dd976be3f25
Bring netstream somewhat closer to linking, still won't work.
diego
parents:
22638
diff
changeset
|
11 # it does not work with either GUI, LIVE555, libavformat, cdparanoia enabled |
15773
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
12 DEPS = $(MPROOT)/libmpdemux/libmpdemux.a \ |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19037
diff
changeset
|
13 $(MPROOT)/stream/stream.a \ |
20981
22cb9d5f1e21
Rename libdvdread to dvdread. We really only include only the dvdread
diego
parents:
20616
diff
changeset
|
14 $(MPROOT)/dvdread/libdvdread.a \ |
22639
8dd976be3f25
Bring netstream somewhat closer to linking, still won't work.
diego
parents:
22638
diff
changeset
|
15 $(MPROOT)/libdvdcss/libdvdcss.a \ |
15773
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
16 $(MPROOT)/libvo/aclib.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
17 $(MPROOT)/libmpcodecs/img_format.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
18 $(MPROOT)/liba52/liba52.a \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
19 $(MPROOT)/m_option.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
20 $(MPROOT)/m_struct.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
21 $(MPROOT)/subreader.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
22 $(MPROOT)/mp_msg.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
23 $(MPROOT)/osdep/shmem.o \ |
7bae32bc0ed7
Avoid overly long lines to conform with the new general Makefile style.
diego
parents:
15367
diff
changeset
|
24 $(MPROOT)/osdep/timer-*.o \ |
22639
8dd976be3f25
Bring netstream somewhat closer to linking, still won't work.
diego
parents:
22638
diff
changeset
|
25 $(MPROOT)/osdep/strlcpy.o \ |
8dd976be3f25
Bring netstream somewhat closer to linking, still won't work.
diego
parents:
22638
diff
changeset
|
26 $(MPROOT)/osdep/getch2.o \ |
8dd976be3f25
Bring netstream somewhat closer to linking, still won't work.
diego
parents:
22638
diff
changeset
|
27 -ltermcap -lm \ |
9856 | 28 |
15367
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
29 ifeq ($(TARGET_WIN32),yes) |
19528
ebfab0b18c09
Remove redundant variable that is contained in COMMON_LIBS.
diego
parents:
19527
diff
changeset
|
30 DEPS += $(MPROOT)/osdep/glob-win.o -lwsock32 |
15367
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
31 endif |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
32 |
19526 | 33 netstream: $(MPROOT)/libmpdemux/libmpdemux.a $(MPROOT)/stream/stream.a netstream.o |
15367
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
34 |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
35 $(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
|
36 |
9856 | 37 clean: |
38 rm -f *.o *.a *~ | |
22637 | 39 |
40 .PHONY: all clean |