mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
Do a better job at tracking dependencies into the libs, so libs are re-built when they need to.
Eliminate some more gmakeisms in the modules makefiles git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4629 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
70a70aa922
commit
940bf73b72
30 files changed
+147
-204
No files matched your search
@@ -1,20 +1,14 @@
|
||||
# define these targets in your makefile if you wish
|
||||
# local_all local_depend local_clean depend_install local_install local_distclean local_extraclean:
|
||||
|
||||
# and define these variables to impact your build
|
||||
|
||||
|
||||
BASE=../../../..
|
||||
|
||||
SNDFILELA=$(BASE)/libs/libsndfile/src/libsndfile.la
|
||||
SNDFILE_DIR=$(BASE)/libs/libsndfile
|
||||
SNDFILELA=$(SNDFILE_DIR)/src/libsndfile.la
|
||||
|
||||
LOCAL_CFLAGS=-I$(BASE)/libs/libsndfile/src
|
||||
LOCAL_LDFLAGS=$(SNDFILELA)
|
||||
LOCAL_CFLAGS=-I$(SNDFILE_DIR)/src
|
||||
LOCAL_LIBADD=$(SNDFILELA)
|
||||
LOCAL_OBJS=
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
local_depend: $(SNDFILELA)
|
||||
|
||||
$(SNDFILELA):
|
||||
cd $(BASE)/libs/libsndfile && $(MAKE)
|
||||
$(SNDFILELA): $(SNDFILE_DIR) $(SNDFILE_DIR)/.update
|
||||
cd $(SNDFILE_DIR) && $(MAKE)
|
||||
$(TOUCH_TARGET)
|
||||
Reference in new issue
Block a user