mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs-orig.mk: Add REQUIRED_* variables
This commit is contained in:
parent
939b523263
commit
e3ced71c8c
1 changed files with 9 additions and 0 deletions
|
|
@ -53,6 +53,15 @@ PREREQ_CSRC = $(PREREQ_H) $(PREREQ_C) $(PREREQ_CPP)
|
|||
|
||||
CONTRIB_MOD = $(addprefix contrib/,$(CONTRIB_LIBS))
|
||||
REQUIRED := $(CONTRIB_MOD) $(REQUIRED)
|
||||
|
||||
REQUIRED_DIR = $(patsubst %,$(MODDIR)/%,$(REQUIRED))
|
||||
REQUIRED_DONE = $(patsubst %,%/all.done,$(REQUIRED_DIR))
|
||||
REQUIRED_H = $(foreach dir,$(REQUIRED_DIR),$(wildcard $(dir)/*.h))
|
||||
REQUIRED_C = $(foreach dir,$(REQUIRED_DIR),$(wildcard $(dir)/*.c))
|
||||
REQUIRED_CPP = $(foreach dir,$(REQUIRED_DIR),$(wildcard $(dir)/*.c)) \
|
||||
$(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.cpp))
|
||||
REQUIRED_CSRC = $(REQUIRED_H) $(REQUIRED_C) $(REQUIRED_CPP)
|
||||
|
||||
ALL_H = $(LOCAL_H) $(PREREQ_H)
|
||||
ALL_C = $(LOCAL_C) $(PREREQ_CPP)
|
||||
ALL_CPP = $(LOCAL_CPP) $(PREREQ_CPP)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue