mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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:
parent
edd25db019
commit
5c12ee4b5d
3 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue