Revision 2123cd4e Makefile

View differences:

Makefile
37 37
	git submodule update Libs/pstreamer/
38 38
	make -C Libs/pstreamer/ 
39 39

  
40
Libs/janus-gateway/janus:
40
Tools/janus:
41 41
	git submodule init Libs/janus-gateway/
42 42
	git submodule update Libs/janus-gateway/
43
	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-all-js-modules --enable-rest #--enable-libsrtp2
45
	make -C Libs/janus-gateway/ 
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-unix-sockets --disable-turn-rest-api --enable-static --prefix=$(PWD)/Tools/janus #--enable-libsrtp2
45
	make -C Libs/janus-gateway/ install
46 46

  
47 47
tests:
48 48
	make -C Test/  # CFLAGS="$(CFLAGS)"
49 49
	Test/run_tests.sh
50 50

  
51 51
clean:
52
	rm -rf Tools/janus
53
	rm -f *.o $(EXE) $(OBJS) $(LIBS)
52 54
	make -C Test/ clean
53 55
	make -C Libs/mongoose clean
54 56
	make -C Libs/GRAPES clean
55 57
	make -C Libs/pstreamer clean
56
	make -C Libs/janus-gateway superclean
57
	rm -f *.o $(EXE) $(OBJS) $(LIBS)
58
	make -C Libs/janus-gateway distclean
58 59

  
59 60
.PHONY: all clean
60 61

  

Also available in: Unified diff