summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2013-05-02 17:15:46 +0000
committerMatthew Jordan <mjordan@digium.com>2013-05-02 17:15:46 +0000
commite5ad3cdc3a57b78e32058c1bc248b65bfe98b435 (patch)
treec3a997c13f2c140165e465c85fc448299fd29711 /utils
parent02961601cd0e4e264c0d03f6a849f12f35c56632 (diff)
Update utils Makefile to handle r387294
Alec's patch that added the Asterisk version to 'core show locks' angered the items in utils, as they exist somewhat outside of the Asterisk build system. Some day, this Makefile should get nuked from high orbit, but for now, include version.c in its list of stuff to pile in. ........ Merged revisions 387421 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 387422 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 4bd898ce7..e60917b6a 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -151,6 +151,10 @@ aelparse.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res -Wno-unused
aelparse: LIBS+=-lm
aelparse: aelparse.o aelbison.o pbx_ael.o hashtab.o lock.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o
+version.c: $(ASTTOPDIR)/main/version.c
+ $(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
+ $(CMD_PREFIX) cp "$<" "$@"
+
astobj2.c: $(ASTTOPDIR)/main/astobj2.c
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
$(CMD_PREFIX) cp "$<" "$@"
@@ -176,7 +180,7 @@ threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c
$(CMD_PREFIX) cp "$<" "$@"
-refcounter: refcounter.o md5.o hashtab.o lock.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o
+refcounter: refcounter.o md5.o hashtab.o lock.o utils.o strings.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o version.o
refcounter.o: _ASTCFLAGS+=-O0
extconf.o: extconf.c