Fix dependency generation for compat, test, and util

This adds source files in compat, test, and util to SRCS so that the
top-level Makefile.local will generate dependency files for them.
This commit is contained in:
Austin Clements 2012-01-15 15:20:42 -05:00 committed by David Bremner
parent edd25db019
commit 5c12ee4b5d
3 changed files with 4 additions and 0 deletions

View file

@ -12,3 +12,5 @@ endif
ifneq ($(HAVE_STRCASESTR),1) ifneq ($(HAVE_STRCASESTR),1)
notmuch_compat_srcs += $(dir)/strcasestr.c notmuch_compat_srcs += $(dir)/strcasestr.c
endif endif
SRCS := $(SRCS) $(notmuch_compat_srcs)

View file

@ -28,6 +28,7 @@ test: all test-binaries
check: test check: test
SRCS := $(SRCS) $(smtp_dummy_srcs)
CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \ CLEAN := $(CLEAN) $(dir)/smtp-dummy $(dir)/smtp-dummy.o \
$(dir)/symbol-test $(dir)/symbol-test.o \ $(dir)/symbol-test $(dir)/symbol-test.o \
$(dir)/arg-test $(dir)/arg-test.o $(dir)/arg-test $(dir)/arg-test.o

View file

@ -10,4 +10,5 @@ libutil_modules := $(libutil_c_srcs:.c=.o)
$(dir)/libutil.a: $(libutil_modules) $(dir)/libutil.a: $(libutil_modules)
$(call quiet,AR) rcs $@ $^ $(call quiet,AR) rcs $@ $^
SRCS := $(SRCS) $(libutil_c_srcs)
CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a