Statistics
| Branch: | Revision:

chunker-player / chunker_player / Makefile @ 78068e21

History | View | Annotate | Download (1.71 KB)

1 1538a3bd GiuseppeTropea
include ../common.mak
2
3 bf59a05f GiuseppeTropea
#some defaults here
4 1538a3bd GiuseppeTropea
LOCAL_ABS_SDL ?= /mnt/hgfs/triplo/dipartimento/napawine/StreamerPlayerChunker.bak/ExternalDependancies/SDL-1.2.14/my_SDL_deploy
5 e27711c4 GiuseppeTropea
LOCAL_SDLIMAGE ?= /mnt/hgfs/triplo/dipartimento/napawine/StreamerPlayerChunker.bak/ExternalDependancies/SDL-1.2.14/my_SDL_deploy
6 1538a3bd GiuseppeTropea
LOCAL_MHD ?= ../../../../../StreamerPlayerChunker.bak/ExternalDependancies/libmicrohttpd
7 78068e21 GiuseppeTropea
LOCAL_CONFUSE ?= "/usr"
8 1538a3bd GiuseppeTropea
9
#SDL config here
10
#LOCAL_SDL_CPPFLAGS = $(shell $(LOCAL_SDL)/bin/sdl-config --static-libs --cflags;)
11
LOCAL_SDL_CPPFLAGS = -Wl,-rpath,$(LOCAL_ABS_SDL)/lib -I$(LOCAL_ABS_SDL)/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
12
LOCAL_SDL_LDFLAGS = -L$(LOCAL_ABS_SDL)/lib
13
LOCAL_SDL_LDLIBS = $(LOCAL_ABS_SDL)/lib/libSDL.a -ldl
14 e27711c4 GiuseppeTropea
LOCAL_SDL_CPPFLAGS += -I$(LOCAL_SDLIMAGE)/include/SDL
15
LOCAL_SDL_LDFLAGS += -L$(LOCAL_SDLIMAGE)/lib
16
LOCAL_SDL_LDLIBS += $(LOCAL_SDLIMAGE)/lib/libSDL_image.a
17 1538a3bd GiuseppeTropea
18
#microhttpd config here
19 bf59a05f GiuseppeTropea
#LOCAL_MHD_CPPFLAGS = -I$(LOCAL_MHD) -I$(LOCAL_MHD)/src/daemon -I$(LOCAL_MHD)/src/include
20
#LOCAL_MHD_LDFLAGS = -L$(LOCAL_MHD)/src/daemon
21 1538a3bd GiuseppeTropea
#LOCAL_MHD_LDLIBS = -lmicrohttpd
22 bf59a05f GiuseppeTropea
#LOCAL_MHD_LDLIBS = $(LOCAL_MHD)/src/daemon/.libs/libmicrohttpd.a
23
LOCAL_MHD_CPPFLAGS = -I$(LOCAL_MHD)/include
24
LOCAL_MHD_LDFLAGS = -L$(LOCAL_MHD)/lib
25
LOCAL_MHD_LDLIBS = $(LOCAL_MHD)/lib/libmicrohttpd.a
26 1538a3bd GiuseppeTropea
27 78068e21 GiuseppeTropea
LOCAL_CONFUSE_CPPFLAGS = -I$(LOCAL_CONFUSE)/include
28
LOCAL_CONFUSE_LDLIBS = $(LOCAL_CONFUSE)/lib/libconfuse.a
29
30 1538a3bd GiuseppeTropea
CPPFLAGS += $(LOCAL_SDL_CPPFLAGS) $(LOCAL_MHD_CPPFLAGS)
31 78068e21 GiuseppeTropea
LDFLAGS += $(LOCAL_SDL_LDFLAGS) $(LOCAL_MHD_LDFLAGS) $(LOCAL_CONFUSE_LDFLAGS)
32
LDLIBS += $(LOCAL_SDL_LDLIBS) $(LOCAL_MHD_LDLIBS) $(LOCAL_CONFUSE_LDLIBS)
33 1538a3bd GiuseppeTropea
34
all: chunker_player
35
36
chunker_player: ../chunk_transcoding/external_chunk_transcoding.o	chunk_puller.o chunker_player.o
37
38
clean:
39
	rm -f chunker_player
40
	rm -f *.o