diff options
author | Liong Sauw Ming <ming@teluu.com> | 2014-02-04 07:39:55 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2014-02-04 07:39:55 +0000 |
commit | 1342a94d5cbd8820f83ef59adcb18d14f566a3de (patch) | |
tree | 68d9173c4d485dad37bf6e21651923ac79db0bdb /pjlib | |
parent | cc76884a5805a826a8296f0402929b2d10b532c3 (diff) |
Re #1519 (commited to SVN trunk): Add lib target to build system to enable building the library only (without the executables)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4727 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/build/Makefile | 4 | ||||
-rw-r--r-- | pjlib/build/os-auto.mak.in | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile index 56e5ead2..1e64950d 100644 --- a/pjlib/build/Makefile +++ b/pjlib/build/Makefile @@ -66,7 +66,9 @@ export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT # $(TARGET) is defined in os-$(OS_NAME).mak file in current directory. # -all: $(TARGETS) +all: $(TARGETS) $(TARGETS_EXE) + +lib: $(TARGETS) doc: cd .. && rm -rf docs/$(PJ_VERSION) && doxygen docs/doxygen.cfg diff --git a/pjlib/build/os-auto.mak.in b/pjlib/build/os-auto.mak.in index 1c7e330e..478cc80f 100644 --- a/pjlib/build/os-auto.mak.in +++ b/pjlib/build/os-auto.mak.in @@ -30,7 +30,7 @@ export TEST_OBJS += @ac_main_obj@ # TARGETS are make targets in the Makefile, to be executed for this given # operating system. # -export TARGETS = $(PJLIB_LIB) $(PJLIB_SONAME) $(TEST_EXE) - +export TARGETS = $(PJLIB_LIB) $(PJLIB_SONAME) +export TARGETS_EXE = $(TEST_EXE) |