From 1342a94d5cbd8820f83ef59adcb18d14f566a3de Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Tue, 4 Feb 2014 07:39:55 +0000 Subject: 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 --- pjlib/build/Makefile | 4 +++- pjlib/build/os-auto.mak.in | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'pjlib') 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) -- cgit v1.2.3