Mercurial > mplayer.hg
annotate TOOLS/netstream/Makefile @ 13221:e474afac817f
- sync 1.45
- break long lines
- remove trailing whitespace
author | wight |
---|---|
date | Wed, 01 Sep 2004 19:42:51 +0000 |
parents | 43a231d89ef0 |
children | d5f5ff34e1ed |
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 | |
19 netstream: $(MPROOT)/libmpdemux/libmpdemux.a netstream.o | |
12739
43a231d89ef0
Bandaid linking fix, somebody should do this properly some day.
diego
parents:
11964
diff
changeset
|
20 # 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
|
21 # it does not work with either GUI, live.com or libavformat enabled |
43a231d89ef0
Bandaid linking fix, somebody should do this properly some day.
diego
parents:
11964
diff
changeset
|
22 $(CC) $(CFLAGS) netstream.o -o netstream $(MPROOT)/libmpdemux/libmpdemux.a $(MPROOT)/libmpdvdkit2/libmpdvdkit.a $(MPROOT)/libmpcodecs/native/minilzo.o $(MPROOT)/libvo/aclib.o $(MPROOT)/libmpcodecs/img_format.o $(MPROOT)/liba52/liba52.a $(MPROOT)/libao2/afmt.o $(MPROOT)/m_option.o $(MPROOT)/m_struct.o $(MPROOT)/subreader.o $(MPROOT)/mp_msg.o $(MPROOT)/osdep/shmem.o $(MPROOT)/osdep/timer-*.o $(MPROOT)/osdep/strl.o $(VORBIS_LIB) $(CDPARANOIA_LIB) $(Z_LIB) $(GIF_LIB) $(SMBSUPPORT_LIB) $(LIVE_LIBS) -lpthread $(COMMON_LIBS) -lm |
9856 | 23 |
24 clean: | |
25 rm -f *.o *.a *~ | |
26 | |
27 distclean: | |
28 rm -f test Makefile.bak *.o *.a *~ .depend | |
29 | |
30 dep: depend | |
31 | |
32 depend: | |
33 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend | |
34 | |
35 # | |
36 # include dependency files if they exist | |
37 # | |
38 ifneq ($(wildcard .depend),) | |
39 include .depend | |
40 endif |