Revision 2565bc8b Makefile

View differences:

Makefile
19 19

  
20 20
NAPA ?= ../../NAPA-BASELIBS
21 21
GRAPES ?= ../../GRAPES
22
ULPLAYER ?= ../StreamerPlayerChunker
23
ULPLAYER_EXTERNAL_LIBS ?= external_libs
24 22

  
25 23
CPPFLAGS = -I$(NAPA)/include
26 24
CPPFLAGS += -I$(GRAPES)/include
......
116 114
endif
117 115
endif
118 116
endif
119
ifeq ($(IO), httpmhd)
120
CPPFLAGS += -DHTTPIO_MHD
121
CPPFLAGS += -DHTTPIO
122
OBJS += $(ULPLAYER)/chunker_player/chunk_puller.o
123
OBJS += $(ULPLAYER)/chunker_streamer/chunk_pusher_curl.o
124
CPPFLAGS += -DCRAP -I$(ULPLAYER) -I$(ULPLAYER)/chunk_transcoding
125
CFLAGS += -pthread
126
LDFLAGS += -pthread
127
OBJS += input-http.o
128
OBJS += output-http.o output.o
129

  
130
CPPFLAGS += -I$(LOCAL_MHD)/include
131
LDFLAGS += -L$(LOCAL_MHD)/lib
132
LDLIBS += $(LOCAL_MHD)/lib/libmicrohttpd.a
133

  
134
CPPFLAGS += -I$(LOCAL_CURL)/include
135
LDFLAGS += -L$(LOCAL_CURL)/lib
136
LDLIBS += $(LOCAL_CURL)/lib/libcurl.a -lrt
137
endif
138
ifeq ($(IO), httpevent)
139
CPPFLAGS += -DHTTPIO_EVENT
140
CPPFLAGS += -DHTTPIO
141
OBJS += $(ULPLAYER)/event_http/event_http_server.o
142
LDFLAGS += -L$(NAPA)/dclog
143
LDLIBS += -ldclog
144
OBJS += $(ULPLAYER)/chunker_streamer/chunk_pusher_curl.o
145
CPPFLAGS += -I$(ULPLAYER) -I$(ULPLAYER)/chunk_transcoding -I$(ULPLAYER)/event_http -DCRAP
146
OBJS += input-http.o
147
OBJS += output-http.o output.o
148

  
149
CPPFLAGS += -I$(LOCAL_CURL)/include
150
LDFLAGS += -L$(LOCAL_CURL)/lib
151
LDLIBS += $(LOCAL_CURL)/lib/libcurl.a -lrt
152
endif
153 117

  
154 118
EXECTARGET = streamer
155 119
ifdef ML
......
198 162
$(EXECTARGET).o: streamer.o
199 163
	ln -sf streamer.o $(EXECTARGET).o
200 164

  
201
out-stream-avf.o Chunkiser/input-stream-avs.o: CPPFLAGS += -I$(FFMPEG_DIR)/include 
202

  
203 165
GRAPES:
204 166
	git clone http://www.disi.unitn.it/~kiraly/PublicGits/GRAPES.git
205 167
	cd GRAPES; git checkout -b for-streamer-0.8.3 origin/for-streamer-0.8.3
......
221 183
	rm -f $(GRAPES)/src/net_helper.o
222 184
	rm -f *.o
223 185
	rm -f Chunkiser/*.o
224
	rm -f $(ULPLAYER)/chunker_player/chunk_puller.o
225
	rm -f $(ULPLAYER)/chunker_streamer/chunk_pusher_curl.o
226
	rm -f $(ULPLAYER)/event_http/event_http_server.o

Also available in: Unified diff