diff options
Diffstat (limited to 'utils/Makefile')
-rw-r--r-- | utils/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile index 1981fb2e2..d80a488d9 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -89,6 +89,8 @@ clean: rm -f md5.c strcompat.c ast_expr2.c ast_expr2.h ast_expr2f.c pbx_ael.c pval.c hashtab.c lock.c rm -f aelparse.c aelbison.c conf2ael rm -f utils.c strings.c threadstorage.c sha1.c astobj2.c hashtest2 hashtest refcounter + rm -f db1-ast/.*.d + @$(MAKE) -C db1-ast clean md5.c: $(ASTTOPDIR)/main/md5.c $(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@" @@ -206,6 +208,14 @@ muted: muted.o muted: LIBS+=$(AUDIO_LIBS) muted: _ASTCFLAGS:=$(filter-out -Werror,$(_ASTCFLAGS)) +CHECK_SUBDIR: # do nothing, just make sure that we recurse in the subdir/ +db1-ast/libdb1.a: CHECK_SUBDIR + _ASTCFLAGS="$(_ASTCFLAGS) -Wno-strict-aliasing" ASTCFLAGS="$(ASTCFLAGS)" $(MAKE) -C db1-ast libdb1.a + +astdb2sqlite3: LIBS+=$(SQLITE3_LIB) +astdb2sqlite3: _ASTCFLAGS+=$(SQLITE3_INCLUDE) +astdb2sqlite3: db1-ast/libdb1.a + ifneq ($(wildcard .*.d),) include .*.d endif |