Statistics
| Branch: | Revision:

chunker-player / chunker_streamer / Makefile @ e9fe7473

History | View | Annotate | Download (864 Bytes)

1
include ../common.mak
2

    
3
ifndef MAC_OS
4
LIBRT=-lrt
5
endif
6

    
7
ifeq ($(IO), httpevent)
8
CPPFLAGS += -DHTTPIO
9
OBJECTS += chunk_pusher.o chunk_pusher_curl.o
10
endif
11

    
12
ifeq ($(IO), tcp)
13
CPPFLAGS += -DTCPIO
14
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
endif
21

    
22
CPPFLAGS += -I$(LOCAL_CONFUSE)/include -I$(LOCAL_CURL)/include
23
LDLIBS += $(LOCAL_CURL)/lib/libcurl.a $(LIBRT)
24
LDLIBS += $(LOCAL_CONFUSE)/lib/libconfuse.a
25

    
26
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
LDLIBS += $(DYNAMIC_LDLIBS)
31

    
32
all: chunker_streamer
33

    
34
chunker_streamer: ../chunk_transcoding/external_chunk_transcoding.o chunker_metadata.o chunker_streamer.o $(OBJECTS)
35

    
36
clean:
37
	rm -f chunker_streamer
38
	rm -f *.o