Statistics
| Branch: | Revision:

chunker-player / chunker_player / Makefile @ 78068e21

History | View | Annotate | Download (1.71 KB)

1
include ../common.mak
2

    
3
#some defaults here
4
LOCAL_ABS_SDL ?= /mnt/hgfs/triplo/dipartimento/napawine/StreamerPlayerChunker.bak/ExternalDependancies/SDL-1.2.14/my_SDL_deploy
5
LOCAL_SDLIMAGE ?= /mnt/hgfs/triplo/dipartimento/napawine/StreamerPlayerChunker.bak/ExternalDependancies/SDL-1.2.14/my_SDL_deploy
6
LOCAL_MHD ?= ../../../../../StreamerPlayerChunker.bak/ExternalDependancies/libmicrohttpd
7
LOCAL_CONFUSE ?= "/usr"
8

    
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
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

    
18
#microhttpd config here
19
#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
#LOCAL_MHD_LDLIBS = -lmicrohttpd
22
#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

    
27
LOCAL_CONFUSE_CPPFLAGS = -I$(LOCAL_CONFUSE)/include
28
LOCAL_CONFUSE_LDLIBS = $(LOCAL_CONFUSE)/lib/libconfuse.a
29

    
30
CPPFLAGS += $(LOCAL_SDL_CPPFLAGS) $(LOCAL_MHD_CPPFLAGS)
31
LDFLAGS += $(LOCAL_SDL_LDFLAGS) $(LOCAL_MHD_LDFLAGS) $(LOCAL_CONFUSE_LDFLAGS)
32
LDLIBS += $(LOCAL_SDL_LDLIBS) $(LOCAL_MHD_LDLIBS) $(LOCAL_CONFUSE_LDLIBS)
33

    
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