annotate TOOLS/netstream/Makefile @ 19526:341fde80aef9

Sync with the creation of the stream directory.
author diego
date Fri, 25 Aug 2006 14:55:42 +0000
parents 5ff55ce59ab4
children f73fa119d6df
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9856
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
1
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
2 MPROOT=../..
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
3
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
4 include $(MPROOT)/config.mak
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
5
19037
7a9a9748e045 OPTFLAGS already includes EXTRA_INC.
diego
parents: 17488
diff changeset
6 INCLUDE = -I$(MPROOT) -I$(MPROOT)/loader
9856
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
7 CFLAGS = $(OPTFLAGS) $(INCLUDE)
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
8
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
9 .SUFFIXES: .c .cpp .o
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
10
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
11 # .PHONY: all clean
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
12
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
13 all: netstream
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
14
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
15 .c.o:
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
16 $(CC) -c $(CFLAGS) -o $@ $<
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
17
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
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 \
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 \
15773
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
23 $(MPROOT)/libmpdvdkit2/libmpdvdkit.a \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
24 $(MPROOT)/libmpcodecs/native/minilzo.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
25 $(MPROOT)/libvo/aclib.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
26 $(MPROOT)/libmpcodecs/img_format.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
27 $(MPROOT)/liba52/liba52.a \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
28 $(MPROOT)/m_option.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
29 $(MPROOT)/m_struct.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
30 $(MPROOT)/subreader.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
31 $(MPROOT)/mp_msg.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
32 $(MPROOT)/osdep/shmem.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
33 $(MPROOT)/osdep/timer-*.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
34 $(MPROOT)/osdep/strl.o \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
35 $(VORBIS_LIB) \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
36 $(CDPARANOIA_LIB) \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
37 $(Z_LIB) \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
38 $(GIF_LIB) \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
39 $(SMBSUPPORT_LIB) \
19282
5ff55ce59ab4 Simplify LIVE555 test and make it more consistent with the other tests.
diego
parents: 19271
diff changeset
40 $(MPLAYER_NETWORK_LIB) \
15773
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
41 $(ARCH_LIB) \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
42 $(COMMON_LIBS) \
7bae32bc0ed7 Avoid overly long lines to conform with the new general Makefile style.
diego
parents: 15367
diff changeset
43 -lm \
9856
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
44
15367
bdcd608b0e97 MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents: 15346
diff changeset
45 ifeq ($(TARGET_WIN32),yes)
bdcd608b0e97 MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents: 15346
diff changeset
46 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
47 endif
bdcd608b0e97 MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents: 15346
diff changeset
48
19526
341fde80aef9 Sync with the creation of the stream directory.
diego
parents: 19282
diff changeset
49 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
50
bdcd608b0e97 MinGW compilation fix by Erik Lunchpail <erik_27can at yahoo dot com>
diego
parents: 15346
diff changeset
51 $(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
52
9856
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
53 clean:
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
54 rm -f *.o *.a *~
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
55
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15773
diff changeset
56 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 15773
diff changeset
57 rm -f .depend test
9856
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
58
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
59 dep: depend
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
60
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
61 depend:
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
62 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
63
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
64 #
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
65 # include dependency files if they exist
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
66 #
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
67 ifneq ($(wildcard .depend),)
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
68 include .depend
08496327b7ec A simple netstream server.
albeu
parents:
diff changeset
69 endif