mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs.mk.in: Add support for .hpp files
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6d3b6ed093
commit
67dda51d6b
1 changed files with 2 additions and 2 deletions
|
|
@ -290,7 +290,7 @@ SRC_HEADERED += $(shell if [ "$(LOCAL_SRC)" ]; then grep -ic "it servic
|
|||
SRC_UNHEADERED += $(filter-out $(SRC_HEADERED),$(LOCAL_SRC))
|
||||
LOCAL_C ?= $(wildcard *.c)
|
||||
LOCAL_CPP ?= $(wildcard *.cc *.cpp *.C)
|
||||
LOCAL_H ?= $(wildcard *.h *.H)
|
||||
LOCAL_H ?= $(wildcard *.h *.H *.hpp)
|
||||
SFILES ?= $(wildcard *.S)
|
||||
#PREREQ_H += $(foreach dir,$(PREREQ_DIR),$(wildcard $(dir)/*.h))
|
||||
ALL_H += $(LOCAL_H) $(PREREQ_H)
|
||||
|
|
@ -354,7 +354,7 @@ INSTALLED_SYSCFG ?= $(addprefix $(INSTALL_SYSCFGDIR)/,$(SYSCFG_FILES))
|
|||
INSTALLATION_FILE_TYPES += HDR
|
||||
BUILD_HDRDIR_BASE ?= $(TOPDIR)/include
|
||||
BUILD_HDRDIR ?= $(BUILD_HDRDIR_BASE)/$(HDRDIR_SCOPE_SUFFIX)
|
||||
SRC_H += $(filter %.h %.H, $(SRC_ALL_CPP))
|
||||
SRC_H += $(filter %.h %.H %.hpp, $(SRC_ALL_CPP))
|
||||
BUILD_H = $(addprefix $(BUILD_HDRDIR)/,$(SRC_H))
|
||||
BUILD_HDR = $(addprefix $(BUILD_HDRDIR)/,$(SRC_H))
|
||||
INSTALL_HDRDIR ?= $(PREFIX)/include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue