forked from epics_driver_modules/require
allow any header file extension
This commit is contained in:
@@ -893,9 +893,8 @@ vpath menu%.dbd ${DBD_PATH}
|
||||
|
||||
# Find header files to install.
|
||||
# Order is important! First OS dependent, then os default, then others
|
||||
vpath %.h $(foreach path, os/${OS_CLASS} ${POSIX_{POSIX}} os/default, $(sort $(filter %/${path}/,$(dir ${HDRS})))) $(sort $(dir ${HDRS} $(filter-out /%,${SRCS})))
|
||||
vpath %.hpp $(foreach path, os/${OS_CLASS} ${POSIX_{POSIX}} os/default, $(sort $(filter %/${path}/,$(dir ${HDRS})))) $(sort $(dir ${HDRS} $(filter-out /%,${SRCS})))
|
||||
vpath %.H $(foreach path, os/${OS_CLASS} ${POSIX_{POSIX}} os/default, $(sort $(filter %/${path}/,$(dir ${HDRS})))) $(sort $(dir ${HDRS} $(filter-out /%,${SRCS})))
|
||||
# Allow any header extention the user comes up with (.h, .H, .hpp, .hxx, ...)
|
||||
$(foreach ext, $(sort $(suffix ${HDRS})), $(eval vpath %.${ext} $(foreach path, os/${OS_CLASS} ${POSIX_{POSIX}} os/default, $(sort $(filter %/${path}/,$(dir ${HDRS})))) $(sort $(dir ${HDRS} $(filter-out /%,${SRCS})))))
|
||||
|
||||
PRODUCTS = ${MODULELIB} ${MODULEDBD} ${DEPFILE}
|
||||
MODULEINFOS:
|
||||
|
||||
Reference in New Issue
Block a user