Revision feaa6e2c Makefile

View differences:

Makefile
95 95
OBJS += measures.o
96 96
endif
97 97

  
98
IO ?= ffmpeg
98
IO ?= grapes
99 99
ifeq ($(IO), grapes)
100 100
OBJS += input-grapes.o output-grapes.o
101 101
ifdef FFMPEG_DIR
......
110 110
LDLIBS += $(call ld-option, -lbz2)
111 111
endif
112 112
endif
113
ifeq ($(IO), ffmpeg)
114
OBJS += input.o
115
OBJS += Chunkiser/input-stream-avs.o 
116
OBJS += output.o 
117
OBJS += out-stream-avf.o
118
CPPFLAGS += -I$(FFMPEG_DIR)/include
119
LDFLAGS += -L$(FFMPEG_DIR)/lib
120
CFLAGS += -pthread
121
LDFLAGS += -pthread
122
LDLIBS += -lavformat -lavcodec -lavcore -lavutil
123
LDLIBS += -lm
124
LDLIBS += $(call ld-option, -lz)
125
LDLIBS += $(call ld-option, -lbz2)
126
endif
127 113
ifeq ($(IO), httpmhd)
128 114
CPPFLAGS += -DHTTPIO_MHD
129 115
CPPFLAGS += -DHTTPIO
......
161 147
LDFLAGS += -L$(LOCAL_CURL)/lib
162 148
LDLIBS += $(LOCAL_CURL)/lib/libcurl.a -lrt
163 149
endif
164
ifeq ($(IO), dummy)
165
OBJS += input.o
166
OBJS += input-stream-dummy.o 
167
OBJS += output.o 
168
OBJS += out-stream-dummy.o
169
endif
170
ifeq ($(IO), udp)
171
OBJS += input-udp.o
172
OBJS += output.o
173
OBJS += out-stream-udp.o
174
endif
175 150

  
176 151
EXECTARGET = offerstreamer
177 152
ifdef ML

Also available in: Unified diff