Statistics
| Branch: | Revision:

chunker-player / chunker_streamer / Makefile @ 51d67a10

History | View | Annotate | Download (1.05 KB)

1 1538a3bd GiuseppeTropea
include ../common.mak
2
3 290b7b8c Csaba Kiraly
OBJECTS += dbg.o
4 51d67a10 Csaba Kiraly
OBJECTS += chunker_filtering.o
5
CPPFLAGS += -DUSE_AVFILTER
6 290b7b8c Csaba Kiraly
7 e11386c0 CsabaKiraly
ifeq ($(IO), httpevent)
8
CPPFLAGS += -DHTTPIO
9 e9fe7473 Csaba Kiraly
OBJECTS += chunk_pusher.o chunk_pusher_curl.o
10 e11386c0 CsabaKiraly
endif
11
12
ifeq ($(IO), tcp)
13
CPPFLAGS += -DTCPIO
14 e9fe7473 Csaba Kiraly
OBJECTS += chunk_pusher.o chunk_pusher_curl.o
15
endif
16
17
ifeq ($(IO), udp)
18
CPPFLAGS += -DUDPIO
19
OBJECTS += chunk_pusher_udp.o
20 e11386c0 CsabaKiraly
endif
21
22 f8b6e42c ArpadBakay
CPPFLAGS += -I$(LOCAL_CONFUSE)/include -I$(LOCAL_CURL)/include
23 e11386c0 CsabaKiraly
LDLIBS += $(LOCAL_CURL)/lib/libcurl.a $(LIBRT)
24 e27711c4 GiuseppeTropea
LDLIBS += $(LOCAL_CONFUSE)/lib/libconfuse.a
25 1538a3bd GiuseppeTropea
26 c3ccd8f0 GiuseppeTropea
CPPFLAGS += $(LOCAL_FFMPEG_CPPFLAGS) $(LOCAL_COMMON_CPPFLAGS)
27
LDFLAGS += $(LOCAL_FFMPEG_LDFLAGS) $(LOCAL_COMMON_LDFLAGS)
28
LDLIBS += $(LOCAL_FFMPEG_LDLIBS) $(LOCAL_COMMON_LDLIBS)
29
30 9ee94920 Csaba Kiraly
LDLIBS += $(call ld-option, -lrt)
31
32 c3ccd8f0 GiuseppeTropea
LDLIBS += $(DYNAMIC_LDLIBS)
33
34 1538a3bd GiuseppeTropea
all: chunker_streamer
35
36 e9fe7473 Csaba Kiraly
chunker_streamer: ../chunk_transcoding/external_chunk_transcoding.o chunker_metadata.o chunker_streamer.o $(OBJECTS)
37 1538a3bd GiuseppeTropea
38
clean:
39
	rm -f chunker_streamer
40 f8b6e42c ArpadBakay
	rm -f *.o
41 2d0cda88 Csaba Kiraly
42
### Automatic generation of headers dependencies ###
43
%.d: %.c
44
	$(CC) $(CPPFLAGS) -MM -MF $@ $<
45
46
%.o: %.d
47
48
-include $(OBJS:.o=.d)