Misc (re #1134): added the ability to add python module build with the top level build, by adding pjsip-apps/src/python into EXTRA_DIRS in user.mak. Also changed the make command in python module to just build the module without installing since installing needs root permission
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3351 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
027d01819b
commit
ad27eaddf0
5
Makefile
5
Makefile
|
@ -1,7 +1,8 @@
|
|||
include build.mak
|
||||
include build/host-$(HOST_NAME).mak
|
||||
-include user.mak
|
||||
|
||||
DIRS = pjlib pjlib-util pjnath third_party pjmedia pjsip pjsip-apps
|
||||
DIRS = pjlib/build pjlib-util/build pjnath/build third_party/build pjmedia/build pjsip/build pjsip-apps/build $(EXTRA_DIRS)
|
||||
|
||||
ifdef MINSIZE
|
||||
MAKE_FLAGS := MINSIZE=1
|
||||
|
@ -9,7 +10,7 @@ endif
|
|||
|
||||
all clean dep depend distclean print realclean:
|
||||
for dir in $(DIRS); do \
|
||||
if $(MAKE) $(MAKE_FLAGS) -C $$dir/build $@; then \
|
||||
if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
|
||||
true; \
|
||||
else \
|
||||
exit 1; \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
all:
|
||||
python setup.py install
|
||||
python setup.py build
|
||||
|
||||
clean:
|
||||
python setup.py clean
|
||||
|
|
Loading…
Reference in New Issue