Mercurial > mplayer.hg
annotate TOOLS/netstream/Makefile @ 22420:db8714b9cdb7
First half-working avisynth audio support
author | reimar |
---|---|
date | Sun, 04 Mar 2007 12:52:16 +0000 |
parents | b91b0d034733 |
children | 080a021716c1 |
rev | line source |
---|---|
9856 | 1 |
2 MPROOT=../.. | |
3 | |
4 include $(MPROOT)/config.mak | |
5 | |
19037 | 6 INCLUDE = -I$(MPROOT) -I$(MPROOT)/loader |
9856 | 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 |
19559 | 20 # it does not work with either GUI, LIVE555 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 \ |
19271
64d82a45a05d
introduce new 'stream' directory for all stream layer related components and split them from libmpdemux
ben
parents:
19037
diff
changeset
|
22 $(MPROOT)/stream/stream.a \ |
20981
22cb9d5f1e21
Rename libdvdread to dvdread. We really only include only the dvdread
diego
parents:
20616
diff
changeset
|
23 $(MPROOT)/dvdread/libdvdread.a \ |
15773
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 -lm \ |
9856 | 35 |
15367
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
36 ifeq ($(TARGET_WIN32),yes) |
19528
ebfab0b18c09
Remove redundant variable that is contained in COMMON_LIBS.
diego
parents:
19527
diff
changeset
|
37 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
|
38 endif |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
39 |
19526 | 40 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
|
41 |
bdcd608b0e97
MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents:
15346
diff
changeset
|
42 $(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
|
43 |
9856 | 44 clean: |
45 rm -f *.o *.a *~ | |
46 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
15773
diff
changeset
|
47 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
15773
diff
changeset
|
48 rm -f .depend test |
9856 | 49 |
21080 | 50 dep depend: |
9856 | 51 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend |
52 | |
22343 | 53 -include .depend |