Revision 3af4c8d7 Makefile

View differences:

Makefile
14 14
MONGOOSE_OPTS+=-DMG_DISABLE_MQTT -DMG_DISABLE_JSON_RPC -DMG_DISABLE_SOCKETPAIR  -DMG_DISABLE_CGI # -DMG_DISABLE_HTTP_WEBSOCKET
15 15
LDFLAGS+=-lpstreamer -lgrapes -lm
16 16

  
17
all: $(EXE) Tools/janus
17
all: $(EXE) Tools/janus/bin/janus
18 18

  
19 19
$(EXE): $(LIBS) $(OBJS) peerstreamer-ng.c
20 20
	$(CC) -o peerstreamer-ng  peerstreamer-ng.c $(OBJS) Libs/mongoose/mongoose.o $(CFLAGS) $(LDFLAGS)
......
37 37
	git submodule update Libs/pstreamer/
38 38
	make -C Libs/pstreamer/ 
39 39

  
40
Tools/janus:
40
Tools/janus/bin/janus:
41 41
	git submodule init Libs/janus-gateway/
42 42
	git submodule update Libs/janus-gateway/
43 43
	cd $(PWD)/Libs/janus-gateway/ && ./autogen.sh
44
	cd $(PWD)/Libs/janus-gateway/ && SRTP15X_CFLAGS="-I$(PWD)/Libs/janus-gateway/Libs/libsrtp/include" SRTP15X_LIBS="-L$(PWD)/Libs/janus-gateway/Libs/libsrtp" PKG_CONFIG_PATH=$(PWD)/Libs/janus-gateway/Libs/libsrtp ./configure --disable-all-plugins --disable-all-transports --disable-all-handlers --enable-rest --disable-turn-rest-api --enable-static --prefix=$(PWD)/Tools/janus --enable-plugin-streaming #--enable-libsrtp2
44
	cd $(PWD)/Libs/janus-gateway/ && SRTP15X_CFLAGS="-I$(PWD)/Libs/janus-gateway/Libs/libsrtp/include" SRTP15X_LIBS="-L$(PWD)/Libs/janus-gateway/Libs/libsrtp" PKG_CONFIG_PATH=$(PWD)/Libs/janus-gateway/Libs/libsrtp ./configure --disable-all-plugins --disable-all-transports --disable-all-handlers --enable-rest --disable-turn-rest-api --enable-static --prefix=$(PWD)/Tools/janus --enable-plugin-streaming --enable-plugin-videoroom #--enable-libsrtp2
45 45
	make -C Libs/janus-gateway/ install
46 46

  
47 47
tests:

Also available in: Unified diff